Title: Theory / Important / CS / Softw / IDE / VSCode / Language extension
On every note of this deck, unless a note says otherwise:
Page: https://code.visualstudio.com/api/language-extensions/language-configuration-guide
Context: VS code language extension

Variable: comments.lineComment
Meaning: String starting a comment up to the end of the line

Variable: comments.blockComment
Meaning: Pair starting and ending a block comment

Variable: brackets
Meaning: List of pair of opening/closing brackets

Variable: autoClosingPairs
Meaning: A list of auto closing pairs settings, or pair of open/close string

Variable: autoClosingPair.open
Meaning: When this string is typed, add the close, unless in `notIn`

Variable: autoClosingPair.closed
Meaning: The string to add when the opening string is typed

Variable: autoClosingPair.notIn
Meaning: In this context, ignore this autoClosing rule

Variable: autoClosingPair.autoCloseBefore
Meaning: the set of character such that this rule applies if the character after the opening string is one of this character

Variable: surroundingPairs
Meaning: List of surrounding pair

Typ: Surrounding pair
Meaning: A pair [open, close]
When a range is selected and open is typed, it is added at the start of the range and close as its end
Page: https://code.visualstudio.com/api/language-extensions/language-configuration-guide
Context: VS code language extension

Variable: WordPattern
Meaning: Regexp defining what is a word in the language

Variable: indentationRules.increaseIndentPattern
Meaning: Pattern which, when found, lead to an increase in indentation

Variable: indentationRules.decreaseIndentPattern
Meaning: Pattern which, when found, lead to a decrease in indentation

Variable: indentationRules.indentNextLinePattern
Meaning: Pattern which, when found, lead to an increase in indentation for next line only

Variable: indentationRules.unIndentedLinePattern
Meaning: Pattern which, is found, lead to no change in indentation

Question: which identation rules has priority
Answer: unIndentedLinePattern first. Then all other equals
Page: https://code.visualstudio.com/api/language-extensions/language-configuration-guide
Context: VS code language extension

Variable: onEnterRules
Meaning: a list of onEnterRule

Variable: onEnterRule.beforeText
Meaning: Pattern such that the rule applies if the current line, before the cursor, matches it

Variable: onEnterRule.afterText
Meaning: Pattern such that the rule applies if the current line, after the cursor, matches it

Variable: onEnterRule.previousLineText
Meaning: Pattern such that the rule applies if the line above the cursor, matches it

Variable: onEnterRule.indent
Value: none
Value2: indent
Value3: outdent
Value4: indentOutdent

Variable: onEnterRule.appendText
Meaning: A string that will be appended after the new line and after the indentation.

Variable: onEnterRule.removeText
Meaning: The number of characters to remove from the new line's indentation.