-
-
Notifications
You must be signed in to change notification settings - Fork 138
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
React command clic disabled #2153
Comments
i can only think of #2148 causing this, but looking fine on jsx files for me. neverless i reduced the logic to handle only on Twig files now. what also would be possible, after updating a plugin reloading all plugins is failing, because its not working smooth with licensed plugins like here. restart of phpstorm needs be done manually then. |
#2153 reduce activation scope for injected Twig html implementation
Today got the same behavior for *.tsx files after the plugin was updated to 2022.1.248. PhpStorm has setting to set what autocompletion should be used for JSX attributes (defaults to braces): And it works fine (adds curly braces after entering "=") when Symfony plugin is disabled: But when Symfony plugin is enabled, it always adds quotes: |
The may problem IMO is not about the braces, but the command click and the import issue. Here is the video record : plugin-issue (will be available for 1 month) Thanks :) |
Happening to me too! I have two components in the same file, and they don't see each other. PHPStorm's tell me it's not used. Took me a while to figure it out that it was the Symfony plugin causing the problem. Edit: I'm using PHPStorm and my file is |
As a temporary solution, I've installed the previous version (2022.1.247), and all JSX problems have gone away. |
@yura3d How do you install a previous version of a plugin in the IDE? |
@rushi It is described in the docs:
I removed the current version, downloaded zip archive of previous version and installed it through Plugins section menu in Settings window. The license (I use paid plugin version) was applied automatically. |
Thank you @yura3d |
Just got an update which fixed the issue, thanks. |
Yes, its working since 2022.1.249 update today |
thanks for feedback and validation. 👍 |
Hi,
Starting today, I have an issue when using this plugin with a .tsx file open.
The JSX code is not analyzed correctly and I cannot command + clic to follow render object definition.
When I set an attribute on JSX tag, instead of autocompleting with
{}
I get""
I think it disable the JSX and analyze the file as regular HTML instead.
When I turn of the plugin, the problem disappear and I can go to the component definition.
Version of the plugin : 2022.1.248
Version of IntelliJ IDEA 2023.1.1 (Ultimate Edition) : Build #IU-231.8770.65, built on April 27, 202
Best regards,
Nicolas
The text was updated successfully, but these errors were encountered: