-
Notifications
You must be signed in to change notification settings - Fork 9
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
Intellisense not working #8
Comments
Hopefully. I'm very new to VS Code hacking, but I'll give it a shot some time. |
Yeah this would be a great addition to the plugin. I appreciate the effort it would require to make it possible. I wish I had free time to contribute to this, as I think intellisense support will become crucial as MDX uptake increases with Storybook. I'm already heavily missing it, but the plugin as is has helped my workflow a lot already, so thank you. |
Thank you for the kind words, and I totally agree, MDX is going places. Btw, I just want everyone to know that the inactivity in this repo is only temporary, I'm still heavily using it and I plan to make it much better. |
Does "intellisense" also include stuff like "import autocomplete"? Currently it's hard to import things into |
For me, I think v1 of intellisense would be just pulling in things like props, etc. For example, if I do |
The html implementation for script tags could be a starting point The idea is to convert the current MDX file to a js file, converting everything that is not js to an empty line (this way maintaining the typescript rages correct), then send it to the typescript language server host to get the completion results |
Thanks for the tip! |
I guess @remorses tip also mirrors the comment from @mjbvz here: microsoft/vscode#92805 (comment) Another thing mentioned over there is that And also, that "this won't be easy" :) |
Hey, any updates on this feature request? |
Friendly ping to @silvenon 🛎 ... sorry to bug you but wondering if this is still in the works. This would be a huuuge help if it were available. I have a project where I'm writing MDX content with react components that take complicated props. It would be fantastic to get autocomplete / type-checking on the props.
|
Seems like this is also an issue over at |
Would it be possible to have intellisense for javascript and markdown inside
.mdx
files? It would require custom rules / config probably. I'm not aware how it works though...The text was updated successfully, but these errors were encountered: