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

Editor - Bring back getModeAtPosition() semantics #14136

Closed
3 of 4 tasks
egamma opened this issue Oct 21, 2016 · 2 comments
Closed
3 of 4 tasks

Editor - Bring back getModeAtPosition() semantics #14136

egamma opened this issue Oct 21, 2016 · 2 comments
Assignees
Labels
feature-request Request for new features or functionality
Milestone

Comments

@egamma
Copy link
Member

egamma commented Oct 21, 2016

Since we extracted HTML into an extension, getModeAtPosition always returns the top-level mode/language and not the nested one.

TODO:

  • determine language based on top level scopes for each token
  • generate modeTransitions based on the token's language transition
  • somehow load embedded languages configurations
  • write test plan item
@aeschli
Copy link
Contributor

aeschli commented Oct 24, 2016

Once fixed, I guess #11081 can be closed

alexdima added a commit that referenced this issue Oct 24, 2016
Load configuration for languages when they are first encountered as an embedded mode in TextMate (#14136)
@alexdima
Copy link
Member

Test coverage will be done through verification of issue #11081 and all linked issues from there.

@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
Projects
None yet
Development

No branches or pull requests

3 participants