Skip to content

Commit

Permalink
docs: fix an incorrect settings reference in the docsite
Browse files Browse the repository at this point in the history
  • Loading branch information
wkillerud committed Jul 29, 2024
1 parent 5117203 commit 8b1a7fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/src/user-guide/settings.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ These are the recommended settings:
```jsonc
{
// Recommended if you don't rely on @import
"somesass.suggestOnlyFromUse": true,
"somesass.suggestFromUseOnly": true,

// Optional, if you get suggestions from the current document after namespace.$ (you don't need the $ for narrowing down suggestions)
"editor.wordBasedSuggestions": false,
Expand Down Expand Up @@ -47,7 +47,7 @@ on this setting.
With this setting turned on, Some Sass will only suggest variables, mixins and functions from the namespaces that are
in use in the open document. This setting will be turned on by default at some point after `@import` becomes CSS-only.

- JSON key: `somesass.suggestOnlyFromUse`.
- JSON key: `somesass.suggestFromUseOnly`.
- Default value: `false`.

#### Suggest variables, mixins, and functions from the open document
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ describe("SCSS Completion Test", function () {
await testCompletion(docUri, position(24, 15), expectedCompletions);
});

// We can't test this until somesass.suggestOnlyFromUse: true becomes the default setting
// We can't test this until somesass.suggestFromUseOnly: true becomes the default setting
it.skip("Offers no hidden items in namespace completions", async () => {
let expectedCompletions = ["$secret"];

Expand Down

0 comments on commit 8b1a7fc

Please sign in to comment.