You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 17, 2019. It is now read-only.
Subj.
Need a setting option to change action in extension.js from { indentAction: vscode.IndentAction.Indent } to {} or whatever. Auto indentations are a bit annoying, imho.
function activate(context) {
vscode.languages.setLanguageConfiguration("sass", {
wordPattern: /(#?-?\d*\.\d\w*%?)|([$@#!.:]?[\w-?]+%?)|[$@#!.]/g,
onEnterRules: [
{
beforeText: /^((?!^(\s+|.*: .*|.*@.*|.*,|\s+\+.*)$).*|.*@media(?!^\s+$).*)$/,
action: { indentAction: vscode.IndentAction.Indent } /* this one */
}
]
});
var sassCompletion = new sassAutocomplete_1.default();
var sassCompletionRegister = vscode.languages.registerCompletionItemProvider([
{ language: "sass", scheme: "file" },
{ language: "sass", scheme: "untitled" },
], sassCompletion, "\\.", "@");
context.subscriptions.push(sassCompletionRegister);
}
The text was updated successfully, but these errors were encountered:
Subj.
Need a setting option to change
action
in extension.js from{ indentAction: vscode.IndentAction.Indent }
to{}
or whatever. Auto indentations are a bit annoying, imho.The text was updated successfully, but these errors were encountered: