If I type ‘width:’ and then ‘f’ it will suggest ‘fantasy’. I would expect it to suggest ‘fit-content’. Maybe it’s suggesting in alphabetical order rather than being context aware?
This is about the default autocomplete definitions that comes with CodeMirror's language extensions. I've already forked the HTML extension for customization, but it sounds like we need to fork the Sass extension as well.
It's true that the suggestions are currently shown simply in alphabetical order. Making it context aware is not so simple, there would need to be some "smart" logic built into the autocomplete function.
This is about the default autocomplete definitions that comes with CodeMirror's language extensions. I've already forked the HTML extension for customization, but it sounds like we need to fork the Sass extension as well.
It's true that the suggestions are currently shown simply in alphabetical order. Making it context aware is not so simple, there would need to be some "smart" logic built into the autocomplete function.