-
Notifications
You must be signed in to change notification settings - Fork 68
Incorrect suggestions for SASS files #107
Description
Prerequisites
- 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 working inside a .sass file, the autocompletion works, but suggestions contain irrelevant items when autocompleting property values.
And example can be seen in the screenshot below. Why does it suggest "note" when I obviously am more interested in "none". This really slows me down because I can't just blindly hit TAB but I have to look at the suggestions first to make sure I don't pick a wrong one.
Steps to Reproduce
- Create a .sass file
- Write a selector and give it a property such as display followed by a colon and a space
- Type "n"
- See the irrelevant suggestion "note" appear at the top of the suggestions list
Expected behavior:
I expect it to either not show these irrelevant suggestions (which seems to be the default when using a .css or .scss file. Or an alternative could be that it sorts the suggestions in a way that the most relevant one is at the top.
Actual behavior: [What actually happens]
Reproduces how often: [What percentage of the time does it reproduce?]
Versions
Atom : 1.20.1
Electron: 1.6.9
Chrome : 56.0.2924.87
Node : 7.4.0
apm 1.18.4
npm 3.10.10
node 6.9.5 x64
python 2.7.10
git 2.14.1
OS: macOS Sierra
