Skip to content

Commit 49c0d6a

Browse files
Merge branch 'dev' into KXI-58281
2 parents fd3daa3 + 9fd5772 commit 49c0d6a

28 files changed

+1114
-269
lines changed
5.22 KB
Loading

.README/helpandfeedback.png

16.4 KB
Loading

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,4 @@ coverage-reports/
1515

1616
out-test/
1717
.test-extensions/
18+
.test-folder/

.vscode/launch.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,19 @@
4242
"runtimeExecutable": "npm",
4343
"skipFiles": ["<node_internals>/**"],
4444
"type": "node"
45+
},
46+
{
47+
"name": "UI Test Selected File",
48+
"request": "launch",
49+
"runtimeArgs": [
50+
"run",
51+
"ui-test-cmd",
52+
"./out-test/test/ui/${fileBasenameNoExtension}.js"
53+
],
54+
"runtimeExecutable": "npm",
55+
"skipFiles": ["<node_internals>/**"],
56+
"type": "node",
57+
"presentation": { "hidden": true }
4558
}
4659
],
4760
"compounds": [

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ release_process.md
1919
.github/
2020
out-test/
2121
.test-extensions/
22+
.test-folder/

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ This guide provides information on the following:
2424
- [AxLibraries](#axlibraries)
2525
- [q REPL](#q-repl)
2626
- [Settings](#settings)
27+
- [Help and feedback](#help-and-feedback)
2728
- [Shortcuts](#shortcuts)
2829

2930
## Benefits of kdb VS Code Extension
@@ -848,6 +849,25 @@ The following setting will change double click behaviour to select the whole ide
848849
}
849850
```
850851

852+
## Help and feedback
853+
854+
A **Help and Feedback** view is displayed in the primary sidebar of the kdb VS Code extension. This includes links to:
855+
856+
- Extension documentation. This opens the kdb VS Code extension guide in a new tab in VS Code.
857+
- Suggest a feature. You are prompted with a pop-up confirmation before opening an external website.
858+
- Provide feedback. You are prompted with a pop-up confirmation before opening an external website.
859+
- Report a bug. Clicking this option opens GitHub directly.
860+
861+
![Help and Feedback](https://raw.githubusercontent.com/KxSystems/kx-vscode/main/.README/helpandfeedback.png)
862+
863+
### User feedback notification
864+
865+
You may also see a prompt inside VS Code inviting you to provide feedback. This system notification appears after a few uses of the extension and helps us improve your experience. You can dismiss it or opt out permanently if preferred.
866+
867+
If you choose to opt out permanently but wish to revert this, open VS Code settings, search for survey, and check the **Hide Survey** option, as shown below.
868+
869+
![Hide Survey](https://raw.githubusercontent.com/KxSystems/kx-vscode/main/.README/extension-survey-dialog.png)
870+
851871
## Shortcuts
852872

853873
### For Windows

package-lock.json

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,11 @@
505505
"category": "KX",
506506
"command": "kdb.help.reportBug",
507507
"title": "Report a Bug"
508+
},
509+
{
510+
"category": "KX",
511+
"command": "kdb.createNotebook",
512+
"title": "Create new KX Notebook"
508513
}
509514
],
510515
"keybindings": [
@@ -605,6 +610,19 @@
605610
"dark": "./resources/dark/plot.svg",
606611
"light": "./resources/light/plot.svg"
607612
}
613+
},
614+
{
615+
"id": "kxnotebook",
616+
"aliases": [
617+
"kxnotebook"
618+
],
619+
"extensions": [
620+
".kxnb"
621+
],
622+
"icon": {
623+
"dark": "./resources/dark/notebook.svg",
624+
"light": "./resources/light/notebook.svg"
625+
}
608626
}
609627
],
610628
"grammars": [
@@ -1023,6 +1041,17 @@
10231041
],
10241042
"priority": "default"
10251043
}
1044+
],
1045+
"notebooks": [
1046+
{
1047+
"type": "kx-notebook",
1048+
"displayName": "KX Notebook",
1049+
"selector": [
1050+
{
1051+
"filenamePattern": "*.kxnb"
1052+
}
1053+
]
1054+
}
10261055
]
10271056
},
10281057
"license": "MIT",
@@ -1042,7 +1071,10 @@
10421071
"format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"",
10431072
"publish": "npx vsce publish",
10441073
"lint": "eslint 'src/**' 'test/suite/**' --fix",
1045-
"ui-test": "rimraf out-test .test-extensions && tsc --outdir out-test -p ./test && extest setup-and-run './out-test/test/ui/**/*.test.js' --code_version max --code_settings ./test/ui/fixtures/settings.json --extensions_dir .test-extensions -m ./test/ui/fixtures/mocha.json"
1074+
"preui-test-cmd": "tsc --outdir out-test -p ./test",
1075+
"ui-test-cmd": "extest setup-and-run --code_version 1.99.3 --code_settings ./test/ui/fixtures/settings.json --extensions_dir ./.test-extensions --storage ./.test-folder -m ./test/ui/fixtures/mocha.json",
1076+
"preui-test": "rimraf out-test .test-extensions",
1077+
"ui-test": "npm run ui-test-cmd -- ./out-test/test/ui/**/*.test.js"
10461078
},
10471079
"prettier": {
10481080
"printWidth": 80,
@@ -1062,6 +1094,7 @@
10621094
"@types/semver": "^7.5.8",
10631095
"@types/sinon": "^17.0.4",
10641096
"@types/vscode": "^1.86.0",
1097+
"@types/vscode-notebook-renderer": "^1.72.3",
10651098
"@types/vscode-webview": "^1.57.5",
10661099
"@typescript-eslint/eslint-plugin": "^8.27.0",
10671100
"@typescript-eslint/parser": "^8.27.0",

resources/dark/notebook.svg

Lines changed: 6 additions & 0 deletions
Loading

resources/light/notebook.svg

Lines changed: 6 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)