Community
Participate
Working Groups
There are now wizards for bower init / npm init (creating bower.json / package.json) but no wizard for creating custom json file.
I'm not convinced by the value of having a wizard for plain JSON file. What should it do that the default New Wizard file doesn't? If there were support for some JSON Schema, we could generate a minimal file respecting the grammar, but at the moment, I fail at seeing how such a wizard can be useful.
I agree with Mickael, but I think WTP JSON should provide the same wizard than WTP XML : : - first page: choose container and file name. - second page: display 2 radios: - [1] Create JSON file from an JSON schema file - [2] Create JSON file from a JSON template - 3 page: - Select JSON Schema file (if [1] is selected) (with "Select file from Workspace" and "Select JSON Catalog entry" options) - Select JSON Template (if [2] is selected).
- I use to look into the New Wizards to see what Eclipse supports and I think it is good to highlight that Eclipse supports json. - Look into the New JavaScript File wizard, it is just the same as the New File wizard. And the content of the new file is just an empty comment (that I am pretty sure many people remove). In the case of the JSON new file, it can starts with an empty object "{ }". - With a JSON wizard you can create a JSON file with any extension and open it in the JSON editor, or just enter the name of the file and the `.json` extension is added automatically, like the JS wizard does.