Gherkin highlighting and behat integration with Netbeans 8.0 - syntax-highlighting

Is there anyone who has a decent working solution to integrate Netbeans 8.0 with behat, in terms of code highlighting and code-completion.
I saw that there exists the Cetriolo plugin which is unfortunately not available for Netbeans 8.0.
Has anyone found a workaround on this?

I would suggest this plugin for NetBeans that works also for version 8.x
http://plugins.netbeans.org/plugin/17939/cucumber-features

Some more details to #Ferie's answer:
I indeed could not install Cetriolo on Netbeans 8.2.
Instructions to install Cucumber Features manually (since automatic installation is not available):
Download the .nbm file by clicking on the "Download" button on http://plugins.netbeans.org/plugin/17939/cucumber-features
In Netbeans, go to Tools > Plugins > Downloaded > Add Plugins... and open the .nbm file.
Click Install
After restarting Netbeans, you should see syntax highlighting in .feature files.
Here's a feature request for Netbeans to include Behat support out-of-the-box:
https://netbeans.org/bugzilla/show_bug.cgi?id=226804

Related

Compiling a Gluon project to an APK

I just started using the (new) version of Gluon, had been using an older one by mistake and on the older version you just clicked "Run as.." then went to Gradle build options then you know the rest, but now that isn't an option so I'm not sure if theres an alternate method now or I just didn't install it correctly.
How do I compile a singleview project?

Cordova gradle version

Is there a way to setup gradle version for cordova project in visual studio?
build.gradle file contains the following string:
classpath 'com.android.tools.build:gradle:1.5.0'
But I need:
classpath 'com.android.tools.build:gradle:2.1.0'
For anyone else interested in updating the Gradle version used by Cordova, create this system environment variable:
CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL
https://services.gradle.org/distributions/gradle-3.5-all.zip
To use a different version, get the proper link from here.
For complete guide see Upgrading Gradle for Cordova mobile apps in Windows
No. We do not directly expose this setting in our tools. However, you can manually configure the platform to use a different version of Gradle. Please see the Apache documentation, here:
https://cordova.apache.org/docs/en/latest/guide/platforms/android/
(Disclosure: I work on the tools for apache Cordova in visual studio at Microsoft)
An alternative to andreszs solution is to modify platforms\android\cordova\lib\builders\GradleBuilder.js:
var distributionUrl = process.env['CORDOVA_ANDROID_GRADLE_DISTRIBUTION_URL'] || http\\://services.gradle.org/distributions/gradle-5.4.1-all.zip

On Eclipse Mars, I can't see 1.8 in the compiler compliance level menu

I'm using Eclipse Mars and I can't see 1.8 in the compiler compliance level menu.
Prehaps, it is because I used this option to import all my plugins from my Eclipse Kepler installation. Maybe it also import preferences that causes this problem.
I added the jdk 1.8 in the Installed JREs.
I tried to delete the .preferences folder and restart my eclipse but I still have the problem.
Any ideas?
EDIT : I tried to check for updates but no updates were found
You need to select the appropriate java version in the project's/ build path first
If you want to apply it globally you not only have to add a 1.8 JRE but also select it as default.
I had the same problem. Probably it was because I originally installed Eclipse Kepler (which doesn't support java 1.8. compiler) and then updated it to Luna first and then to Mars. I had to completely uninstall Eclipse and reinstall newest version.
If you have a shortcut to start eclipse, edit it and add -vm [path-to-jdk-1.8]/jre/Javaw.exe after the path to eclipse.exe .
You can also add the code to your eclipse.ini but make sure it is the very first line. Afterwards you might be able to chose 1.8 in the global compliance level

Failure while installing ruby plugin in webstorm

After enabling the ruby plugin in WebStorm it starts with the folowing error message:
Plugin org.jetbrains.plugins.ruby failed to initialize and will be disabled:
com/intelij/debugger/settings/NodeRenderSettings
Please restart JetBrains WebStorm.
Anyone knows what happens here?
WebStorm has no support for Ruby plug-in, it's designed only for IntelliJ IDEA Ultimate. It's a known issue of the plugins repository that incompatible plug-ins are allowed to be installed, we are working on it.
See this solution, it applied for webstorm too.
Is it possible to get Ruby syntax highlighting in PHPStorm?
But it for highlighting only.
It's worked for me.

Eclipse and Ruby installation.. need a help

I can't install Ruby Eclipse Plugin. I just followed the guide from https://help.ubuntu.com/community/EclipseIDE
But this http://updatesite.rubypeople.org/releas URL doesn't work anymore, I think.
I use Windows 7.
Can you help me with Ruby Eclipse configuration?
You can install "Aptana eclipse plug-in" for Ruby in Eclipse. Please visit the following for details instructions:
http://www.aptana.com/downloads/start
The following link contains several Ruby Eclipse plugins.
I don't use Eclipse, but I read the best tool for Eclipse is Aptana. You might also want to give the DLTK a try (see this answer).
Most probably, http://updatesite.rubypeople.org/release URL doesn't exist anymore. You can install Ruby Eclipse Plugin manually.
Go to "Downloading and Installing Ruby plugin for Eclipse" section by visiting the following URL:
http://beans.seartipy.com/2006/08/12/develop-ruby-applications-using-eclipse-ide/
The steps mentioned there will guide you. Best of luck.

Resources