Skip to content

Conversation

@jdneo
Copy link
Contributor

@jdneo jdneo commented Sep 16, 2020

resolve redhat-developer/vscode-java#1617
resolve redhat-developer/vscode-java#1379

First half of the gif shows the moved code action
Second half of the gif shows how to leverage the setting editor.codeActionsOnSave to add final modifiers on save
demo

Signed-off-by: Sheng Chen [email protected]

Signed-off-by: Sheng Chen <[email protected]>
@jdneo jdneo changed the title Move the code action 'Change modifers to final where possible' to a source action Move the code action 'Change modifiers to final where possible' to a source action Sep 17, 2020
Signed-off-by: Sheng Chen <[email protected]>
@fbricon fbricon merged commit 8d5ee5d into eclipse-jdtls:master Sep 23, 2020
@fbricon
Copy link
Contributor

fbricon commented Sep 23, 2020

Thanks @jdneo!

@jdneo jdneo deleted the cs/add-final-source-action branch September 23, 2020 11:17
@fbricon fbricon added this to the End September 2020 milestone Sep 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change the code action kind 'Change modifiers to final where possible' to Source Action [Feature Request] Provide more code action options on save

2 participants