intellij-14

Perform code analysis in IntelliJ IDEA

↘锁芯ラ 提交于 2019-12-10 02:43:16
问题 When I start to commit changes to the VCS, the following commit dialog appears. I checked the option 'Perform code analysis'. If I press commit, the code analysis starts, and when its finished i get the following dialog to view the results of the analysis: If I press the review button I can review the results. I would like to start exactly the same analysis manually. My version of IntelliJ IDEA: 14.1.1 (built on March 31, 2015) Is it possible to run code analysis of commit dialog without a

Spring boot hot deployment for templates and resources under IntelliJ

我是研究僧i 提交于 2019-12-08 15:51:47
问题 Is anyone aware of a mechanism to get hot deployment for resources and template working under IntelliJ 14.0.2 for a Spring Boot application. I know that full Spring Boot support is scheduled for 14.1 but I have a project that I converted over from a standard WAR project to a Spring Boot project and I really miss the hot deployment. At the moment I have to manually build the project that the resources are in to get hot deployment and even then it is a bit flaky sometimes. I would prefer to

The difference between QAPlug-CheckStyle and CheckStyle-IDEA

不想你离开。 提交于 2019-12-07 19:44:21
问题 Found a similar question about the difference between QAPlug-FindBugs and FindBugs-IDEA, but not about CheckStyle... I think (from previous experience) with these plug-ins that one difference is that the QAPlug's CheckStyle version seems to be behind the CheckStyle-IDEA's CheckStyle version (I'm not referring to the versions of the plug-ins, but of the version of CheckStyle that's embedded in them). Anyone knows of any other differences between those? 回答1: Advantages of CheckStyle-IDEA over

Intellij indents 4 spaces when I have configured it to do 2 spaces (LESS)

你说的曾经没有我的故事 提交于 2019-12-06 18:56:06
问题 On Intellij IDEA 14, I have tried to set my preferences in Editor > Code Style > LESS to do 2 space indents but no matter what I do, my code ends up getting formatted with 4 space indents. How do I get it to do 2 space indents for LESS? 回答1: If your project has an ".editorconfig" file, IntelliJ 14 uses that by default (which overwrites your settings). If you absolutely do not wish to use these settings, you need to disable the editorconfig plugin. 回答2: Not as likely, but if you make a scratch

The difference between QAPlug-CheckStyle and CheckStyle-IDEA

跟風遠走 提交于 2019-12-06 08:16:09
Found a similar question about the difference between QAPlug-FindBugs and FindBugs-IDEA, but not about CheckStyle... I think (from previous experience) with these plug-ins that one difference is that the QAPlug's CheckStyle version seems to be behind the CheckStyle-IDEA's CheckStyle version (I'm not referring to the versions of the plug-ins, but of the version of CheckStyle that's embedded in them). Anyone knows of any other differences between those? Advantages of CheckStyle-IDEA over QAPlug – Checkstyle: Newer version of Checkstyle used Community on GitHub Fast scan before commit Support for

How to group Sonar results by severity (MAJOR, MINOR,CRITICAL) in intellij community edition

醉酒当歌 提交于 2019-12-06 02:12:03
I would like to categorize SonarQube results by severity 'major'. I have installed SonarQube plugin in intellij community edition(version 14.1.4). When i try to run the sonar Analyze -> Inspect code, The inspection window shows all the issues by rule but does not categorize the issues by major, minor and critical. I would really appreciate if anyone has achieved this using IntelliJ IDEA Community edition. According to this open github request , it looks like it used to be there in v1, but was subsequently removed. For what it's worth you can do this to help (excerpt from the link): Expand All

How do I run the code from a scratch file in IntelliJ 14?

旧城冷巷雨未停 提交于 2019-12-05 18:19:52
问题 I've created a simple Java scratch file containing a class named " TestGenerics " containing some code and a main method. The code seems to be fine, however when I try to run it (by right clicking > Run 'TestGenerics.main()', I get this error: "Module not specified" Similar situation occurs with a scratch file containing Lua code, error message: ' Error running scratch.1 (2): Executable is not specified ' Any ideas? 回答1: This was previously not possible, but is now supported for some

Why IntelliJ Idea cannot find location of GO SDK?

我与影子孤独终老i 提交于 2019-12-05 14:34:05
问题 I downloaded go1.4.darwin-amd64-osx10.8.tar.gz and extract it on my local directory. Based on what Installing to a custom location says I added GOROOT in env variable. Based on what Test your installation says I created a go file. I finally ran it and I got expected result as following screenshot. I actually have IntelliJ v.14 however, based on this article I installed Go Language (golang.org) version 0.9.15.3 in my IntelliJ Idea. I created a Go project and during creation it asked me to add

Showing graphically the equivalent of git log --follow in IntelliJ

倾然丶 夕夏残阳落幕 提交于 2019-12-05 04:08:43
Is there a way in IntelliJ 14 to show the full log of a specific file? I mean: executing a kind of git log --follow graphically in order to see the old versions; before those files were potentially renamed. Currently, when I do Git => Show History on a file, it only shows the equivalent of git log . The --follow seems to have been judged "buggy", but git log should follow rename on IDEA: See " IDEA-66700 git log should follow renames ( --follow option) ": Closing: the request was fixed a while ago (not via buggy -–follow though). You would find additional information in " IDEA-89370 Git: show

Perform code analysis in IntelliJ IDEA

£可爱£侵袭症+ 提交于 2019-12-05 01:18:34
When I start to commit changes to the VCS, the following commit dialog appears. I checked the option 'Perform code analysis'. If I press commit, the code analysis starts, and when its finished i get the following dialog to view the results of the analysis: If I press the review button I can review the results. I would like to start exactly the same analysis manually. My version of IntelliJ IDEA: 14.1.1 (built on March 31, 2015) Is it possible to run code analysis of commit dialog without a commit in IntelliJ? Analyze -> Inspect Code (maba's answer) is correct. You can specify the inspections