trigger onTypeFormat on esc
This commit is contained in:
parent
ca638352d5
commit
dfb7ce5d3b
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ export default class LanguageProvider {
|
||||||
languages.registerDocumentRangeFormatProvider(languageIds, formatProvider)
|
languages.registerDocumentRangeFormatProvider(languageIds, formatProvider)
|
||||||
)
|
)
|
||||||
this.disposables.push(
|
this.disposables.push(
|
||||||
languages.registerOnTypeFormattingEditProvider(languageIds, formatProvider, [';', '}', '\n'])
|
languages.registerOnTypeFormattingEditProvider(languageIds, formatProvider, [';', '}', '\n', '\033'])
|
||||||
)
|
)
|
||||||
|
|
||||||
// this.disposables.push(
|
// this.disposables.push(
|
||||||
|
|
Loading…
Reference in a new issue