I'm currently writing on some coding and style guidelines regarding JavaScript and CSS parts of projects. Eclipse offers some basic functionality in this area for situations where code is generated but is there also something en-par with CheckStyle for at least marking guideline-violations as warnings/errors?
Or how do you handle coding guidelines with JS and CSS?
I use JSLint for my JavaScript coding guidelines, and it looks as if there's a JSLint plugin for Eclipse here
try this check style module for JavaScript: https://github.com/davepacheco/jsstyle
In Eclipse you get JS Hint for the JavaScript check-style , you can install in your eclipse .
Related
I don't want to provide a source code because the same code works perfectly on a different PC or on a different eclipse version. The project is a Java EE project with servlets and JSP-s, and I want to use some js functions in a JSP file. How can I set my eclipse to understand and execute jQuery and JavaScript functions? BTW I have installed JSDT jQuery on my eclipse but still doesn't work. Thank you.
Have you searched for a plug-in?
http://marketplace.eclipse.org/content/jsdt-jquery was the last I've seen. See if you can find the version of JQuery you're using on that site.
Disclaimer, I'm the author of tern.java
I suggest you that you install tern.java which extends JSDT Editor and provides a jQuery support
and too jQuery completion for CSS selectors
I need to find a Javascript IDE or editor that can display code hints for external files such as Three.js. Any help would be appreciated.
Disclaimer, I'm the author of the tern.java.
If you use Eclipse, I suggest you that you install tern.java 0.10.0 (not released) which provides a tern support for three.js with completion for three.js :
If you are using other JavaScript Editors like Emacs, Vim, Sublime, you can use the tern plugin tern-threejs
I would recommend WebStorm
Get the Personal Licence if it's just for yourself for personal use, you can try for 30 days.
I'm used to Intellij to develop javascript but today (or in a short while), I'll need to develop it in Eclipse. A quick google search gave me JSEclipse and JSEditor.
I'm writing JS in JSPs, not necessarily in .js files (even if I might, too).
Among important criterias :
ctrl + click navigation between function declaration/calls
variable hightlighting
Synthax correction
Usual stuff I find in java development and that would be useful in javascript.
Hope this question isn't to general/subjective.
So what should I use ?
Thanks in advance
Try using Aptana Studio plugin for Eclipse. It contains all you need to work with Web Technology.
[http://marketplace.eclipse.org/content/aptana-3#.U_2OuWOVLIU][1]
This will be helpfull. I got solution by this
I am developing a RIA application with JavaScript in Eclipse. How can I enable JavaScript syntax check in eclipse?
Both the Web Tools Platform (WTP) and Aptana offer a quite good JavaScript editor with syntax checking. I use the later myself.
Have you looked at JSEclipse or JavaScript Editor PlugIn for Eclipse?
If you are developing using ExtJS you can get even intellisense along with syntax check using spket.
Which plugins do you use for editing (with syntax highlighting) HTML & Javascript in Eclipse 3.5?
Spket is a great plugin for JavaScript. For HTML, I normally just use the default XML/HTML editor that comes with Eclipse WTP which is good enough for my purposes. Depending on which Eclipse distro you downloaded, you may already have this
I've heard Aptana is great, but I have not used it personally.
Eclipse WTP