Is there any way to manually create fold points in code in Eclipse? I know how to enable folding and how to set the auto preferences, but i like being able to set my own fold points so I can ignore certain parts of my code. Think regions in VS.
I know there is in VS and NetBeans, but I cannot find a way to set manual fold points in Eclipse.
I don't think Eclipse has built in manual folding, but I did use a previous version of the following plugin for it.
Per the comment: The plugin has been recompiled for Eclipse 3.5 and is available at the Apache Isis site. A direct download link is also available. It also appears to work for Eclipse 3.6.
The coffee bytes folding plug-in for eclipse is still alive. But the pages have moved.
An Overview and how to get it can be found here.
I've installed it in eclipse using the update page.
In Eclipse go to Help -> Install new Software
Enter: eclipse.realjenius.com/update-site
Select the plugin and follow on-screen instruction.
I'm still pretty new to eclipse development and had to install mylyn before installing the code folding plugin.
I'm new to Eclipse, but since the IDE lets you fold preprocessor directives, you can just do "#if 1 .... #endif" to effectively set up manual folding.
No, eclipse does not have any option to provide manual folding plugins.
Related
I have been using Natural plugin in Eclipse to edit my Gherkin feature files. It was working perfectly fine, but all of suddenly ctrl+click is not working, it is supposed to take to the step definition method. I'm using Eclipse Oxygen version.
Better to move away from Natural plugin. It doesn't work perfectly in recent days.
You can un-install Natural plugin and install "Cucumber Eclipse" plugin. You can search for "Cucumber" in eclipse market place, and it would appear in the top of the list.
In Eclipse, in "Help" >> "Install New Software...", use httpS:
https://rlogiacco.github.io/Natural
Keywords: Eclipse cucumber plugin, Gherkin, natural.
They changed url from http://rlogiacco.github.com/Natural
to http://rlogiacco.github.io/Natural
Try io one and it will work :)
I am using Eclipse Java EE with Vrapper for working on a Java/Scala project. Is it possible to get both syntax highlighting and vrapper (or any kind of vim editing) in regular eclipse?
You can install any plugin on any Eclipse version you want - the only requirement is that the requirement information a plugin holds are true. Each Eclipse version is just a set of plugins bundled together.
In your case, just download one of the prepackaged Eclipse versions, then install the Scala IDE (note, that at the moment only M3 works on Luna) and finally install Vrapper.
There is also eclim (http://eclim.org), a Vim/Eclipse plugin that lets you run Vim inside or alongside Eclipse and access some of the Eclipse features. But not all the Eclipse features are available from Vim, notably the debugger integration.
Are there something that I messed up, when installing Nodeclipse 0.4 so I can not do code completion since my code is worked.
EDIT:
as you can see at picture,
- the red one is Node mode in Eclipse Kepler which enable after Nodeclipse installed
- the blue one is Java EE IDE in Eclipse which I use as to installed Nodeclipse
- the yellow one is Node code in Eclipse which default exist if I chose the example
- the green is Node code class representative.
if I press CTRL+Space in console., there is not any code completion showed up which should showed up cause I already have JsHint v. 0.9.6
if I follow instructions of installation.. then..
I got this list.. (note: the disables means I already installed it.)
then.. I got this message..
ANOTHER ADDITIONAL EDIT:
as the comment of Nodeclipse developer,
if I reproduced but to installed JSHint alone then it goes with this message..
Thanks,
Ahmad
There is work in progress on content assist for Node.js modules
Content assist for Eclipse JSDT based Editor
fork with work in progress:
https://github.com/Enide/nodeclipse-1/compare/Nodeclipse:master...master
(source: nodeclipse.org)
Code completion is depending on what code you have. Could you please share your snippet?
Version 0.4 has Eclipse JSDT standard functions. Node.js specific libraries support is not yet implemented.
Opened issue for new feature is #50 support for node.js style module definitions
console is defined inside node.js, and as such is not yet supported.
For second part of the question (about installation using Enide .p2f file):
if I follow instructions of installation.. then..
some update sites like StartExplore are not stable and often unavailable
So if there is problem installiing, The recommendation would be to install less plugins in one time (only 1 at a time, for example)
(Then there is way to know what exact plugin update site is unavailable at this time)
For nodeclipse itself latest Eclipse (Like 4.2.2 IDE for Java EE Developers) is recommended & enough.
Bootstrapping Eclipse on new machines is such a time consuming process, you wind up asking yourself whether you really need each plugin. But there all handy, and help develop consistent habits.
Eclipse bootstrapping problems include:
Explaining / documenting what needs to happen
The actual time pasting in the right URLs and downloading
Version compatibility and dependencies
Eclipse likes to restart after each one
The changeover to the Eclipse Marketplace means that some plugins and instructions you find on the web tend to be inconsistent, depending on when they were written.
The Licenses... over and over and over... yes, yes, yes... I understand that the person installing needs to be aware of it, and have a chance to review them, but there's got to be a better way.
It'd be nice to have "patch file" (either binary or meta) that spells out what I want to add on top of stock Eclipse installation. I'd really like to find (or create) a 1 or 2 step process that sets up Eclipse, plus a favorite batch of plugins:
subclipse
m2eclipse
jetty support like runjettyrun
android sdk and plugin (or at least just the plugin)
aspectj
Web Objects / WOLiops
python, other langs
JVM Monitor, maybe EclEmma
probably a git plugin pretty soon.
Does command line maven help with any of this? It seems like its repository management would fit at least part of the functionality.
On a machine with an Eclipse installation matching your needs use File -> Export -> Install -> Installed software items to file. Import the generated file using the same menu on all other machines.
As Scott says, a good approach is to simply package a fully prepared Eclipse installation once all the plugins you need are installed. The downside is that you have to update most plugins afterwards.
Another option is to use Yoxos. With it, you can create a profile and configure it with all the plugins you need (and apparently Yoxos can do more than that).
Finally, this page might interest you concerning the configuration side of things.
Solution 1 is too search for more advanced Eclipse distributions.
For example, STS (Spring Tool Suite) comes with
AspectJ
EGit
m2e
(and of course) Spring IDE
One small trick can be done with m2e-android - Android Configurator for M2E Maven Integration. If installing it on clean Eclipse, it will also automatically resolve to install :
m2e
Android Developer Tools (ADT)
Is it possible to disable or remove the built-in Java compiler from an Eclipse installation?
I would like to use the XML editing and validation features of Eclipse in an environment that forbids installation of compilers. Can the compiler be disabled/removed without breaking the XML editing and validation functions? How?
Comments in this related question suggest that it can't be done, but I don't need the Java development features of Eclipse (and don't expect them to work without the compiler).
Yes, it is certainly possible to create an Eclipse install without the Java compiler (or JDT to be specific). The real question is whether the XML tools have an indirect dependency on JDT that will pull that back in.
Here is what I would try...
Download Eclipse Platform zip. You can get it from this URL:
http://download.eclipse.org/eclipse/downloads/
Look under the Latest Releases heading. You will want to download something stable. The latest release now is 3.6.1...
http://download.eclipse.org/eclipse/downloads/drops/R-3.6.1-201009090800/index.php
Now find a heading called "Platform Runtime Binary" and download the zip that's right for your platform. Verify that file name is "eclipse-platform-[version]-[platform].zip". If it isn't you've downloaded the wrong thing.
Unzip it as you usually would an Eclipse distro. You now have a runnable Eclipse install, minus any and all interesting IDE functionality. In particular, there is no JDT.
Now it's time to install XML tools. Go to Help->Install New Software->Add and use this URL for the repository: http://download.eclipse.org/releases/helios/
Uncheck "contact all update sites during install to find required software".
Type in XML into the filter field. The feature you want is called "Eclipse XML Editors and Tools". Select it and hit finish.
Assuming it installs correctly, you will want to confirm that it didn't silently pull in JDT. Look at your Eclipse install in the plugins directory. See if you have org.eclipse.jdt.core plugin present. That's where the Java compiler lives.
Good luck and if you run into problems, a good place to ask follow-up questions is on the following forum. There a few people hanging out there that are pretty dedicated to the notion of some day creating an "XML IDE" eclipse distribution, so they should be glad to help you out.
http://www.eclipse.org/forums/index.php?t=thread&frm_id=88&
I would ideally suggest you to move away from eclipse, coz there are a ton of tools (Quanta Plus IDE, Bluefish etc) that provide you with great XML editing and validation feature.
However, this forum might help you -> http://www.eclipsezone.com/eclipse/forums/t40126.html.
You can un-tick Project > Build Automatically for automatic builds not to happen and even remove the buttons with the Run and Debug functionality in order not to press them accidentally.