Skip to content

Commit ac79ea0

Browse files
Cleanup commands (#1204)
Cleanup commands Co-authored-by: Kartik Gupta <88345179+kartikgupta-db@users.noreply.github.com>
1 parent d3fb173 commit ac79ea0

File tree

1 file changed

+18
-27
lines changed

1 file changed

+18
-27
lines changed

packages/databricks-vscode/package.json

Lines changed: 18 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -89,27 +89,6 @@
8989
"enablement": "databricks.context.activated && databricks.context.loggedIn",
9090
"icon": "$(debug-disconnect)"
9191
},
92-
{
93-
"command": "databricks.sync.start",
94-
"title": "Start synchronization",
95-
"category": "Databricks",
96-
"enablement": "databricks.context.activated && databricks.context.loggedIn",
97-
"icon": "$(debug-start)"
98-
},
99-
{
100-
"command": "databricks.sync.startFull",
101-
"title": "Start synchronization (full sync)",
102-
"category": "Databricks",
103-
"enablement": "databricks.context.activated && databricks.context.loggedIn",
104-
"icon": "$(sync)"
105-
},
106-
{
107-
"command": "databricks.sync.stop",
108-
"title": "Stop synchronization",
109-
"category": "Databricks",
110-
"enablement": "databricks.context.activated && databricks.context.loggedIn",
111-
"icon": "$(stop-circle)"
112-
},
11392
{
11493
"command": "databricks.cluster.filterByAll",
11594
"title": "All",
@@ -190,14 +169,14 @@
190169
"command": "databricks.wsfs.refresh",
191170
"title": "Refresh workspace filesystem view",
192171
"icon": "$(refresh)",
193-
"enablement": "databricks.context.activated && databricks.context.loggedIn && config.databricks.sync.destinationType == workspace",
172+
"enablement": "databricks.context.activated && databricks.context.loggedIn && config.databricks.sync.destinationType == workspace && databricks.feature.views.workspace",
194173
"category": "Databricks"
195174
},
196175
{
197176
"command": "databricks.wsfs.createFolder",
198177
"title": "Create Folder",
199178
"icon": "$(new-folder)",
200-
"enablement": "databricks.context.activated && databricks.context.loggedIn",
179+
"enablement": "databricks.context.activated && databricks.context.loggedIn && databricks.feature.views.workspace",
201180
"category": "Databricks"
202181
},
203182
{
@@ -219,7 +198,7 @@
219198
{
220199
"command": "databricks.connection.bundle.selectTarget",
221200
"icon": "$(gear)",
222-
"title": "Select a Databricks Asset Bundle target.",
201+
"title": "Select a Databricks Asset Bundle target",
223202
"enablement": "databricks.context.activated",
224203
"category": "Databricks"
225204
},
@@ -260,7 +239,7 @@
260239
},
261240
{
262241
"command": "databricks.run.dbconnect.debug",
263-
"title": "Databricks Connect: Debug current file",
242+
"title": "Debug current file with Databricks Connect",
264243
"enablement": "databricks.context.activated && databricks.context.loggedIn",
265244
"category": "Databricks",
266245
"icon": {
@@ -270,7 +249,7 @@
270249
},
271250
{
272251
"command": "databricks.run.dbconnect.run",
273-
"title": "Databricks Connect: Run current file",
252+
"title": "Run current file with Databricks Connect",
274253
"enablement": "databricks.context.activated && databricks.context.loggedIn",
275254
"category": "Databricks",
276255
"icon": {
@@ -320,7 +299,7 @@
320299
},
321300
{
322301
"command": "databricks.bundle.variable.reset",
323-
"title": "Reset to default values",
302+
"title": "Reset bundle variables to default values",
324303
"enablement": "databricks.context.activated && databricks.context.bundle.isTargetSet && databricks.context.bundle.deploymentState == idle",
325304
"category": "Databricks",
326305
"icon": "$(discard)"
@@ -594,6 +573,18 @@
594573
{
595574
"command": "databricks.call",
596575
"when": "false"
576+
},
577+
{
578+
"command": "databricks.bundle.deployAndRun",
579+
"when": "false"
580+
},
581+
{
582+
"command": "databricks.bundle.cancelRun",
583+
"when": "false"
584+
},
585+
{
586+
"command": "databricks.utils.copy",
587+
"when": "false"
597588
}
598589
],
599590
"explorer/context": [

0 commit comments

Comments
 (0)