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

VSCode language support doesn't work for embeded tags #12

Open
LiuJi-Jim opened this issue May 12, 2016 · 5 comments
Open

VSCode language support doesn't work for embeded tags #12

LiuJi-Jim opened this issue May 12, 2016 · 5 comments

Comments

@LiuJi-Jim
Copy link
Owner

LiuJi-Jim commented May 12, 2016

VSCode (seems) doesn't activate full-featured language support for embedded tags.
That means JavaScript Intellisense and HTML Emmet doesn't work in .vue Files.

I found that even if writing embedded <script> tags in .html file, JavaScript Intellisense doesn't work either. What a pity...

Still trying to solve this problem.
Maybe need to implement a Language Server to call language supports manually.

@youanden
Copy link

Take a look at this issue:
microsoft/vscode#9500

They seem to be working on this now. @egamma seems to have acknowledged @mrmlnc's similar use case.

@mrmlnc
Copy link

mrmlnc commented Aug 25, 2016

This issue is not entirely belongs to #9500.

Yes, in the current insider build Emmet will work with this extension (HTML syntax in .vue files).

But this issue refers to the support for nested (embedded) languages. See microsoft/vscode#8938 and microsoft/vscode#8928.

@frankdugan3
Copy link

With the 1.7 release, it seems as though all of the blocking VSCode issues have been addressed. Is it now possible to fix this issue?

@LiuJi-Jim
Copy link
Owner Author

@frankdugan3
As currently tested, ES2015 syntax highlighting in .vue files is now working. but JavaScript Intellisense it still not.
Probably I will merge the tmLanguage file from vuejs/vue-syntax-highlight in this week.

@frankdugan3
Copy link

@LiuJi-Jim The VSCode release today finally added Javascript Intellisense to HTML/embedded files, and they also added support for the rest/spread operator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants