angelozerr / tern.java

Use tern.js in Java context
http://ternjs.net/
Other
249 stars 52 forks source link

[jshint][ui] improve jshint ui #346

Open jabby opened 9 years ago

jabby commented 9 years ago

In the properties for jshint, there is a vertical scrollbar even the table for option isn't displayed.

2015-10-05_220141

An improvement should be te calculate dynamically the height of the part for jshint option.

paulvi commented 9 years ago

I would expect here similar to jshint-eclipse to show .jshintrc file

image

angelozerr commented 9 years ago

@jabby please retry last version of tern.java. I hope I have fixed this problem (not sure)

@paulvi I think it's better to have a JSON Editor for that to benefit with completion, validation, synatx coloration. It's the goal of WTP JSON Editor https://github.com/angelozerr/eclipse-wtp-json/wiki/SyntaxColoring#json-comment

paulvi commented 9 years ago

@angelozerr I agree, editor should be in Editor

jabby commented 9 years ago

@angelozerr it's better, thank you. Should we keep this issue open for a general improvement of this view ?

Maybe, you can add a button for the file edition and open the associate editor. If there is eclipse-wtp-json, it will be open the jshint editor. Otherwise, it will open the default editor.

angelozerr commented 9 years ago

Eclipse WTP JSON will soon in WTP incubator. I would like to wait that there is a release to have dependency to the JSON Editor. After that my idea is to provide an editor for .tern-project which will use JSON Editor and completion, validation for tern modules.

My other idea is to have the same editor than MANIFEST.MF to configur etern.java with those kind of editor like having a Validation tab, Modules tab, etc like project properties..