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

Add setting to make fields created via code action final #2371

Merged
merged 1 commit into from Apr 18, 2024

Commits on Apr 18, 2024

  1. Add setting to make variables/fields created via code action final.

    - Adds `java.codeGeneration.addFinalForNewDeclaration` setting
    which changes the behavior of the "Assign statement to new (local
    variable|field)", "Create (local variable|field)", "Assign parameter to
    new field", "Assign all parameters to new fields".
    - Possible values are  "none", "variables", "fields", "all"
    - Fix up some test cases for ease of understanding
    - Update target platform to 4.32-I-builds/I20240417-1800
    
    Signed-off-by: Roland Grunberg <rgrunber@redhat.com>
    mfussenegger authored and rgrunber committed Apr 18, 2024
    Configuration menu
    Copy the full SHA
    f972bde View commit details
    Browse the repository at this point in the history