I added Angular-eclipse plugin in my eclipse. now when i am trying to edit any of my javascript file my eclipse hangs.
for example whenever i put "." and wait for js suggestion my eclipse hangs with not responding.
could any one assist on this.
I once had an issue in Eclipse, but with another JS framework which is Sencha EXTJS. Some people say Eclipse does not get along very well with JS, at that point when I was learning JS, I'd have liked to use IntelliJ but, you know, we want to save our bucks for the future :). In addition, I remember I installed the Sencha EXTJS plugin but same issue, my Eclipse hanged and I had to try to make my changes in a notepad, neh, just kidding, but yes, I faced a similar problem like you.
By that time I used to edit my JS using SublimeText, VIM or Aptana (you could also try them).
But, since you seem to like Eclipse (as much as I can, I love that IDE)... you can make something similar to what I did some time ago, follow the steps of the following guide:
http://flexblog.faratasystems.com/2013/04/24/configuring-eclipse-with-apache-tomcat-and-ext-js
Does not matter what your server is (neither your framework), I think this configuration steps can be the "basics" for what you need.
Hope it could help you or at least give you some clue on how to have the environment in which you can feel comfortable to make some code :).
Regards and happy coding :)
This may help
In your eclipse,
1) Go to Help
2) Click Eclipse marketplace
3) search - optimizer
install "optimizer for eclipse"
Related
I have just started using 'Eclipse Kepler' IDE for PHP programming and I'm now looking to use the same IDE for JavaScript, but I'm not sure which plugin to install?
I'm new to JavaScript so I'm not sure what is good to have; when I look at the Aptana and the JSDT plugin descriptions separately I'm not sure what the difference is and what I should be looking for. Can someone please help me. I have spent a few hours searching for a comparison but I find nothing on this topic; it feels like they are not even competitors (?).
I know I want auto-completion and debugging for HTML, CSS JavaScript and PHP (I think my php auto-completion and debugging is already good enough since I have PDT and Xdebug), but I'm not sure what else will make me more productive. If you have some other plugin for 'Eclipse Kepler' which I should be using for web application programming with JavaScript together with PHP please advice me.
Ps. I downloaded Aptana 3 as a seperate IDE but I have decided to go for Eclipse Kepler since it seemed to give me more functions and more freedom to expand my IDE (this might not be true but I especially missed the 'ctrl + hover + click' function in eclipse that takes me to object's and method's files which Aptana doesn't seem to have).
Best Regards
Kriss
I just recommend to use Aptana plugin as a tool for Web resources.
As I know , Aptana is based on JSDT but has developed much more things than JSDT .
You could just add Aptana plugin with your Kepler IDE like belows.
Please copy the following Update Site URL to your clipboard and then follow the steps listed below to add this URL to your Available Software Sites list. Attempting to access this URL using your web browser will return an Access Denied error.
http://download.aptana.com/studio3/plugin/install
For your reference , JSDT project seems not to be very active for now.
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've just setup Eclipse with Aptana Studio 3 and have been trying to get code completion / code hinting / autocomplete to work with mixed results.
I've followed the instructions here: http://wiki.appcelerator.org/display/tis/JavaScript+Library+Support
What I have discovered through testing is that when you install the .sdocml file and nothing else in a new project, it works fine.
As soon as I add a local copy of Dojo into the project the code hinting no longer works correctly.
I tried excluding the directory from view with a filter but that excludes it from the server so you can't use it. I've also tried removing the Dojo folder from Indexing but that changes nothing either.
If I load Dojo from a CDN, like Google, then I can use code completion.
The issue is that Eclipse picks up a parsed reference to dojo instead of the one from the sdocml file.
The problem seems, so far, to be confined to typing 'dojo.' but 'dijit.' and 'dojox.' work okay, maybe because of the parent-child relationship between those sub-libraries, if I were to guess.
I don't know if this is an Aptana bug or an Eclipse bug, but either way, it's a problem.
Does anyone know how to prioritize the code hinting sources and / or exclude certain directories from being a hinting source? Or is there another solution?
Thanks in advance,
Ken
Edit: Now that I have more code in the test project hinting does not work at all for 'dojo.' but still works fine for 'dojox.' and 'dijit.'. Only native JS methods hinting is available as a subset of 'dojo.'
I have an idea for a project that has to do with helping people learn to program. One of the things I think would be cool would be to have a place on the site where you can edit JavaScript code in real time in your browser.
I know there are a number of web-based JavaScript editors, but I haven't been able to find out if there are any tools that let you debug JavaScript from your browser. I think being able to step through your code is a valuable learning experience for people who are new to programming. It seems like something along those lines should be possible, though.
I originally thought you could use something like Firebug Lite: http://getfirebug.com/firebuglite, but they don't support debugging. Is this just too hard of a problem to solve in JavaScript?
I suggest you try Cloud9. It is a full-featured web based IDE for Javascript, which includes a great debugger. It is free for open source projects, which I imagine would include most learning purposes.
Why not just use the build in Javascript console from the browser? Every modern browser has this feature.
I currently use Eclipse as my IDE for other languages and I'm rather used to not having to leave the IDE for anything - however I'm really struggling to find the same or a similar setup for pure ECMAScript-262.
To clarify, I am not looking for DOM support, jquery, HTML or anything like that, preferably just an IDE with ECMAScript-262 support (pref node.js) built in (debugging not important) so that I can simply run my code in the IDE.
Any ideas?
ps: please don't suggest aptana.
jEdit is about what you want. Take a look at the plugins available.
So far, it seems there has only been talk about integrating node.js debugging with Google Chrome. But that may be exactly your answer if it happens.
If you don't mind to pay a price, I advice Jetbrains WebStorm.
Recently purchased a license myself (it's not that expensive) and am very happy with it.
Before I used Eclipse and Aptana, but seriously, WebStorm IS quality.
Not sure if I am currently breaking a rule by linking to a commercial product, but it IS an awnser ;)
There is Nodeclipse effort.
Vision
One-stop shop for Node.js tools. We can't develop everything at once,
but we let you know what are the best things around for Node.js
development with Eclipse.
Latest version is 0.4, works well in Eclipse 4.3 Kepler.
It has integrated ChromeDevTools and V8 remote debugger for debugging Node.js application,
that is quite useful when learning Node.js to understand what is happening in memory.
Also comes with markdown (.md) Editor (The same markup language that is used on GitHub, Stackoverflow.com & npm)
It is free open-source hosted on GitHub