Skip to content

support to declare a json schema attribute as deprecated #14260

Closed

Description

for details see #13353

Activity

  1. added
    feature-request
    debug
    on Oct 24, 2016
  2. changed the title [-]support to declare a configuration attribute as deprecated[/-] [+]support to declare a json schema attribute as deprecated[/+] on Nov 1, 2016
  3. isidorn commented on Nov 1, 2016

    @isidorn

    This is a general feature request against our json schema. Forwaring to Martin Aeschlimann (@aeschli)

  4. added
    json
    and removed
    debug
    on Nov 1, 2016
  5. aeschli commented on Nov 2, 2016

    @aeschli
    Contributor

    I added a (vscode custom) property 'deprecationMessage' to the JSON schema.
    If present, the given message will be shown. Typically you would set it to something like:
    'Property foo is deprecated, use bar instead'

  6. weinand commented on Nov 11, 2016

    @weinand
    ContributorAuthor

    I've reopened this feature because the attribute is deprecatedMessage and not deprecationMessage. I would prefer deprecationMessage.

    In addition some suggestions:

    • don't show the description of a deprecated attribute in the hover
    • don't suggest deprecated attributes in Intellisense
    • don't use a fixedwidth font for the deprecation message in the hover:
      2016-11-11_17-18-50
  7. aeschli commented on Nov 11, 2016

    @aeschli
    Contributor

    deprecatedMessage and not deprecationMessage

    ok, will change

    don't show the description of a deprecated attribute in the hover

    You can make the fix for that in your schema: Remove the description from the attribute

    don't suggest deprecated attributes in Intellisense

    ok makes sense

    don't use a fixed width font for the deprecation message in the hover

    You have to file that against the problem hover (not under my control). I agree that a fixed size is not use useful.

  8. added
    verification-needed
    on Dec 6, 2016
  9. aeschli commented on Dec 6, 2016

    @aeschli
    Contributor

    To verify have a launch.json with a node section that contains a "outDir" property.

  10. 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

feature-requestjsonverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions