IntelliJ IDEA plugin not getting downloaded - intellij-idea

I am trying to download Sequence Diagram plugin in Intellij IDEA. But it is not succeeding. It is failing without giving any error!!! What could be the reason?
I tried all three plugins SequenceDiagram, SequencePlugin and SequencePluginReloaded. For all three, it behaves the same.
I have set proxy as below. Without proxy, it was not listing any plugin when I entered "sequence" in search box.

Related

IntelliJ issues error for 'false' value in yaml

Whenever in .yml file that I have a false property value I am getting a inspection error from IntelliJ. This happened only recently, I am using IntelliJ 2019.3.5
Invalid value 'false', must be one of off|on|true|true
Inspection info: Checks Spring Boot application .yaml configuration files. Highlights unresolved and deprecated configuration keys and invalid values.
The application runs fine but I'd like to know what causes this and if I should turn the inspection off.
Please always try the latest available product version before reporting bugs.
The issue seems to be fixed and not reproducible in the current IDE release.
The better place to report IntelliJ IDEA bugs would be YouTrack.

I am getting webdriver error in intelliJ IDE while using Selenium?

I am using intelliJ IDE for Selenium Project. This error does not happen in Ellipse IDE. Here is a snapshot of the issue. This code works perfectly in Ellipse. I have added dependencies jar files for Selenium.
Errors are underlined with red, this is green. I think it just a spelling error indication.
Also the "error" is in a string, you cannot get a syntax or runtime error in a string.
If you get a error during running the tests please add that error and stacktrace to your question and I will try to assist you.
These under waved warnings are spellchecking warings and intellij idea has an integrated spell checker.
Spellchecker configuration:
You can deactivate the spell checking:
You can save that word on a project level to your spelling directory:
These two options will remove the warning. Making this warning less catchy by changing the color scheme could be an other option:

Configuring UnetStack in Intellij IDEA

I'm trying to use IntelliJ IDEA for my UnetStack Project.
I'm following this blog
https://blog.unetstack.net/using-idea-with-unetstack
I get this error when done following this:
Error: Could not find or load main class org.codehaus.groovy.tools.GroovyStarter
I had the same issue.
This happened to you because you ran your simulation as a groovy script and not as the configured application. Run it as application and groovyStarter will not even be used.

Cannot resolve method 'ok(?)' with Play 2 Framework in Intellij

I have been trying to get play set up in IntelliJ for hours but I can't get it to work correctly.
I continuously get this error: http://imgur.com/MYY8fXI
I have tried create a project though the terminal with:
play new
and then using the terminal to create the idea files with
idea with-sources=yes
I have also installed the play 2 plugin and used it to create the project, but I get the same error.
I am able to use the plugin I downloaded to successfully run the app and view it in my browser, but I keep getting the
Cannot resolve method 'ok(?)' error.
edit: I am using OSX, and have the ultimate version of Intellij.
edit 2: I have made a little progress. If I import the view directly using import views.html.index; it gets rid of the errors on the application. However, if I use import views.html.*; it results in the errors. Any ideas?
At the time of this writing, it seems that play2 support in IntelliJ 13 Ultimate has some minor problems...
How I did solve the issues:
1) Navigate to your project director and start your play console (play.bat / play.sh should be on the PATH)
2) enter command 'compile' in your play console
3) enter command 'idea" in your play console
4a) in case your IntelliJ project was alread open, IntelliJ will detect the changes and suggest to reload the project. Confirm you want to reload
4b) in case IntelliJ was not running, open the project by File | Open... and select your project Directory.
These steps should resolve your issue.
Does it help to make sure that play has compiled the templates to class files, 'run' + open in browser or 'compile'?

FindBugs shows only first error in method (Jenkins, IntelliJ IDEA)

I'm using Jenkins with FindBugs plugin installed for static code analysis. Also, every developer on the team have FindBugs IntelliJ IDEA plugin installed to do the same.
The problem is that in Jenkins, only first occurence of an error in a method is reported. In Idea, all problems are reported as single errors. For example:
public String myMethod() {
StringBuilder sb = new StringBuilder();
sb.append(String.format("First \n"));
sb.append(String.format("Second \n"));
sb.append(String.format("Third \n"));
sb.append(String.format("Fourth \n"));
return sb.toString();
}
in this method, Idea reports 4 errors of type VA_FORMAT_STRING_USES_NEWLINE. On jenkins server, there is actually only one error, on line with string First \n.
Is there a way to configure either Jenkins or Idea to behave uniformly?
Versions:
IntelliJ Idea Enterprise 12.1.3
FindBugs-IDEA plugin 0.9.97
Jenkins 1.513
Jenkins findbugs plugin 2.0.2
The only solution I've found so far is to use a different plugin, eg. QAPlug Findbugs. This one reports results exactly the same as Jenkins does.
The downside is it is a bit more clumsy than FindBugs-IDEA plugin.