Natural plugin in Eclipse is not providing ctrl+click option - eclipse

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 :)

Related

Eclipse Add Perspective to Runtime

I'm creating a content analysis plugin for Eclipse and I'm testing it in Eclipse by running Eclipse Application.
This worked well (since my plugin only had to work with a plain text editor), but now my company has stepped over to using oXygen as XML plugin in Eclipse for our technical writers. To test whether my plugin also works with oXygen in use, I need to have the oXygen XML Author plugin working in the Runtime.
I have oXygen working in my main Eclipse, but that is not what I want: I need it in my Runtime Environment.
So my question is: how can I add this oXygen plugin to the Eclipse Runtime Environment?
Go to your debug/run configuration -> Select the configuration in question.
Go to plug ins tab. Check if the Oxygen plugin is in the list. If not then add it explicitly and launch the runtime again.
Hope it helps.
cheers,
Saurav

Is there a way to get Vrapper and Scala syntax highlighting?

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.

AbstractUIPlugin error and Missing tabs in plugin.xml from eclipse

I checked in eclipse/java plugin project from svn repository.
Eclipse automatically builds the code to show hundreds of errors.
It seems like that eclipse doesn't properly link to the plugin libraries. Googling to find this site that I need dependencies and other tabs in plugin.xml.
What might be wrong? I use Indogo(3.7) on Mac OS X 10.7.4
I used Indigo (3.7) for my Mac, but it happened so that the plugin was built on Helios (3.6). When I run the plugin using Helios, I got the project compiled without errors.
It seems like that some of the plugins are (heavily) version dependent.
Looks like you got the base XML editor instead of the plugin.xml editor.
This is probably caused by your not having the eclipse plugin development environment (PDE) enabled in a new workspace.
Try creating a new plugin project (this will enable the necessary plugin tools), or go to the preferences and enable the "correct" capability. Since the capabilities seem to change from release to release, I always use the first method and then delete the new project.

Play framework 2.0, Eclipse Helios, Scala IDE 2.0 plugin - Getting build errors out of the box

I'm trying out 'Play Framework 2.0' on Scala IDE plugin 2.0, for Eclipse Helios (fully supported by Scala IDE plugin).
When I create a play application and choose Scala template, it does work. That is,"play run".
When running 'play eclipsify' and then importing the project into Eclipse, I am getting errors. Any ideas?
The screenshot reveals that you're in the Java Perspective. Go to Window - Open Perspective - Other... and pick Scala.
When you create a new Scala project, eclipse asks you to switch perspective. If you import an existing project however, it doesn't. I filed an enhancement request.
On the Scala IDE website there is a tutorial on how to configure the Scala IDE to do development with play2.0:
http://scala-ide.org/docs/tutorials/play20scalaide20/index.html
Follow the steps there and if it doesn't work please report issues to the tutorial's author or in the scala-ide-user ML.
By the way, I don't believe that changing Perspective will make any difference. The Eclipse perspectives are purely UI changes, the underlying behavior should not be affected.
I was waiting, hoping someone more knowledgeable would answer...
I'd look at the .project file for your messed-up project, compare it with a correct one, and hack the messed-up one as appropriate. I wish I could be more specific. I'd guess that the problem is in the <buildSpec> or <natures> section of the file.
You may want to back up the .project file up first. Make sure the project isn't open in Eclipse while you're editing it.
Right click your project, Configure > Add Scala Nature
I installed Eclipse Java-EE edition instead of standard Java Edition, and all works now.
I haven't gone back to repeat with standard Java Edition to confirm, but seems to only work with EE edition.

Is there any way to manually fold code in Eclipse?

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.