Skip to content

Commit

Permalink
Add deprecated fields to LanguageConfiguration (#10050)
Browse files Browse the repository at this point in the history
  • Loading branch information
dineshUmasankar authored Sep 4, 2021
1 parent 068e78d commit d350116
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/plugin/src/theia.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6265,6 +6265,14 @@ declare module '@theia/plugin' {
* and various editor features, like automatic bracket insertion, automatic indentation etc.
*/
export interface LanguageConfiguration {
/**
* @deprecated Use the autoClosingPairs property in the language configuration file instead.
*/
__characterPairSupport?: { autoClosingPairs: { close: String, notIn: String[], open: String }[] }
/**
* @deprecated Do not use. Will be replaced by a better API soon.
*/
__electricCharacterSupport?: { brackets: any, docComment: { close: String, lineStart: String, open: String, scope: String } }
/**
* The language's comment settings.
*/
Expand Down

0 comments on commit d350116

Please sign in to comment.