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

Js/Ts intellisense for composition API not working inside setup function .Quasar v2.0.0-beta.3 #8447

Closed
soulsam480 opened this issue Feb 9, 2021 · 4 comments

Comments

@soulsam480
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is.
Javascript/Typescript intellisense for composition API methods/properties inside the setup function is not working inside a Quasar v2.0.0-beta.3 project. This does work with vanilla Vue 3 project.

To Reproduce
Steps to reproduce the behavior:

  • Open a quasar 2.x project
  • type OnMounted or any composition API method/property
  • IDE should provide intellisense for the method/properties
  • It does not work

Expected behavior
A clear and concise description of what you expected to happen.

  • IDE should provide intellisense for the methods/properties.

Screenshots
If applicable, add screenshots to help explain your problem.

composition API

Platform (please complete the following information):
Quasar Version:
@quasar/app Version: 2.0.0-beta.3
Quasar mode:
[x] SPA
[ ] SSR
[ ] PWA
[ ] Electron
[ ] Cordova
[ ] Capacitor
[ ] BEX
Tested on:
[x] SPA
[ ] SSR
[ ] PWA
[ ] Electron
[ ] Cordova
[ ] Capacitor
[ ] BEX
OS: Ubuntu 20
Node: 14.x
Yarn: 2.x
Browsers: Edge, Chrome
iOS:
Android:
Electron:

Additional context
Add any other context about the problem here.

@pdanpdan
Copy link
Collaborator

pdanpdan commented Feb 9, 2021

As long as you don't have it imported I would not expect to autocomplete it, because it is not available.

@soulsam480
Copy link
Contributor Author

As long as you don't have it imported I would not expect to autocomplete it, because it is not available.

yes that's correct, but if you reproduce the case with a Vue cli Vue 3 project, on typing onMounted, it'll show the intellisense to import the method.

@soulsam480
Copy link
Contributor Author

Hii @rstoenescu can you please help with this issue ?

@IlCallo
Copy link
Member

IlCallo commented Oct 12, 2021

See #9235 (comment) for an explanation

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

No branches or pull requests

3 participants