Skip to content

Commit d188458

Browse files
TheZokersdirix
authored andcommitted
Remove scaffolding from vscode context menu
1 parent 51a020a commit d188458

File tree

2 files changed

+6
-10
lines changed

2 files changed

+6
-10
lines changed

vscode-extension/README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ The VS extension brings you all the functions of the tooling to your Visual Stud
1010
* Preview the current schema files
1111

1212
## Scaffold a sample project
13-
1. Right click on the folder, where you want to install the sample project.
14-
2. Select the `JSONForms: Scaffold Seed Project` in the context menu. **NOTE**: It can take up to 1 minute, until vscode shows you the next popup
15-
3. Set a custom name for your project. You can also leave the field blank, then the project name will be `jsonforms-react-seed`
16-
4. Select if you want to use a default schema or a custom schema.
13+
1. Open the VSCode command palette via `Ctrl+Shift+P`
14+
2. Search for `JSONForms: Scaffold Seed Project` and select it. **NOTE**: It can take up to 1 minute, until vscode shows you the next popup
15+
3. Select a folder, where you want the seed project to be created in
16+
4. Set a custom name for your project. You can also leave the field blank, then the project name will be `jsonforms-react-seed`
17+
5. Select if you want to use a default schema or a custom schema.
1718
5a. If you've selected the custom schema option, you now need to select the schema file on your PC.
1819
5b. You can then right click on any empty folder and install the [seed](https://github.com/eclipsesource/jsonforms-react-seed) project inside it. This will clone the code from the repositories and run `npm install`
1920
6. (Optional) You can also generate an UI Schema out of any valid JSON schema file by rightclicking on the schema file

vscode-extension/package.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
},
2222
"icon": "images/icon.png",
2323
"engines": {
24-
"vscode": "^1.34.0"
24+
"vscode": "^1.37.1"
2525
},
2626
"activationEvents": [
2727
"onCommand:extension.scaffoldSeedProject",
@@ -46,11 +46,6 @@
4646
],
4747
"menus": {
4848
"explorer/context": [
49-
{
50-
"when": "explorerResourceIsFolder",
51-
"command": "extension.scaffoldSeedProject",
52-
"group": "jsonforms"
53-
},
5449
{
5550
"when": "resourceExtname == .json",
5651
"command": "extension.generateUISchema",

0 commit comments

Comments
 (0)