-
Notifications
You must be signed in to change notification settings - Fork 487
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
Typescript autocompletion is no longer working #2235
Comments
hey @andresfulla I'm glad it helped a lot, but it stops working is a bit weird, we didn't change anything in the typescript types distribution. I need to investigate further to make sure we break. Thanks for that! |
Hey @andresfulla, I was getting this error in past but probably was a bug with VScode, I'm currently using VScode - Insiders and It solved for me. |
Thanks! I just installed VS Code Insiders and still does not work for me. So I'll leave it open. |
Didn't seem to work for me either... maybe it's the extension or sth? |
Thanks guys for reporting, I'm marking this with a bug now. Basic components that had no dependencies between components were working with types, now the components with Clay package dependencies are broken, because types are generated based on the package names inside the lib folder, something like this:
So we can correct the types paths in these packages or we can stop typescript from generating types of these dependencies, I'll investigate this later. Thanks for that again this was possibly already broken in other components and versions. |
I've removed the |
I had some weird behaviour yesterday with VS Code, and I think it has to do with this. Whenever I rename a file, and I let VS Code perform a refactor on the js files that import that file, not only I get the nicely done refactor , I also get a prefix I'll open a different issue if this keeps happening, but I'm pretty sure is related to this. |
@andresfulla: When you open this (maybe you have already, but I couldn't find it), please mention @p2kmgcl as well — we were discussing this in the weekly guild chat and he reports exactly the same problem with the unwanted "node_modules" prefix. |
I can no longer reproduce this renaming issue in VS Code. But VS Code keeps complaining in |
hey @andresfulla we haven't released the changes yet, it was just merged into the master, you can follow the next release here https://github.com/liferay/clay/milestone/10. |
@andresfulla do you still run into this at all? I was looking into something similar in #2775 |
I am not having any problems now. |
Since we updated our components to
3.0.0-milestone.2
VS Code is no longer helping me to write components with props autocompletion. That was a productivity boost, so I'm missing it. Thanks!The text was updated successfully, but these errors were encountered: