Skip to content

Debt - eliminate deprecated __ language configuration settings #9281

Closed

Description

@egamma
  • Replace the deprecated configuration settings with the language.configuration.json file in our extensions.
  • Make Pull Requests against the well known extensions that use the deprecated setting: PowerShell, Go, Python
  • Document the language.configuration.json file in the extensibility reference.

Activity

  1. aeschli commented on Jul 21, 2016

    @aeschli
    Contributor

    changes are in #9595

  2. aeschli commented on Jul 25, 2016

    @aeschli
    Contributor

    Adoption instructions:

    __characterPairSupport

    Instead of

    __characterPairSupport: {
        autoClosingPairs: [
            { open: '{', close: '}' },
            { open: '"', close: '"', notIn: ['string'] },

    define your auto closing pairs in the language configuration file. The structure is the same:

        "autoClosingPairs": [
            { "open": "{", "close": "}" },
            { "open": "\"", "close": "\"", "notIn": ["string"] },

    __electricCharacterSupport

    Instead of

    __electricCharacterSupport: {
        docComment: { scope: 'comment.documentation', open: '/**', lineStart: ' * ', close: ' */' }
    }

    add the doc comment start and end symbols to the list of autoClosingPairs.

        "autoClosingPairs": [
            { "open": "/**", "close": " */", "notIn": ["string"] }

    Note: if you want '*' in the middle of doc comments, use onEnterRules as shown here. https://github.com/Microsoft/vscode/blob/master/extensions/typescript/src/typescriptMain.ts#L171

  3. changed the title [-]Debt - eliminate deprecated __ language configuration seetings[/-] [+]Debt - eliminate deprecated __ language configuration settings[/+] on Jul 25, 2016
  4. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

debtCode quality issuesverifiedVerification succeeded

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions