liclipseprefs

11 views
Skip to first unread message

otterslide

unread,
Apr 6, 2017, 12:53:42 PM4/6/17
to LiClipse
I created "\.settings\.javascript.liclipseprefs" but it's not being used. I refreshed and close/opened project.

I am trying to set the language to ES6.
It would be really nice to be able to put the prefs globally in the LiClipse menu directly in Eclipse.

Any help is appreciated. 

Fabio Zadrozny

unread,
Apr 7, 2017, 7:29:13 AM4/7/17
to otterslide, LiClipse
Can you give details on what exactly is not working which you expected to work by using the .javascript.liclipseprefs? 

Also, can you provide your .javascript.liclipseprefs contents?

Thanks,

Fabio

--
You received this message because you are subscribed to the Google Groups "LiClipse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liclipse+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

otterslide

unread,
Apr 7, 2017, 11:05:14 AM4/7/17
to LiClipse, otter...@gmail.com
It seems it doesn't work at all to control JsHint. I haven't tried anything else.
I tried even just this as file contents:

enable_jshint: false

but still, it gives Javascript errors. I was trying to add esversion:6 because I'm getting ES6 syntax errors:

# Json contents to be passed to JSHint (it's passed directly as specified
# and may be configured based on http://www.jshint.com/docs/options/)
jshint_opts
: |-
   
{
       
"browser": true,
       
"undef": true,
       
"unused": true,
       
"esversion": "6"
   
}


Tried esversion with double quotes and without for the 6.

I am putting the file in the project root, or .settings, or both, but still nothing. Closed/opened, restarted the entire IDE too. What is the procedure to refresh reading the file, do I need to restart?

Does the project have to be a certain type of project or have a facet? 


On Friday, April 7, 2017 at 7:29:13 AM UTC-4, Fabio Zadrozny wrote:
Can you give details on what exactly is not working which you expected to work by using the .javascript.liclipseprefs? 

Also, can you provide your .javascript.liclipseprefs contents?

Thanks,

Fabio
On Thu, Apr 6, 2017 at 1:53 PM, otterslide <otter...@gmail.com> wrote:
I created "\.settings\.javascript.liclipseprefs" but it's not being used. I refreshed and close/opened project.

I am trying to set the language to ES6.
It would be really nice to be able to put the prefs globally in the LiClipse menu directly in Eclipse.

Any help is appreciated. 

--
You received this message because you are subscribed to the Google Groups "LiClipse" group.
To unsubscribe from this group and stop receiving emails from it, send an email to liclipse+u...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages