Comments (6)
I found there is a conflict with Extension Nx Console. After disable it, prompt works well.
from language-tools.
What's your ts and volar version?
from language-tools.
What's your ts and volar version?
The same problem happened in my workspace too.
vue.volar: v2.0.6
typescript: 5.3.3
vue: 3.4.21
And here is my package.json:
{
"name": "workspace",
"version": "0.0.0",
"scripts": {},
"private": true,
"devDependencies": {
"@nx/eslint": "18.0.5",
"@nx/eslint-plugin": "18.0.5",
"@nx/js": "18.0.5",
"@nx/vite": "18.0.5",
"@nx/vue": "^18.0.5",
"@nx/web": "18.0.5",
"@nx/workspace": "18.0.5",
"@swc-node/register": "~1.8.0",
"@swc/core": "~1.3.85",
"@swc/helpers": "~0.5.2",
"@types/node": "20.11.1",
"@typescript-eslint/eslint-plugin": "^6.13.2",
"@typescript-eslint/parser": "^6.13.2",
"@vitejs/plugin-vue": "^4.5.0",
"@vitest/coverage-v8": "^1.0.4",
"@vitest/ui": "^1.3.1",
"@vue/eslint-config-prettier": "7.1.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/test-utils": "^2.4.1",
"eslint": "~8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-vue": "^9.16.1",
"jsdom": "~22.1.0",
"nx": "18.0.5",
"prettier": "^2.6.2",
"sass": "^1.71.1",
"typescript": "~5.3.2",
"verdaccio": "^5.0.4",
"vite": "~5.0.0",
"vite-plugin-dts": "~2.3.0",
"vitest": "^1.3.1",
"vue-tsc": "^1.8.8"
},
"volta": {
"node": "20.11.1"
},
"nx": {
"includedScripts": []
},
"dependencies": {
"date-fns": "^2.30.0",
"axios": "^1.6.7",
"consola": "^3.2.3",
"vue": "^3.3.4",
"vue-router": "^4.2.4"
}
}
from language-tools.
not only type prompt also prompt for import path
@so1ve I'm glad to try to fix this issue, is there any guidance to debug the language server or the extension?
from language-tools.
I found there is a conflict with Extension Nx Console. After disable it, prompt works well.
thank you, that's it!
from language-tools.
Fixed by #4119
from language-tools.
Related Issues (20)
- How to specify typescript path to volar lsp HOT 2
- Showing false _declared but not used_ errors for functions used in `v-on="{}"`
- How to use format HOT 2
- `language-plugin-pug` unused prop with `v-slot` and `v-for`
- missing auto closing tags in template HOT 1
- Is Vue.Volar still the recommended formatter since the new Vue - Official extension has been released? HOT 1
- IntelliSense is not working HOT 16
- Hybrid Mode Discussion HOT 3
- TypeScript checks partially fail when not using anonymous functions in templates HOT 1
- 使用泛型hook,ts类型推断错误 / Using generic hook, ts type inference error HOT 3
- V2.0.16 code folding function disabled. HOT 6
- vue-tsc think that unregister component is unknown in template tag
- some mistakes HOT 1
- dts emit file(.vue.d.ts) that has ts prompt error HOT 1
- Syntax highlight breaks when using directives/mixins on Vue2 with TS HOT 1
- Vue TSC & computed-refs HOT 1
- vscode ref 类型的变量 .value 自动保存不会补全 HOT 1
- Types imported in the `<script setup>` should not be used as a variable in template
- ``.foo`` -> ``foo`` when renaming classname within ``scoped``
- vue-official导致项目全部报错 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from language-tools.