Skip to content

Commit

Permalink
Cleanup commands (#1204)
Browse files Browse the repository at this point in the history
Cleanup commands

Co-authored-by: Kartik Gupta <[email protected]>
  • Loading branch information
ilia-db and kartikgupta-db authored Apr 26, 2024
1 parent d3fb173 commit ac79ea0
Showing 1 changed file with 18 additions and 27 deletions.
45 changes: 18 additions & 27 deletions packages/databricks-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,27 +89,6 @@
"enablement": "databricks.context.activated && databricks.context.loggedIn",
"icon": "$(debug-disconnect)"
},
{
"command": "databricks.sync.start",
"title": "Start synchronization",
"category": "Databricks",
"enablement": "databricks.context.activated && databricks.context.loggedIn",
"icon": "$(debug-start)"
},
{
"command": "databricks.sync.startFull",
"title": "Start synchronization (full sync)",
"category": "Databricks",
"enablement": "databricks.context.activated && databricks.context.loggedIn",
"icon": "$(sync)"
},
{
"command": "databricks.sync.stop",
"title": "Stop synchronization",
"category": "Databricks",
"enablement": "databricks.context.activated && databricks.context.loggedIn",
"icon": "$(stop-circle)"
},
{
"command": "databricks.cluster.filterByAll",
"title": "All",
Expand Down Expand Up @@ -190,14 +169,14 @@
"command": "databricks.wsfs.refresh",
"title": "Refresh workspace filesystem view",
"icon": "$(refresh)",
"enablement": "databricks.context.activated && databricks.context.loggedIn && config.databricks.sync.destinationType == workspace",
"enablement": "databricks.context.activated && databricks.context.loggedIn && config.databricks.sync.destinationType == workspace && databricks.feature.views.workspace",
"category": "Databricks"
},
{
"command": "databricks.wsfs.createFolder",
"title": "Create Folder",
"icon": "$(new-folder)",
"enablement": "databricks.context.activated && databricks.context.loggedIn",
"enablement": "databricks.context.activated && databricks.context.loggedIn && databricks.feature.views.workspace",
"category": "Databricks"
},
{
Expand All @@ -219,7 +198,7 @@
{
"command": "databricks.connection.bundle.selectTarget",
"icon": "$(gear)",
"title": "Select a Databricks Asset Bundle target.",
"title": "Select a Databricks Asset Bundle target",
"enablement": "databricks.context.activated",
"category": "Databricks"
},
Expand Down Expand Up @@ -260,7 +239,7 @@
},
{
"command": "databricks.run.dbconnect.debug",
"title": "Databricks Connect: Debug current file",
"title": "Debug current file with Databricks Connect",
"enablement": "databricks.context.activated && databricks.context.loggedIn",
"category": "Databricks",
"icon": {
Expand All @@ -270,7 +249,7 @@
},
{
"command": "databricks.run.dbconnect.run",
"title": "Databricks Connect: Run current file",
"title": "Run current file with Databricks Connect",
"enablement": "databricks.context.activated && databricks.context.loggedIn",
"category": "Databricks",
"icon": {
Expand Down Expand Up @@ -320,7 +299,7 @@
},
{
"command": "databricks.bundle.variable.reset",
"title": "Reset to default values",
"title": "Reset bundle variables to default values",
"enablement": "databricks.context.activated && databricks.context.bundle.isTargetSet && databricks.context.bundle.deploymentState == idle",
"category": "Databricks",
"icon": "$(discard)"
Expand Down Expand Up @@ -594,6 +573,18 @@
{
"command": "databricks.call",
"when": "false"
},
{
"command": "databricks.bundle.deployAndRun",
"when": "false"
},
{
"command": "databricks.bundle.cancelRun",
"when": "false"
},
{
"command": "databricks.utils.copy",
"when": "false"
}
],
"explorer/context": [
Expand Down

0 comments on commit ac79ea0

Please sign in to comment.