Open danielo515 opened 7 years ago
Same problem.
@danielo515 @edDimensi Is there a hint in template
?
Nope
@edDimensi VueHelper
is which version? In addition, you can try to increase the configuration below:
"files.associations": {
"*.vue" : "html"
}
Latest version. If i enter such settings, the prompts in the template block will start working, in the script not. I use vetur and after 1.10 vscode, .vue file its vue.
@edDimensi You need to open a arbitrary js file, let vscode began to load the script file https://github.com/OYsun/vscode-VueHelper/issues/9
@OYsun can you explain?
I'm also interested in a more detailed explanation. I have already opened a random JavaScript file
Same here. In a random JS file I had the suggestions, but in the .vue file don't
@OYsun, I've insert the following into settings.json in my vscode:
"files.associations": {
"*.vue" : "html"
}
and the intelligence hint about vue's html tag works correctly now. But there is another warning hint such as following:
file: 'file:///Users/kokman/Desktop/ES6_project/demo1/src/App.vue'
severity: 'warning'
message: 'Doctype must be declared first.'
at: '1,1'
source: ''
file: 'file:///Users/kokman/Desktop/ES6_project/demo1/src/App.vue'
severity: 'warning'
message: 'The value of attribute [ to ] must be in double quotes.'
at: '8,23'
source: ''
How can I do something to avoid these hints?
Thank you!
--------source vue file contents--------
Same here, any suggestion for Vue code completion or snippet after typing 'V', even in a new *.js file... How do you manage to do that (@danielo515, @OYsun) ?
Hello,
I have the latest version installed on vscode 1.10.2 However, when I edit a
.vue
file I don't get any suggestion. For example, I expect this to provide acompilled
descriptionBut instead I get nothing. May this be a collision with any other plugin?