Skip to content

[semantic][typescript] Semantic highlighting for imports should be optional #93017

Closed

Description

In 1.43.1, it was decided that imports should no longer have semantic highlighting, but in #92740 there is an answer that shows that I'm not the only one who actually liked that feature and find it useful. I hope you consider for next upgrade to at least make it optional. Thanks in advance.

Activity

  1. davelsio commented on Mar 19, 2020

    @davelsio

    Thanks for this issue. I actually spent a while debugging this, and even reported it, not checking whether it might be a feature.

    Needless to say I second this proposal. Semantic highlighting in imports help me to quickly identify the type of whatever I am importing into the component.

  2. added
    typescript
    semantic-tokens
    on Mar 25, 2020
  3. changed the title [-]Semantic highlighting for imports should be optional[/-] [+][semantic][typescript] Semantic highlighting for imports should be optional[/+] on Mar 25, 2020
  4. varog-norman commented on Apr 9, 2020

    @varog-norman

    I also like this feature and hope it will be available next releases

  5. Saschamz commented on Apr 20, 2020

    @Saschamz

    I'm running VSCode version 1.42 for this feature alone so I also second this 😄

  6. arkthur commented on May 16, 2020

    @arkthur
    Author

    Hi, Martin Aeschlimann (@aeschli). Are there any news about this feature? All I've seen is this has been delayed twice. Many people still using 1.42 because of this, including me. Is this ever going to be done? If not, I think you should say something, so we can go use some other editor/IDE that gives us what we want/need without having to stop updates.

  7. aeschli commented on May 18, 2020

    @aeschli
    Contributor

    It's still on my list, but there's always other things coming up.
    Anyone want to give a try, I can give some infos where to begin.

  8. arkthur commented on May 18, 2020

    @arkthur
    Author

    Anyone want to give a try, I can give some infos where to begin.

    Martin Aeschlimann (@aeschli) I'd be glad to give it a try. Hope I have what's needed. Please, give me the info I need and I'll give this as much time as I can spare.

  9. aeschli commented on May 19, 2020

    @aeschli
    Contributor

    Semantic highlighting is implemented in a TypeScipt server plugin: https://github.com/aeschli/typescript-vscode-sh-plugin
    The client part for semantic highlighting is here https://github.com/microsoft/vscode/blob/master/extensions/typescript-language-features/src/features/semanticTokens.ts

    To send settings from the typescipt client to the plugin on the server, there's an API:

    public setConfiguration(pluginId: string, config: {}) {

    • define a new setting for the typesccript extension
    • in /semanticTokens.ts, read and observe the setting and send it to the plugin
    • in the plugin use the setting
  10. aeschli commented on Jun 29, 2020

    @aeschli
    Contributor

    The typescript team is working on adopting our semantic highlighting code to the ts server, see microsoft/TypeScript#39119.
    One done, we will move this issue in the TypeScript repo.

  11. arkthur commented on Nov 4, 2020

    @arkthur
    Author

    The typescript team is working on adopting our semantic highlighting code to the ts server, see microsoft/TypeScript#39119.
    One done, we will move this issue in the TypeScript repo.

    Is there any news about this?

  12. added
    feature-request
    on Nov 6, 2020
  13. EliasGcf commented on Apr 8, 2021

    @EliasGcf

    The typescript team is working on adopting our semantic highlighting code to the ts server, see microsoft/TypeScript#39119.
    One done, we will move this issue in the TypeScript repo.

    Is there any news about this?

    I also would like to know it

  14. aeschli commented on Apr 12, 2021

    @aeschli
    Contributor

    Yes, semantic highlighting for TS/JS is now part of TypeScript.

  15. aeschli commented on Apr 12, 2021

    @aeschli
    Contributor

    Ítalo Masserano (@arkthur) Elias Gabriel (@EliasGcf) Do you want to file a new issue against https://github.com/microsoft/TypeScript/issues ?
    The Transfer Issue feature doesn't work for this as I'm not a team member of TypeScipt and I think it's better if the new issue is filed by an interested party.

  16. aeschli commented on Oct 22, 2021

    @aeschli
    Contributor

    Closing. Please file an issue against TypeScript if still needed

  17. locked and limited conversation to collaborators on Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestsemantic-tokenstypescript

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    ⌂ Proxy