Skip to content

Make type filters for outline and breadcrumbs language specific #84678

Closed

Description

Is it possible to make type filters for outline and breadcrumbs (new in V1.4) language specific?
For example something like this:

{
    "[python]": {
        "outline.showConstants": false,
        "outline.showConstructors": false,
        "outline.showVariables": false,        
    },
}

It seems it will not work currently. I got the error: Unknown Identifier. Use language identifiers

Activity

  1. added
    outline
    feature-request
    on Nov 14, 2019
  2. hrvoj3e commented on Nov 14, 2019

    @hrvoj3e

    👍 First thing I tried today.

  3. added
    help wanted
    on Nov 14, 2019
  4. pjvan commented on Nov 17, 2019

    @pjvan
    Contributor

    I'd like to work on this if possible!

  5. jrieken commented on Nov 18, 2019

    @jrieken
    Contributor

    Ok, this is there config for the outline are defined:

    Registry.as<IConfigurationRegistry>(ConfigurationExtensions.Configuration).registerConfiguration({
    and this is for breadcrumbs: . You need to define that as resource specific and then adopt usages accordingly. This is a sample of doing that:
    if (env.reason === SaveReason.AUTO || !this._configurationService.getValue('editor.formatOnSave', overrides)) {

  6. pjvan commented on Nov 18, 2019

    @pjvan
    Contributor
  7. added a commit that references this issue on Dec 2, 2019
  8. added
    verification-needed
    on Dec 2, 2019
  9. added
    verified
    on Dec 3, 2019
  10. added
    on-release-notes
    on Dec 5, 2019
  11. locked and limited conversation to collaborators on Jan 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

breadcrumbsfeature-requesthelp wantedon-release-notesoutlineverification-neededverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions