r/IntelliJ • u/lennarn • Jun 17 '21
Announcement: /r/IntelliJ is now open to all
The subreddit has changed ownership and is no longer restricted. You are encouraged to post anything related.
r/IntelliJ • u/lennarn • Jun 17 '21
The subreddit has changed ownership and is no longer restricted. You are encouraged to post anything related.
r/IntelliJ • u/k__k • Apr 16 '20
Hi,
in previous versions there used to be a notification asking if I wanted to enable auto-reloading Maven changes the first time I changed something in POM file. It seems to be gone, now only a bubble appears on the editor tab asking to manually resynchronize Intellij with POM every time I make the tiniest change.
Do you know if there's a way to enable auto-reload again? I checked Maven Settings - didn't find anything, google search didn't yield results as well :(
r/IntelliJ • u/vonKemper • Mar 30 '19
I have a Microsoft Surface Laptop with a Core i5, 8GB of RAM and 256GB SSD and IntelliJ takes forever to start. 30 seconds or more. I have not always noticed this problem, but it seems to have started with 2018 release, and persists through the 2019.1.
Upon starting the application (clicking on my taskbar icon) I get no feedback for 25 seconds (no splash screen, no pulsing taskbar icon). After I get actual visual feedback that it has started to load, it takes another 10 seconds or so to finish starting.
For comparison, I also have a 2016 Macbook Pro with a Core i5, 16GB of RAM and 500GB SSD, and IntelliJ begins loading (splash screen) in 3 seconds, and completes loading in under 15.
Both setups have the same plugins (2 more more on the Mac actually).
Does anyone have any ideas as to why this might be?
r/IntelliJ • u/altimage • Nov 15 '17
r/IntelliJ • u/8igg7e5 • Sep 25 '17
I've set IDEA_JDK_64 and verified with procexp (SysInternals) that the variable is in the processes environment.
This page suggests that idea64.exe should look at that variable first to select the JDK to use but it uses either:
The embedded JRE {idea dir}/jre64
Or, if I rename that one, the Java8 I also have installed, but not the one to by IDEA_JDK_64 or JAVA_HOME (or any other variable)
Is it that the Java 9 changes in JDK layout is such that the Intellij launcher can't find what it needs?
r/IntelliJ • u/[deleted] • Jul 29 '21
r/IntelliJ • u/blahdom • Aug 20 '20
I can't seem to find any group of people who are experienced intelliij plugin devs who I could talk to about the feasibility of a plugin I want to write, and to get general tips as I'm going. I am an experienced dev but the API didn't immediately make it clear what I can/can't do and I would like to avoid reading the source for now (deadlines at work take precedence :) - is there any active community for chatting about this? Thanks!
r/IntelliJ • u/[deleted] • Jan 22 '20
r/IntelliJ • u/OldSchoolGamer2600 • Feb 23 '19
public class Main
{
private static Long m_test = null;
public static void main(String[] args)
{
long npeTest = m_test;
System.out.println(npeTest);
}
} We recently fixed some bugs in our project where a NullPointerException was thrown because a null Long was passed into a function that took a primitive long as a parameter. We want to run an inspection on our code base to find any others but are having trouble finding the 'perfect inspection' to use. Any ideas?
On my workstation the above code does not trigger any warning marks in the gutter of Intellij Idea 2018.3 Ultimate. We get the green checkbox / no problems detected. We looked through the inspections and we were not able to find an inspection that matched this scenario, but I'm sure we are just missing it because there are so many.
The sample code above is for someone to quickly copy and paste into Idea to see what we are seeing. What we actually have in our code base are javabeans with Long properties (getter/setters) that are being incorrectly used as a parameter to a function that takes a primitive long.
Code base is Java 8.
Thanks in advance for any advice!
r/IntelliJ • u/Code-Sandwich • Sep 09 '18
In Intellij it's possible to have either:
horizontal tab bar, which holds like 5 tabs and then starts hiding them or has multiple rows that keep shifting
vertical tab bar, which is awesome, but takes huge amount of space
But is it possible to have a vertical tab bar over navigator? I think this would be absolutely perfect!
Pictures of what I mean: https://imgur.com/a/wUjfHsg
r/IntelliJ • u/jared-bosch • Jul 31 '18
r/IntelliJ • u/desuback • Jul 02 '18
wrote some classes in java. they compile in cmd line.
i put them in the src folder of a new project and opened it in intellij
run option greyed out.
what do i need to configure to fix this? i am using the jdk 10.0.1 for my project SDK.
again, sorry for being a beginner to IDE's
if there is any information i have neglected to provide, please ask for it.
r/IntelliJ • u/mooglelock • Jan 24 '18
Setting aside for the purpose of this question the amazing Paid for version of IntelliJ, I'm pondering IntelliJ Community Edition and Netbeans, but want to know why IntelliJ Community Edition is the better of the two. I'm NEW to this Java IDE thing, so I figure you guys would be able to tell me ! Thanks :P
r/IntelliJ • u/NiteLite • Jul 19 '17
A few hours ago I upgraded my community edition of IntelliJ to 2017.2 and it has become pretty much unusable. It has now started hanging for 15-20 seconds when I start typing or do a git update so new files are added, so it's very hard to work with :P
Does anyone have any tips on how I can figure out what it's busy doing when it hangs, so I might be able to start fiddling with settings or uninstalling plugins to improve the performance?
r/IntelliJ • u/__aza___ • Nov 14 '24
From everything I can gather, IDEA Ultimate does everything WebStorm can do, and then some. So my question is, would there ever be a situation, other than cost, where WebStorm is preferred?
r/IntelliJ • u/crummy • Dec 08 '21
I tried this out and... it seems snapper on my Intel MBP? Hard to measure I suppose.
r/IntelliJ • u/latest_ali • Jul 04 '21
What are the pros of using intellij over Vscode and its Java/Spring packages?
r/IntelliJ • u/k__k • Dec 08 '20
Hi!
I find myself going back to Netbeans every time I have to figure out where a given part of Maven effective POM comes from. Netbeans makes it easy by showing in the annotations which POM brought in which part pic rel.
Is there a similar feature in the Intellij? AFAIK its effective POM view just prints whatever mvn help:effective-pom prints out. Or what other tools do you use to deal with such problems?
r/IntelliJ • u/Shogunglow • Dec 06 '20
r/IntelliJ • u/thememorableusername • Oct 06 '20
[Solved]
Setting the the property systemProp.apple.awt.UIElement=true in either the user directory or the project directory should work (I put mine in the global directory)
[Original]
I'm new to both Intellij and macOS and would like to hide the Java icons from the macOS dock associated the gradle daemon processes. Setting JAVA_TOOL_OPTIONS="-Dapple.awt.UIElement=true (as described here) in my zshenv (similar to bashrc or bash_profile) is sufficient when running from the command line, but does not work when running the build from Intellij.
I also tried setting the daemon flags using org.gradle.jvmargs with the same flag (org.gradle.jvmargs=-Dapple.awt.UIElement=true) in my home gradle.properties file, but all -D flags are somehow stripped out (regardless of whether or not it's being run from the terminal or from Intellij, which seems like its own issue, given that you should be able to set -D flags with this parameter), and thus has no effect.
Surely there is an easy way to do this?
r/IntelliJ • u/SpaghettiLife • May 19 '20
I'm using the Vim emulation together with KJump to achieve quite a Vim-like experience, without losing out on the benefits and usability of IntelliJ. I feel like this makes working much more comfortable, as I don't need to constantly move my hands around the keyboard or reach for the mouse. However, there are a couple of actions that I perform often for which I haven't been able to specify Vim-like keybindings:
Navigating search/other results with Ctrl+N (next) and Ctrl+P (previous): autocomplete-suggestions can be selected using these keys, but things like the file structure dialog, or symbol/file/class search results must be still navigated using arrow keys. Is there any way to configure these to also be navigable using Vim-like keybindings?
The only way to exit KJump or AceJump search seems to be using the Escape key. I prefer to use Ctrl+C for returning to normal mode, so it would be handy to also be able to cancel the jump mode using this key. Is there a configuration available for this?
Any help or suggestions would be highly appreciated!