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

Problems in Webstorm #131

Open
lupenq opened this issue Jan 21, 2021 · 3 comments
Open

Problems in Webstorm #131

lupenq opened this issue Jan 21, 2021 · 3 comments

Comments

@lupenq
Copy link

lupenq commented Jan 21, 2021

WebStorm swears at syntax highlighting

Current issues:

  • Unresolved function or method pug() on pug template tag
  • Unused parameter props and Unused constant MAX_AMOUNT, though both are used in the injection
  • Unused import App from './App'; for App used in the injection

image

image
image
image
image
image

@lupenq
Copy link
Author

lupenq commented Jan 26, 2021

@ezhlobo hi, can you help please?

@skotchpine
Copy link

skotchpine commented Apr 22, 2021

This seems like an issue closer to webstorm OR vue preprocessing that this plugin.

This isn't really just a template literal, it should probably look like jsx to an ide?
How does webstorm normally adjust its advice for babel plugins / vue proprocessors?

@skotchpine
Copy link

skotchpine commented Apr 22, 2021

I see two separate issues here:

  1. "unresolved imports" because pug is misunderstood as a template literal
  2. "pug is undefined", which sounds like a babel/compiler misconfiguration

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

2 participants