Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 462114

Summary: [bower] Need to add an editor for bower.json file
Product: [WebTools] JSDT Reporter: Victor Rubezhny <vrubezhny>
Component: GeneralAssignee: Project Inbox <jsdt.javascript-inbox>
Status: RESOLVED DUPLICATE QA Contact: Victor Rubezhny <vrubezhny>
Severity: enhancement    
Priority: P3 CC: azerr, psuzzi, thatnitind
Version: 3.7   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Victor Rubezhny CLA 2015-03-13 19:37:49 EDT
The Bower IDE's (See: Bug #459732 -Bower IDE contribution) needs an editor for bower.json files

There should be at least text-based editor with content assist support for bower.json file. Form editor is good solution but it's good when it's used in cooperation with the text one. See MANIFEST.MF/plugin.xml or pom.xml editors as an example. This looks like a feature request for the near future.
Comment 1 Angelo ZERR CLA 2015-03-19 09:02:46 EDT
Victor I  have the intention to contribute to WTP with JSON Editor https://github.com/angelozerr/eclipse-wtp-json

It is based on SSE and works like other WTP Editor (XML, CSS) with a IJSONModel. It starts working (syntax coloring, folder, outline, hover). You can see screenshot about those features at https://github.com/angelozerr/eclipse-wtp-json/wiki

I'm working on JSON Schema support for completion (see issue https://github.com/angelozerr/eclipse-wtp-json/issues/4) and bower.json should work for completion of JSON key name  JSON by using http://json.schemastore.org/bower (see http://schemastore.org/)

For JSON value completion, JSON Editor will provide https://github.com/angelozerr/eclipse-wtp-json/blob/master/core/org.eclipse.wst.json.ui/src/org/eclipse/wst/json/ui/contentassist/DefaultJSONCompletionProposalComputer.java like XML Editor (I'm implemnting it).

I have the intention to contribut eto WTP soon. Hope you will like it.
Comment 2 Victor Rubezhny CLA 2016-01-21 16:40:25 EST
As JSON Editor contribution includes Bower editor and it's moved into SSE, closing it as duplicate of Bug #471820

*** This bug has been marked as a duplicate of bug 471820 ***