-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Intellj support: code assist #1714
Comments
cc @prigara |
I replied in the thread, but also going to copy and paste my answer here. I think IntelliJ’s behavior is absolutely correct here.
If you want to use a dependency, you must install it yourself and add it to I filed a new issue to discuss breaking the build when we encounter undeclared dependencies, to make it clearer this behavior was never supported: #1725. I hope this helps! |
The problem is that In your case, that is just Whether we are talking about a couple or a dozen 'standard' dependencies, they are breaking the idea that updating With a transitive dependencies approach, updating our Okay, I'm looking at alternatives now, and the easiest seems to be this:
That works for new projects, but for updating the |
Yes, and you can update them independently from
If you need more dependencies, you run
Maybe I didn’t explain the idea well enough, but no, they are not breaking that idea. The only concern of
This is your decision, but it goes against how npm and Node works. For example, your projects will just fail to build with npm 2. If you really want to enforce this, you should use the |
Intellij users here will have noticed that the
react-scripts
approch of not having all dependencies in the mainpackage.json
leads to a reduced quality of code assistance in that ide.If you feel like helping to convince them to change that, have a look at this issue:
https://youtrack.jetbrains.com/issueMobile/WEB-25759
The text was updated successfully, but these errors were encountered: