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:
somesass.completions.afterModule
somesass.completions.beforeVariable
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.
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:
somesass.completions.afterModule
somesass.completions.beforeVariable
afterModule lets you control whether or not to insert a
.
when accepting a suggestion from modules. If you see for instancemodule..$variable
then try settingafterModule
to an empty string.beforeVariable is for non-module variables. If you see double dollars (
$$variable
) then set this to the empty string.