-
Notifications
You must be signed in to change notification settings - Fork 5.3k
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
Vue.js single-file component support #2810
Comments
any updates on this ? |
I agree. Is anyone following this? Can we import our own syntax highlighting using the sublime/atom syntax highlighters? this is the missing link from me using the product, as I work in Vue all day, love to figure out if it will become supported or if not where its something we can customize in the back door? |
I agree also. |
Me too |
👍 |
me too!!! |
Agreed! |
Will be awesome |
CodeMirror supports Vue @asdred |
Any updates on this ? |
Is there a way to use CodeMirror inside Cloud9 ? |
If they don't want to implement vue syntax, maybe you should think about change it? Actually, they even not answering... |
Very sad :( Vue is so popular and I am a premium user I. I hope this gets implemented soon. |
Well, happy waiting, thread started in Dec 14, 2015 |
@boustanihani vue files seem to be simple html files with different extension, and cloud9 sets html extension for them by default https://github.com/c9/core/blob/master/node_modules/ace/lib/ace/ext/modelist.js#L94 Do you get a different mode, or does html mode not work as you are expecting? |
Does your HTML-mode support |
@Piterden, no, they support only html/js/css. |
Code formatting is not working inside the |
@boustanihani, code formatting is not related to this issue, since you are a premium customer, please open a support ticket, and show examples of files for which code formatting does not work as expected, this issue is about syntax highlighting. |
I already did this month ago |
@Piterden thanks, i am working on a update for syntax highlighter, which will make embedding languages easy, it will be ready in about 2 weeks. @boustanihani i am sorry, i am not able to find anything related to your report. And as for as i can see code formatting works now for basic things, so there must be a subtler issue. |
@nightwing If it would be opensource, then there is a big chance we go back from CM 😉 |
Any update on this? |
Contributions for this would be highly appreciated. There is a guide how to approach adding a syntax highlighter here, and Vue syntax highlighter for other tools at their GitHub - it could be a good start. |
Vue language mode was added in #5483 and should be already available in latest Ace version. |
I would love to see support for files using different languages in the same file. Especially the single-component files you often use when working with Vue.js. See this picture for an example: http://vuejs.org/images/vue-component-with-pre-processors.png. For more information: http://vuejs.org/guide/application.html#Single_File_Components
There is a highlighting plugin for .vue files available for Sublime: https://github.com/vuejs/vue-syntax-highlight
The text was updated successfully, but these errors were encountered: