Closed gespispace closed 4 years ago
This is a little unclear. The comment you've linked refers to other Babel projects. Are you saying it happens for this one as well?
Yes, if i turn on this extensions my snippet don't work. And the comment say that work with other Babel projects.
Does this solution work for you? I was able to install the extension you listed and get it working with "editor.snippetSuggestions": "top"
set in my settings.
Sorry for the late reply.
Yes, this solution work. But i want see Snippets in suggests.
I'm also experiencing an issue with not seeing common JS snippets inside of JSX. the default js log
snippet trigger no longer works and doesn't show up in the Vscode intellisense list when I enable the plugin.
Extension disabled. Outside JSX (Works as expected)
Extension disabled. Inside JSX (Works as expected)
Extension enabled. Outside JSX (Works as expected)
Extension enabled. Inside JSX (Does not work as expected)
The intellisense list no longer contains the default log snippet and doesn't show any user JS snippets.
I also found out, that at some places the snippets are working and some are not: See here, very curious. I hope this video will help:
Thanks for the in depth video @exocode. I'll take a look at this when I can.
Thanks for the in depth video @exocode. I'll take a look at this when I can.
Good luck :-)
@exocode The issue here is that VSCode Language Babel adds two new languages for JSX and JSX Attributes (for several reasons). These snippets need to be applied for those languages as well to be available in JSX. I've created a PR to the repo you referenced to add support. Unfortunately, this will need to be done for any snippet projects. Could be some of your chances to contribute to open source!
I want use ES7 React/Redux/GraphQL/React-Native snippets in jsx tag they don't offered if i turn off the extension offered I find comment with the problem in vscode #33723