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

JetBrains IDEs don't recognize Angular components anymore #2946

Closed
1 of 7 tasks
nmerget opened this issue Jul 31, 2024 · 3 comments · Fixed by #3215
Closed
1 of 7 tasks

JetBrains IDEs don't recognize Angular components anymore #2946

nmerget opened this issue Jul 31, 2024 · 3 comments · Fixed by #3215
Assignees
Labels
🅰angular 🐛bug Something isn't working 👩‍👧‍👦community feedback Feedback from community
Milestone

Comments

@nmerget
Copy link
Member

nmerget commented Jul 31, 2024

Which generators are impacted?

  • All
  • HTML
  • React
  • Angular
  • Vue
  • Web components
  • Power Apps

Reproduction case

Install npm install @db-ui/ngx-components and follow the default setup.
There will be an error in Intellij IDEs that the components couldn't be found.

But the same is working for VSCode.

It's also an issue in elements

Expected Behaviour

Components can be used in Intellij IDEs without any Problem.

Screenshots

image

Browser version

None

Add any other context about the problem here.

The problem occurs since we've delivered standalone components.

Material is still providing a NgModule, we need to check if this could be the issue here.

@nmerget nmerget added 👩‍👧‍👦community feedback Feedback from community 🅰angular 🐛bug Something isn't working labels Jul 31, 2024
@nmerget
Copy link
Member Author

nmerget commented Sep 20, 2024

Found the issue:

Our components will be generated as default export like export default class DBButton {.
Somehow JetBrain IDE's won't recognize them as standalone in this case...

We fix this for now, by removing the default. But this is a bigger issue inside JetBrain IDE's.

@nmerget
Copy link
Member Author

nmerget commented Sep 20, 2024

Same as #2453?

@mfranzke
Copy link
Member

Same as #2453?

most likely: yes

@mfranzke mfranzke added this to the v0.4.0 milestone Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🅰angular 🐛bug Something isn't working 👩‍👧‍👦community feedback Feedback from community
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants