Skip to content

Commit

Permalink
Add code action section into walkthrough (#1372)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdneo authored Jul 29, 2024
1 parent 59f0096 commit 6ad36a1
Show file tree
Hide file tree
Showing 3 changed files with 206 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,15 @@
},
"when": "!java:projectManagerActivated || workspaceFolderCount == 0"
},
{
"id": "java.codeActions",
"title": "View code actions and source actions",
"description": "%walkthrough.java.codeActions%",
"media": {
"svg": "walkthrough/codeAction.svg",
"altText": "Code actions and source actions"
}
},
{
"id": "java.debugAndTest",
"title": "Launch, debug and test",
Expand Down
2 changes: 2 additions & 0 deletions package.nls.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@

"walkthrough.java.projects.inactive": "Java Project Explorer helps you to manage your projects and dependencies. Create a new project or open an existing folder to see the full features.\n[Open Command Palette](command:workbench.action.quickOpen?%22>java%22)\n__Try searching for 'Create Java Project' or 'Open Folder'__",

"walkthrough.java.codeActions": "Find available actions for your code in the editor:\n - Open the right-click menu then select \"Refactor...\" or \"Source Action...\".\n - Click on the light bulb💡.",

"walkthrough.java.debugAndTest":"Run and debug your application using the debugger. [Learn More...](https://aka.ms/java-walkthrough-debug)\nThe [Testing Explorer](command:workbench.view.testing.focus) allows you to view, run and manage all test cases in your project. [Learn More...](https://aka.ms/java-walkthrough-test)\n[Show Run and Debug View](command:workbench.view.debug)",

"walkthrough.java.extensions": "Install extensions to support additional frameworks such as Spring Boot, Application Servers, key mappings and so on.\n[Browse Recommended Extensions](command:toSide:java.extGuide)",
Expand Down
Loading

0 comments on commit 6ad36a1

Please sign in to comment.