Closed nacr closed 8 years ago
have more error logs?
+1
+1 PhpStorm 2016.1.2
sorry no error log.
I guess when there is no install coffeescript plugins
can you rephrase your last comment?
i have enabled coffee plugin. but it is still not work
Same problem here, the script portion of .vue files does not get syntax highlighting and code completion.
@PascalAnimateur add lang attr
Can confirm using <script lang="javascript">
solves the problem, but could this be detected as the default language?
What changed that caused the highlighting to not be active anymore?
.editorconfig doesn't apply as well when defining script lang="javascript". Pretty meh :(
I'm getting the following error using vue-cli webpack as well:
Error: Cannot resolve module 'javascript'
+1
@PascalAnimateur This version uses the default text, and the next version I will add the default Lang (template, script, style).
@PascaleBeier what???
@nacr-dev @agileago @deckvig I don't have any problems here.
I'm sorry. Forgot to tell you that the 1.0.7 version must specify the lang attribute for template,script,style tag.(Currently template only supports HTML highlight) @nacr-dev @agileago @deckvig @PascalAnimateur @infernobass7 @Ryqsky
Adding the lang attribute fixed the highlighter, but brokes laravel elixir and browserify.
With the lang-attribute its no longer possible to compile scripts and components:
Browserify Failed!: 'import' and 'export' may appear only with 'sourceType: module' (19:0)
How long will it take to release next versions ? I am supporter of this project and I rely on this project when I'm writing code. Thank you.
@henjue I am having the same issue @enso-media is facing with browserify - only that I'm using webpack.
@enso-media @Ryqsky I don't think the problem is vue-for-idea. Suggest you look https://github.com/babel/babelify/issues/136
Vue-loader can't resolve style tag with lang="scss", and there are too many annoying error highlighting when I write scss in lang="sass" tag now. What can I do to solve this problem?
Browserify still works if those attributes are removed in the components. Its not documented or best practice to use a lang-attribute in vue component tags. So maybe its not a specific vue-for-idea bug, however the lang-attribute is not supposed to be there. Downgrading for now, as everything worked as expected before...
@enso-media see https://github.com/vuejs/vue-loader ;vue-loader is support lang attribute
I downgraded to 1.0.6; https://plugins.jetbrains.com/plugin/8123?pr=&showAllUpdates=true
Currently I don't have time to figure this out and while the new highlighting is a lot better, none (without the lang attribute) is worse.
@jsl9208 You tell me your error message?
@henjue sry, it's not a plugin bug, I find a solution for webpack+vue-loader to compile lang=scss tag:
vue: {
loaders: {
scss: 'style!css!sass'
}
}
update version to 1.0.71.default use css and javascript。
support formatter and commenter on version 1.0.71
I think it should be re-opened. The issue is still preset or again, I do not know. I have 1.0.73 on one computer and alpha on another. The same issue - autocompletion does not work, HTML tags are not automatically closed etc. IT's making coding components really hard.
@mariaczi You add the lang attribute?My test is normal.
What you mean?
wt., 21 cze 2016, 05:40 użytkownik henjue notifications@github.com napisał:
@mariaczi https://github.com/mariaczi You add the lang attribute?My test is normal.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/henjue/vue-for-idea/issues/37#issuecomment-227338878, or mute the thread https://github.com/notifications/unsubscribe/AI80kgHcrFF1TwzwWUI7GnxppvNJzF06ks5qN2tIgaJpZM4I1TrI .
Autocompletion and closing tags are not working in all - HTML template, SCRIPT and STYLE.
Hello,
After updating to version 1.0.7 Highlighter and Auto completion are not working.
Using; PhpStorm 2016.1.2 Build #PS-145.1616, built on May 24, 2016 JRE: 1.8.0_77-b03 x86 JVM: Java HotSpot(TM) Server VM by Oracle Corporation