I'm new member for IntelliJ. I am trying to install a plugin for Cucumber in IntelliJ IDE.
Following are the steps which I am trying:
File > Settings (Ctrl+Alt+S)
From left hand pane, landing on Plugins tab.
In Search box, I am trying to search "Cucumber for Java".
But no result is displaying for same.
Can anyone help me on this ?
On search I am not able to see the option Cucumber for java, which is visible here in given stack.
Please see the documentation.
Use the Browse Repositories button.
Cucumber for Java plug-in is available out of the box in IntelliJ IDEA Ultimate.
For IntelliJ IDEA Community edition it's available as a free plug-in that you need to install:
In case IDE doesn't see the plugins list, please check the proxy settings. Disabling this option may also help.
It's also possible to download install plugins manually from disk. Make sure to get the version which is compatible with your IntelliJ IDEA build.
Cucumber for Java can be downloaded here.
The version compatible with IntelliJ IDEA 2018.1.x is available by this link.
Please also note that there is no Cucumber for Java plug-in version that is compatible with IntelliJ IDEA 2018.2 EAP builds at the moment. If you need this plug-in, please use 2018.1.4 release version.
Related
I've installed the version 2018.1 of IntelliJ IDEA (COMMUNITY EDITION), which added support for Java 10.
When I tried to use new "var" to type local variable, the IDE highlights it with red colour and the lovely phrase: "Cannot resolve the type "var". Please see attachment
varRed
I've read another post that happens exactly the same issue in which a member gave a possible solution https://stackoverflow.com/a/49719734/9478809
I've done that as well, I've created a live template for that type for Java statement but it still doesn't work.
Some of you got any suggestion for that?
I will appreciate your help
Thanks in advance.
To expand on nullpointer's comment, there are a few things you need to verify:
Make sure you've downloaded an updated SDK (version 10 or higher). I recommend using sdkman to install the SDK because it helps manage multiple versions. SDKMAN
Hit cmd; to open Project Structure
For Project SDK, select your updated java SDK
For Project language level, select the corresponding level
Now navigate to Modules, and make sure the correct language level is selected here too. I recommend selecting "Project default" to avoid future confusion.
As a troubleshooting step, it's also helpful to compile on the command line with maven or gradle to make sure it is an IDE configuration issue.
I am using IntelliJ IDEA 2017.1.4 as my IDE. Recently I have found a plugin called ASM Bytecode Outline which is actually what I've dreamed of. I need such plugin so that I can convert Java code to ASM code or to bytecode easily.
I have installed the following plugin and restarted my IDE. Then I was expecting to be happy, however I was disappointed because the plugin seems not working:
Simply nothing.
I have tried the following:
Recompile and rebuild the project.
Restart IntelliJ.
Reinstall the plugin.
Restart my PC.
However, as you see me asking here now, you can guess that none from what I tried has worked, sadly. I clearly understand that the plugin might be pretty old and was not updated for years, but I still need at least something similar that can convert Java code to ASM-ready code, like:
.
Is there a way I can solve this, or is there any other similar solution (not required to be an IntelliJ plugin) for what I want?
I updated the plugin and now it works fine with newer versions of Intellij IDEA.
You can download it from here: https://plugins.jetbrains.com/plugin/10302-asm-bytecode-viewer
The source code can be found in here: https://github.com/elitegit/asm-intellij-plugin
It includes the latest version of ASM library as well.
You can use the plugin in 3 different ways:
Right click somewhere inside the code editor and choose "Show
Bytecode Viewer"
In the "Code" menu, choose "Show Bytecode
Viewer"
Right click on the java file in the Project window and
choose "Show Bytecode Viewer"
You can find the setting inside Settings => Tools => "Show Bytecode Viewer"
ASM Bytecode Outline isn't compatible with IntelliJ 2017.1.4. The last time this plugin was updated was September 2015. Here's a link to the plugin page on JetBrains' website: you can see that it stopped being compatible in IntelliJ 14.
Alternative
A built-in bytecode viewer has been available in IntelliJ for a while. Use the menu View -> Show Bytecode to view the bytecode for one of your classes. See this link for more details.
Some java warnings (e.g. for code order) might apply for one project, but not for the other. How can I reflect this fact in NetBeans where the only setting seems to be the Hint tab in the editor configuration on application level? I could setup the checkstyle maven plugin, but that'd be far from "IDE support" (facing the fact that I'd have to evaluate the output in the browser and then find the referenced line(s) of code in the IDE).
I'm using NetBeans 8.0.2, maven 3.2.5 and and OpenJDK 8.
There's a Hints option to configure warnings per project (overwriting the IDE-wide settings in the Editor section)
I am facing setup issues in my eclipse Kepler on Ubuntu 12.04 on Virtual box.
Firstly i was facing issue same as:
Eclipse Open declaration in Java project
I tried everything mentioned here, but nothing seems to be working for me...
Then I explored some more, and get another error message similar to:
I am getting resource not on the buildpath of the project
As per its 1st answer, 2nd point go to "Java Build Path", I tried going there, but i cannot find any "Java Build Path" section in my project property.
When I click on Project properties, it shows only options given in the following screenshot:
I know this is some easy setup issue, but i am unable to handle it.
The answer is a write-up of the discussion in the comments:
If you are on Ubuntu 12.04 and install Eclipse you could end up with a bare-bones install without the Java Development Tools (JDT).
After installing the package manually via Help -> Install New Software and then searching for Programming Languages / Eclipse Java Development Tools Java development should work.
For maven projects you should use the import Existing Maven Projects instead of importing it as a java project.
I'm looking to install the wro4j plugin for eclipse. Can someone show me how to to install this or point me to a page that can show me how to install it.
The specific version of eclipse is
Eclipse Java EE IDE for Web Developers.
Version: Indigo Service Release 1
Build id: 20110916-0149
This plugin created / supported by JBoss and is located here.
https://github.com/jbosstools/m2e-wro4j
I'm just unfamiliar w/the installation process. I typically use the Help/Install New Software in eclipse however this doesn't look like an option for this plugin.
Thanks for your help...
In the Install new software window, you'll need to add the wro4j update site in the Work with field. According to the page you linked to above, the wro4j release site is http://download.jboss.org/jbosstools/updates/m2e-wro4j/
After you add that update site, you should be able to see the wro4j features/plugins that are available. Note that depending on how the update site is structured, you might have to un-check the option Group items by category.