ejs-grammar icon indicating copy to clipboard operation
ejs-grammar copied to clipboard

Definition range not being reported (for Code Outline)

Open ourcore opened this issue 7 years ago • 2 comments

In VS Code 1.20.1, I'm using the Code Outline extension, which creates a visual tree of a selected HTML/CSS element's hierarchy, however, in .html files that have "JavaScript EJS" as the language mode, a tree isn't created.

The plugin says:

For the outline to work, the language support plugins need to support symbol information.

For the outline to form a tree structure, the language support plugins need to report the entire definition range as part of symbol.

It'd be great the EJS extension could report the necessary data for Code Outline to create a tree structure as it does with pure HTML files.

ourcore avatar Feb 27 '18 03:02 ourcore

Again, this requires the language server.

Betanu701 avatar Feb 27 '18 03:02 Betanu701

Please verify this as of 1.0.0

Betanu701 avatar Aug 23 '19 16:08 Betanu701