Skip to content

Commit

Permalink
Add feature to support N1QL Files (#397)
Browse files Browse the repository at this point in the history
  • Loading branch information
lokesh-couchbase authored Jun 12, 2024
1 parent c2b0f44 commit 36975d8
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-couchbase",
"displayName": "Couchbase",
"description": "",
"version": "2.0.3",
"version": "2.0.4",
"engines": {
"vscode": "^1.63.1"
},
Expand Down Expand Up @@ -694,44 +694,44 @@
"command": "vscode-couchbase.runQuery",
"key": "ctrl+shift+e",
"mac": "cmd+shift+e",
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/) && !isKVCluster"
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/ || editorLangId == n1ql || resourceFilename =~ /.n1ql$/) && !isKVCluster"
}
],
"menus": {
"editor/title": [
{
"command": "vscode-couchbase.runQuery",
"category": "Couchbase",
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/) && !isKVCluster",
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/ || editorLangId == n1ql || resourceFilename =~ /.n1ql$/) && !isKVCluster",
"group": "navigation@1"
},
{
"title": "Query Context",
"command": "vscode-couchbase.queryContext",
"category": "Couchbase",
"group": "navigation@2",
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/) && !isKVCluster"
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/ || editorLangId == n1ql || resourceFilename =~ /.n1ql$/) && !isKVCluster"
},
{
"title": "Show Favorite Queries",
"command": "vscode-couchbase.showFavoriteQueries",
"category": "Couchbase",
"group": "navigation@3",
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/) && !isKVCluster"
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/ || editorLangId == n1ql || resourceFilename =~ /.n1ql$/) && !isKVCluster"
},
{
"title": "Mark Favorite Query",
"command": "vscode-couchbase.markFavoriteQuery",
"category": "Couchbase",
"group": "navigation@4",
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/) && !isKVCluster"
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/ || editorLangId == n1ql || resourceFilename =~ /.n1ql$/) && !isKVCluster"
},
{
"title": "Show Named Parameters",
"command": "vscode-couchbase.showNamedParameters",
"category": "Couchbase",
"group": "navigation@3",
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/) && !isKVCluster"
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/ || editorLangId == n1ql || resourceFilename =~ /.n1ql$/) && !isKVCluster"
},
{
"title": "Refresh Cluster Overview",
Expand All @@ -758,7 +758,7 @@
"editor/context": [
{
"command": "vscode-couchbase.runQuery",
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/) && !isKVCluster",
"when": "(editorLangId == sqlpp || resourceFilename =~ /.sqlpp$/ || editorLangId == n1ql || resourceFilename =~ /.n1ql$/) && !isKVCluster",
"group": "navigation@1"
}
],
Expand Down

0 comments on commit 36975d8

Please sign in to comment.