go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Update on WTP's JavaScript Editor Issue
 
Subject: Update on WTP's JavaScript Editor Issue
Author: Alex_Raj
In response to: How to intsall JSHint
Posted on: 03/31/2021 10:56:19 PM

It seems that Eclipse wants WWD to replace JSDT (JavaScript Development Tools)

Check:
-- Bug 564496 - After upgrade to Eclipse 2020-06 (4.16) the javascript editor is gone
-- Javascript Editor function is gone after upgrade to Eclipse 2020-06

Eclipse versions and support of JSDT

Luna 4.4 (ok) --> Mars 4.5 (ok) --> Neon 4.6 (ko) --> Oxygen 4.7 (ko) --> Photon 4.8 (ko)

2018-09 (4.9)
2018-12 (4.10)
2019-03 (4.11)
2019-06 (4.12)
2019-09 (4.13)
2019-12 (4.14)
2020-03 (4.15) -- (ok)
2020-06 (4.16)
2020-09 (4.17)
2020-12 (4.18)
2021-03 (4.19) -- (ko)


 

> On 08/07/2019 09:39:36 PM Alex_Raj wrote:


Starting from:

https://marketplace.eclipse.org/content/jshint-eclipse


Go to:

https://github.com/eclipsesource/jshint-eclipse/releases


Copy the URL address:

http://github.eclipsesource.com/jshint-eclipse/updates/


Then go to Eclipse: Help > Install New Software ... > Add

Name: JSHint
Location: http://github.eclipsesource.com/jshint-eclipse/updates/

Restart Eclipse.

Go to your project folder and create a file named .jshintrc with the following content:

{
    "bitwise" : true,
    "camelcase" : false,
    "curly" : true,
    "eqeqeq" : true,
    "es3" : true,
    "forin" : true,
    "immed" : true,
    "latedef" : "nofunc",
    "newcap" : true,
    "noarg" : true,
    "noempty" : true,
    "nonew" : true,
    "plusplus" : false,
    "quotmark" : false,
    "undef" : true,
    "unused" : "vars",
    "strict" : false,
    "trailing" : true,
    "maxlen" : false,
    "laxbreak" : true,
    "globals" : {
        "window" : false,
        "document" : false,
        "jQuery" : false,
        "sap" : false,
        "cockpit" : false,
        "URI" : false,
        "getCurrentAccount" : false,
        "setTimeout" : false
    }
}


Finally, right-click on your project and go to Properties > JSHint . Specify which files and folders you want your JSHint to take effect on.




References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.