LanguageConfiguration class
The language configuration interfaces defines the contract between extensions and various editor features, like automatic bracket insertion, automatic indentation etc.
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
LanguageConfiguration({CommentRule? comments, List<
CharacterPair> ? brackets, RegExp? wordPattern, IndentationRule? indentationRules, List<OnEnterRule> ? onEnterRules, List<AutoClosingPair> ? autoClosingPairs, IInline26? electricCharacterSupport, IInline28? characterPairSupport}) -
factory
Properties
-
autoClosingPairs
↔ List<
AutoClosingPair> ? -
Available on LanguageConfiguration, provided by the LanguageConfiguration$Typings extension
The language's auto closing pairs.getter/setter pair -
brackets
↔ List<
CharacterPair> ? -
Available on LanguageConfiguration, provided by the LanguageConfiguration$Typings extension
The language's brackets. This configuration implicitly affects pressing Enter around these brackets.getter/setter pair - characterPairSupport ↔ dynamic
-
Available on LanguageConfiguration, provided by the LanguageConfiguration$Typings extension
Deprecated Do not use.getter/setter pair - comments ↔ CommentRule?
-
Available on LanguageConfiguration, provided by the LanguageConfiguration$Typings extension
The language's comment settings.getter/setter pair - electricCharacterSupport ↔ dynamic
-
Available on LanguageConfiguration, provided by the LanguageConfiguration$Typings extension
Deprecated Do not use.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
- indentationRules ↔ IndentationRule?
-
Available on LanguageConfiguration, provided by the LanguageConfiguration$Typings extension
The language's indentation settings.getter/setter pair -
onEnterRules
↔ List<
OnEnterRule> ? -
Available on LanguageConfiguration, provided by the LanguageConfiguration$Typings extension
The language's rules to be evaluated when pressing Enter.getter/setter pair - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wordPattern ↔ RegExp?
-
Available on LanguageConfiguration, provided by the LanguageConfiguration$Typings extension
The language's word definition. If the language supports Unicode identifiers (e.g. JavaScript), it is preferable to provide a word definition that uses exclusion of known separators. e.g.: A regex that matches anything except known separators (and dot is allowed to occur in a floating point number): /(-?\d*.\d\w*)|(^\`\~\!\@\#\%\^\&\*\(\)\-\=\+[\{]\}\\|\;\:\'\"\,\.\<\>\/\?\s
+)/ggetter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited