Skip to content

Commit

Permalink
chore: revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
CristiCanizales committed Dec 5, 2024
1 parent c6cb49f commit ecaf0d6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions packages/salesforcedx-vscode-apex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,22 @@
]
},
"menus": {
"editor/context": [
{
"command": "sf.create.apex.action.method",
"when": "sf:project_opened && sf:has_target_org && resource =~ /.\\.(cls)?$/"
},
{
"command": "sf.create.apex.action.class",
"when": "sf:project_opened && sf:has_target_org && resource =~ /.\\.(cls)?$/"
}
],
"explorer/context": [
{
"command": "sf.create.apex.action.class",
"when": "sf:project_opened && sf:has_target_org && resource =~ /.\\.(cls)?$/ && resourcePath =~ /classes/"
}
],
"view/title": [
{
"command": "sf.test.view.run",
Expand Down Expand Up @@ -235,6 +251,14 @@
{
"command": "sf.test.view.collapseAll",
"when": "sf:project_opened"
},
{
"command": "sf.create.apex.action.method",
"when": "false"
},
{
"command": "sf.create.apex.action.class",
"when": "sf:project_opened && sf:has_target_org && resource =~ /.\\.(cls)?$/ && resourcePath =~ /classes/"
}
]
},
Expand Down Expand Up @@ -338,6 +362,14 @@
{
"command": "sf.apex.test.last.method.run",
"title": "%apex_test_last_method_run_text%"
},
{
"command": "sf.create.apex.action.method",
"title": "%create_apex_action_method%"
},
{
"command": "sf.create.apex.action.class",
"title": "%create_apex_action_class%"
}
],
"configuration": {
Expand Down

0 comments on commit ecaf0d6

Please sign in to comment.