Skip to content
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

We need refresh opened java files after changing Java Compile Preferences #860

Closed
ddementieva opened this issue Mar 28, 2016 · 0 comments
Closed

Comments

@ddementieva
Copy link
Contributor

Steps to reproduce:

  1. Create new project from Spring sample.
  2. Open project and wait until IDE resolves dependencies.
  3. Open GreetingController class from created project.
  4. Add code "int l = 0;" to the method "handleRequest";
    IDE should create warning marker for added code line.
  5. Go to: Profile -> Preferences -> Java Compiler
  6. Set value "error" for properties: "Value of local variable is not used": .
  7. Click "Save" button.
    Actual result: In the opened editor still exist warning marker. It'll be changed only after reopen file.
    Expected result: editor should change warning marker to the error marker because java compiler preference was changed.
@ghost ghost closed this as completed Mar 30, 2016
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant