Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add deprecated fields to LanguageConfiguration (#10050)
Browse files Browse the repository at this point in the history
dineshUmasankar authored and RomanNikitenko committed Sep 16, 2021

Verified

This commit was signed with the committer’s verified signature.
emmatyping Emma Smith
1 parent ac9a9fd commit 853f28b
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
@@ -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.
*/

0 comments on commit 853f28b

Please sign in to comment.