-
Notifications
You must be signed in to change notification settings - Fork 990
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
No code completion for cell component #4303
Comments
You're using JS and asking for actually helpful code tips?! ;) I have a feeling you just have to do the usual "restart TS server" in vscode and you'll get your auto completion. |
While investigating this I realised that our types were actually not being generated as part of the generate command. I've fixed this issue in #4376. However this doesn't solve the problem you're describing I've investigated this further, and it looks like there may be a "trick" to making it appearing in the import suggestions list. @Tobbe what do you think? Made a tape for you -> Importing suggestions for Cells workaround |
Thanks for digging into this Danny! I verified that your trick worked for a JS project as well. And it works both if you do it in the .test.js file or in the .stories.js file. But as soon as I remove it, it stops working again. And for anyone who has this in their redwood.toml it wouldn't help
Personally I prefer relative imports 🙈 but moving to It would be nice if we could put something in |
I have something that works in a JS project. Going to test it in a TS project as well. |
I did spend some time on trying to get it working, but got stuck and ran out of time. Any help getting it going again would be greatly appreciated #5820 |
I ran
yarn rw g cell join
and now I want to use it in my pageI want VSCode to suggest
<JoinCell>
, but it doesn't. It suggestsJoinCellStories
, but that's not helpful.The text was updated successfully, but these errors were encountered: