-
Notifications
You must be signed in to change notification settings - Fork 68
Margin and Padding Autocomplete #105
Description
Prerequisites
- [ X] Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
When I type 'margin' or 'padding' in a css or scss file, it shows margin-left/padding-left as the first autocomplete option instead of just margin/padding. If i don't fully complete the word, i.e. 'margi' or 'paddin' it correctly shows 'margin' or 'padding' as the first autocorrect option. This is not an issue with other properties such as 'border'. Please see attached screen shots.
Steps to Reproduce
- Type 'padding' or 'margin' inside a css or scss declaration block.
Expected behavior: I expect that if there is an auto-correct option that is identical to what has been typed, that should be the first option provided in the autocorrect drop-down.
Actual behavior: See description above
Reproduces how often: 100%
Versions
Atom 1.20.0
apm 1.18.4
MacOS 10.12.6
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.



