I think this has improved with recent versions of IntelliJ. In my current version (12.0.2), you can add any number of separate Maven projects to the same “workspace”. The simplest way I’ve found to do this is to click the little + icon in the “Maven Projects” window (View > Tool Windows > Maven Projects) … Read more
These are some of my most used keyboard short cuts Syntax aware selection in the editor selects a word at the caret and then selects expanding areas of the source code. For example, it may select a method name, then the expression that calls this method, then the whole statement, then the containing block, etc.: … Read more
To set breakpoints in dependencies search the source inside the (no domain) node and set the breakpoint there. Breakpoints don’t hit when set somewhere in the packages node. You can also use the breakpoint statement for the debugger top pop up. See Does Dart have a ‘breakpoint’ statement? for more details.
I just found out that we can invoke a shell script with the help of BashSupport plugin.
The location would depend on 2 factors, whether the configuration is local to the user or shared with the other developers and if you are using the file based (legacy) or the directory based project format. File based project, local configuration: .iws file Directory based project, local configuration: workspace.xml file under .idea directory File based … Read more
How to debug with angular/cli The new angular/cli version uses webpack which does not compile the ts files to an local directory like dist before (till beta 1.0.0-beta.10). Now it uses some memory like approach. But you can find the ts Files in the Chrome Developer Tools in the “Sources” tab. (new) Solution for angular/[email protected] … Read more
By a popular request Override console cycle buffer size setting was added to the UI 9/14/16: Original answer for older versions: Edit your IDEA_HOME\bin\idea.properties file, and increase this setting: #———————————————————————– # This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb). Older lines are deleted. # … Read more
In addition to having Lombok plugin installed, also make sure that the “Enable annotation processing” checkbox is ticked under: Preferences > Compiler > Annotation Processors Note: starting with IntelliJ 2017, the “Enable Annotation Processing” checkbox has moved to: Settings > Build, Execution, Deployment > Compiler > Annotation Processors
Edited the answer based on Bastien Jansen comment. Seems that there is another project setting that affects the compiler level. A subtle indication of this problem is when your compiler starts complaining of the source and target java version being different from the one you specified while you are compiling the code Warning:java: source value … Read more
finally there is something: checkstyle-IDEA since 4.24.0 features import of checkstyle config. A solution is available now: Please install CheckStyle-IDEA plugin (http://plugins.jetbrains.com/plugin/1065?pr=idea), it can be found via plug-in repository (Settings|Plugins|Browse repositories). Go to Settings|Editor|Code Style, choose a code style you want to import CheckStyle configuration to. Click Manage…|Import.., choose “CheckStyle Configuration” and select a corresponding … Read more