Skip to content

Releases: wkillerud/some-sass

[email protected]

08 Dec 14:10
Compare
Choose a tag to compare

What's Changed

  • fix: bugs with unknown at-rules and customData by @wkillerud in #277

Full Changelog: https://github.com/wkillerud/some-sass/compare/[email protected]@4.1.1

[email protected]

08 Dec 14:19
Compare
Choose a tag to compare

What's Changed

  • fix: bugs with unknown at-rules and customData by @wkillerud in #277

Full Changelog: https://github.com/wkillerud/some-sass/compare/[email protected]@2.1.1

[email protected]

05 Dec 20:09
f0cc66d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/wkillerud/some-sass/compare/[email protected]@4.1.0

[email protected]

05 Dec 20:08
f0cc66d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: https://github.com/wkillerud/some-sass/compare/[email protected]@2.1.0

[email protected]

01 Oct 18:51
Compare
Choose a tag to compare

What's Changed

  • fix: deprecation diagnostics in vue, astro, svelte by @wkillerud in #249

Full Changelog: https://github.com/wkillerud/some-sass/compare/[email protected]@4.0.2

[email protected]

01 Oct 18:51
Compare
Choose a tag to compare

What's Changed

  • fix: deprecation diagnostics in vue, astro, svelte by @wkillerud in #249

Full Changelog: https://github.com/wkillerud/some-sass/compare/[email protected]@2.0.2

[email protected]

28 Sep 15:09
Compare
Choose a tag to compare

What's Changed

  • fix: signature help no longer flickers on and off by @wkillerud in #239

Full Changelog: https://github.com/wkillerud/some-sass/compare/[email protected]@4.0.1

[email protected]

28 Sep 08:50
Compare
Choose a tag to compare

BREAKING CHANGES

  • These settings have been removed:
    • somesass.scanImportedFiles
    • somesass.scannerDepth
    • somesass.suggestFunctionsInStringContextAfterSymbols
  • All other settings from previous versions are deprecated. See Migrating your settings.

New features

  • Some Sass can now be used as a language extension for CSS in addition to the existing support for SCSS and Sass indented.
  • You can configure all features on and off per syntax (CSS, SCSS and Sass indented).

Use Some Sass for CSS

With this version of Some Sass you can now, if you choose, configure Some Sass to handle all features for CSS, SCSS and Sass indented. That way you can turn off the built-in language extension, and the two won't have to coordinate.

See the Settings documentation for details on how to do this. This is completely optional. Some Sass will always strive to work well out of the box in a stock version of Visual Studio Code.

Tons of new settings

If you're into configuration you'll find tons of new settings for Some Sass. The Settings docs (link) have a list of them all.

Bug fixes

  • Fixed a bug in Go to definition that would sometimes match a symbol that started with the same characters as the one you were after.

Migrating to the new settings

Your existing settings will continue to work for a while, but support for them may be dropped from a future major versjon.

It's recommended you update your settings to these new names. Some of the older settings can now be set per syntax.

Old ID New ID
somesass.loadPaths somesass.workspace.loadPaths
somesass.scannerExclude somesass.workspace.exclude
somesass.suggestAllFromOpenDocument somesass.scss.completion.includeFromCurrentDocument
somesass.sass.completion.includeFromCurrentDocument
somesass.suggestionStyle somesass.scss.completion.mixinStyle
somesass.sass.completion.mixinStyle
somesass.suggestFromUseOnly somesass.scss.completion.suggestFromUseOnly
somesass.sass.completion.suggestFromUseOnly
somesass.triggerPropertyValueCompletion somesass.scss.completion.triggerPropertyValueCompletion
somesass.sass.completion.triggerPropertyValueCompletion

Full Changelog: https://github.com/wkillerud/some-sass/compare/[email protected]@4.0.0

[email protected]

28 Sep 15:09
Compare
Choose a tag to compare

In case you missed it, 2.0.0 was a pretty big one.

What's Changed

  • fix: signature help no longer flickers on and off by @wkillerud in #239

Full Changelog: https://github.com/wkillerud/some-sass/compare/[email protected]@2.0.1

[email protected]

28 Sep 08:49
Compare
Choose a tag to compare

BREAKING CHANGES

  • All language features are now turned on by default for SCSS, Sass indented and CSS.
  • These settings have been removed:
    • somesass.scanImportedFiles
    • somesass.scannerDepth
    • somesass.suggestFunctionsInStringContextAfterSymbols
  • All other settings from previous versions are deprecated. See Migrating your settings below.
  • There is no longer a separate development export.
  • The --debug parameter has been removed.

All language features turned on by default

Version 1 of some-sass-language-server was meant to be used in addition to vscode-css-language-server. This made it more difficult to set up the language server in new editors, and was the cause of some odd edge cases.

To make it easier for language client maintainers, some-sass-language-server is now designed to be independent of vscode-css-language-server.

You can use Some Sass as the only language server for SCSS and Sass indented. You can also use Some Sass as a language server for CSS.

New features

  • some-sass-language-server can now be used as a language server for CSS in addition to the existing support for SCSS, Sass indented, Vue, Svelte and Astro.
  • You can configure all features on and off per syntax (CSS, SCSS and Sass indented). See the Settings documentation for details.
  • some-sass-language-server has a new --help output.
  • Get the current version with --version.
  • Change the log verbosity with --loglevel <level>.

Bug fixes

  • Fixed a bug in Go to definition that would sometimes match a symbol that started with the same characters as the one you were after.

Migrating your settings

Your existing settings will continue to work for a while, but support for them may be dropped from a future major versjon.

It's recommended you update your settings to these new names. Some of the older settings can now be set per syntax.

Old ID New ID
somesass.loadPaths somesass.workspace.loadPaths
somesass.scannerExclude somesass.workspace.exclude
somesass.suggestAllFromOpenDocument somesass.scss.completion.includeFromCurrentDocument
somesass.sass.completion.includeFromCurrentDocument
somesass.suggestionStyle somesass.scss.completion.mixinStyle
somesass.sass.completion.mixinStyle
somesass.suggestFromUseOnly somesass.scss.completion.suggestFromUseOnly
somesass.sass.completion.suggestFromUseOnly
somesass.triggerPropertyValueCompletion somesass.scss.completion.triggerPropertyValueCompletion
somesass.sass.completion.triggerPropertyValueCompletion

Settings that mimic the old behavior

Version 1 of some-sass-language-server was meant to be used in addition to vscode-css-language-server.

With 2.x you only need some-sass-language-server to get all features for CSS, SCSS and Sass indented. However, if you would like to keep using vscode-css-language-server, these are the settings you should use.

{
  // With these settings you can keep using vscode-css-language-server
  // if you would like to do that instead of using some-sass-language-server
  "somesass.css.codeAction.enabled": false,
  "somesass.css.colors.enabled": false,
  "somesass.css.completion.enabled": false,
  "somesass.css.definition.enabled": false,
  "somesass.css.diagnostics.enabled": false,
  "somesass.css.foldingRanges.enabled": false,
  "somesass.css.highlights.enabled": false,
  "somesass.css.hover.enabled": false,
  "somesass.css.links.enabled": false,
  "somesass.css.references.enabled": false,
  "somesass.css.rename.enabled": false,
  "somesass.css.selectionRanges.enabled": false,
  "somesass.css.signatureHelp.enabled": false,
  "somesass.css.workspaceSymbol.enabled": false,

  "somesass.scss.codeAction.enabled": false,
  "somesass.scss.colors.enabled": false,
  "somesass.scss.colors.includeFromCurrentDocument": false,
  "somesass.scss.completion.enabled": false,
  "somesass.scss.completion.css": false,
  "somesass.scss.completion.includeFromCurrentDocument": false,
  "somesass.scss.definition.enabled": false,
  "somesass.scss.diagnostics.enabled": false,
  "somesass.scss.diagnostics.lint.enabled": false,
  "somesass.scss.foldingRanges.enabled": false,
  "somesass.scss.highlights.enabled": false,
  "somesass.scss.hover.enabled": false,
  "somesass.scss.hover.documentation": false,
  "somesass.scss.links.enabled": false,
  "somesass.scss.references.enabled": false,
  "somesass.scss.rename.enabled": false,
  "somesass.scss.selectionRanges.enabled": false,
  "somesass.scss.signatureHelp.enabled": false,
  "somesass.scss.workspaceSymbol.enabled": false
}

Full Changelog: https://github.com/wkillerud/some-sass/compare/[email protected]@2.0.0