Skip to content

Commit

Permalink
Fixed #265 that is the notice 'No source actions available'
Browse files Browse the repository at this point in the history
  • Loading branch information
kasecato committed Sep 19, 2022
1 parent 2d79827 commit 57ff84d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -125,14 +125,14 @@
"key": "alt+insert",
"mac": "cmd+n",
"command": "editor.action.sourceAction",
"when": "editorTextFocus",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly",
"intellij": "Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)"
},
{
"key": "alt+insert",
"mac": "cmd+n",
"command": "workbench.action.files.newUntitledFile",
"when": "!editorTextFocus",
"when": "(!editorHasCodeActionsProvider && editorTextFocus) || !editorTextFocus",
"intellij": "New..."
},
{
Expand Down
4 changes: 2 additions & 2 deletions src/package-with-comment.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,14 +162,14 @@
"key": "alt+insert",
"mac": "cmd+n",
"command": "editor.action.sourceAction",
"when": "editorTextFocus",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly",
"intellij": "Generate code... (Getters, Setters, Constructors, hashCode/equals, toString)"
},
{
"key": "alt+insert",
"mac": "cmd+n",
"command": "workbench.action.files.newUntitledFile",
"when": "!editorTextFocus",
"when": "(!editorHasCodeActionsProvider && editorTextFocus) || !editorTextFocus",
"intellij": "New..."
},
{
Expand Down

0 comments on commit 57ff84d

Please sign in to comment.