Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] View the TMLanguage scope that is called in the editor. #14204

Closed
longtomjr opened this issue Oct 22, 2016 · 6 comments
Closed
Assignees
Labels
feature-request Request for new features or functionality themes Color theme issues
Milestone

Comments

@longtomjr
Copy link

This is a feature that is supported in Sublime Text that allows the user to see the scope that is called with (ctrl - shift - alt - P). I find this feature useful because I need to write TMLanguage files to support SKON (a new object notation language) syntax highlighting and error highlighting in VSCode.

I do not know how difficult such an implementation would be, but if it is easy it would be a definite quality of life improvement. If is is a big job, it most likely is not worth the effort

@siegebell
Copy link

If #580 is resolved, it would be trivial to write an extension that provides hover messages giving the TMLanguage scope for any document.

@roblourens roblourens added the feature-request Request for new features or functionality label Oct 23, 2016
@aeschli aeschli added the themes Color theme issues label Oct 24, 2016
@aeschli aeschli added this to the Backlog milestone Oct 24, 2016
@siegebell
Copy link

I've written an extension that provides scope information as you hover over text: https://marketplace.visualstudio.com/items?itemName=siegebell.scope-info

@siegebell
Copy link

You can see the logic I use to find the grammar file here -- it likely does not respect the precedence vscode uses to resolve multiple contributions for the same language.

@longtomjr
Copy link
Author

Thanks a lot, Can I consider this closed?

@siegebell
Copy link

sure

@longtomjr
Copy link
Author

Closing as there is a way to dot this now!

@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality themes Color theme issues
Projects
None yet
Development

No branches or pull requests

4 participants