-
Notifications
You must be signed in to change notification settings - Fork 415
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
Code action: add static import #796
Comments
static import itself throwing error, in my case |
@jnesspro By default, the Java extension will only recommend static import for the members below.
If you want to enable static import for spring 5 members, you need modify the user settings and append your favorite package into
|
@cedric05 Can you execute VS Code command |
@testforstephen sorry for filing wrong. its working. |
You asked for it, @testforstephen delivered: |
@fbricon How are you bringing up the menu? |
Click on static method, |
@fbricon thanks for the update! any chance we could have this feature in Show Code Actions dropdown like it is in IntelliJ, perhaps a toggle to move the feature function to there for those who want it? |
So for me this was never enabled by default and I had to Very weird behaviour, but at least it works now. Seems to me like this is not set on install (neither in default / user |
Hi. I wonder that there is no way to quickly add static import (+ refactor all occurances).
It is really actual while writing tests or using spring 5 functional routing for example.
The text was updated successfully, but these errors were encountered: