wkillerud / some-sass

Improved support for SCSS, Sass indented and SassDoc. Workspace awareness and full support for Sass modules.
https://wkillerud.github.io/some-sass/
60 stars 6 forks source link

feat: add two settings to tweak completions in other editors #224

Closed wkillerud closed 2 months ago

wkillerud commented 2 months ago

Testing in Helix, which uses a different grammar for SCSS than Code, revealed a few annoying nits with completions.

This version adds two new settings that can be useful for maintainers of language clients and editor configurations:

afterModule lets you control whether or not to insert a . when accepting a suggestion from modules. If you see for instance module..$variable then try setting afterModule to an empty string.

beforeVariable is for non-module variables. If you see double dollars ($$variable) then set this to the empty string.