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

Intellisense not able to identify class attributes on typescript #3513

Open
4 tasks done
estevaoem opened this issue Aug 26, 2022 · 2 comments
Open
4 tasks done

Intellisense not able to identify class attributes on typescript #3513

estevaoem opened this issue Aug 26, 2022 · 2 comments
Labels

Comments

@estevaoem
Copy link

estevaoem commented Aug 26, 2022

  • I have searched through existing issues
  • I have read through docs
  • I have read FAQ
  • I have tried restarting VS Code or running Vetur: Restart VLS

Info

  • Platform: Linux
  • Vetur version: 0.36.0
  • VS Code version: 1.70.0

Problem

Intellisense is not able to identify this attributes
image

Reproducible Case

  • Simply creating a project in ts with vue-cli triggers the problem. In js though, the problem dont occour:
Vue CLI v5.0.8
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, TS, Linter, Unit
? Choose a version of Vue.js that you want to start the project with 3.x
? Use class-style component syntax? No
? Use Babel alongside TypeScript (required for modern mode, auto-detected 
polyfills, transpiling JSX)? Yes
? Pick a linter / formatter config: Prettier
? Pick additional lint features: Lint on save
? Pick a unit testing solution: Jest
? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated 
config files
? Save this as a preset for future projects? No
  • example working with js use vue-cli
Vue CLI v5.0.8
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, Linter, Unit
? Choose a version of Vue.js that you want to start the project with 3.x
? Pick a linter / formatter config: Prettier
? Pick additional lint features: Lint on save
? Pick a unit testing solution: Jest
? Where do you prefer placing config for Babel, ESLint, etc.? In dedicated 
config files
? Save this as a preset for future projects? No

image

@estevaoem estevaoem changed the title Intellisense not able to identify class attributes Intellisense not able to identify class attributes on typescript Aug 26, 2022
@LinusBorg
Copy link
Member

don't use Vetur for Vue 3, use Volar

https://vuejs.org/guide/scaling-up/tooling.html#ide-support

@yoyo930021
Copy link
Member

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

No branches or pull requests

3 participants