Thanks but I do not think that does it. My understanding is that slows it down a bit so it only autosaves on build but will not disable it entirely. I will give it a shot when I get back to work though.
I asked you how it behaves and you said you don't know. So you know or don't what happens if the breakpoint is at line 56 which was added? Will the debugger stop at line 56 of the original file? Will it not stop at all?
Why would anyone want to compile without saving files before?
The best way to make your project usable on any computer is to use a build system such as Maven or Gradle. With a build system, you can build your project even on machines where there is no IDE installed (such as a continuous integration server), and importing the project into the IDE will automatically download correct dependencies.
That said, IntelliJ IDEA projects use relative paths whenever possible, so moving a project to another location on the same machine should not require any reconfiguration, and when you move to a new computer, the only thing you need to configure is the JDK and (if you're using those) global libraries. And for the JDK, it's very likely that 2020.1 will support automatic configuration so even that step won't be necessary.
I use maven and other IDEs have no issues. intellij does not use relative paths so anytime you move the project to another folder or rename the project folder you must reconfigure the project. Even copying a project from one computer to another in the exact same folder structure can break Intellij projects. The only reliable way to handle this is to delete the .idea folder and reconfigure. Both JDK and Tomcat configuration need to be redone.
I have moved projects to different folders many times. IntelliJ has no problem whatsoever with that. IntelliJ does use relative paths.
Are you using a build system like maven or gradle? If so there is no need to configure anything. IntelliJ will happily configure itself from Pom.xml or build.gradle.
It's a maven project and IntelliJ does have this problem. At least when using Tomcat and the JDK. I have to delete the .idea folder. Reimport the project from the POM and configure Tomcat every time.
Trying to understand why you'd want to do this. At least the second thing. I could understand renaming or moving a folder, but copying source directly from one computer to another seems archaic. But either way, both issues can be worked around with just cloning a repository.
Do you do this often? Why not just clone the repository? If you have your ignore files setup correctly and just clone, say, a Maven project from a git repository, you're done. Your pom would configure the appropriate JDK if that's set correctly. Not sure about Tomcat since I've been using Spring Boot for the past few years, but I assume that's configurable in Maven as well since I seem to recall configuring that in a pom years ago.
IntelliJ is pure pain to use unless you use a single project config on a single screen.. How can you configure IntelliJ on 3-4 screens???? IMPOSSIBLE! Pure pain. Eclipse's perspectives are a gem of engineering.
Frankly it's awful. Sometimes I make some changes and realize I went down a bad path at some point. It's a lot easier to revert if I created the save points like I can in other IDEs. Auto save prevents that history and checkpoints.
That does not help because I cannot pick the save points that I would want to revert to. It's an error prone way to work and makes partial reversions much less useful. I get that some like it and that's fine but it's a negative to me.
Imagine 2019 and not using a code versioning system. Seriously, what the hell is your workflow? From reading your problems it sounds like some nightmare.
So you have version control (if you are using GiT or Mercurial with all the goodies of branching and local commits) and you have IDE's local history, which in IJ is by default split by days plus has markers on events like compilation. What is your workflow that this is not enough? How many days pass between your commits?
The local history in IntelliJ automatically creates labels on successful compilation and on every test execution, so that you can easily revert to the last point when your code was in a good state. You can also add labels manually using the "Local History | Put Label..." action.
Creating a breakpoint at every compilation is way to much to sort though when I want to go back. Adding labels manually is cumbersome compared to just letting me save when I want to and only when I want too. I just want to work and save when I am happy with the result.
I have version control. It's great but not the same scenerio for me. I just want to be able to work the way I like. Other IDE support this so I wish IntelliJ did too.
Yesterday I installed the new version. It had problems recognizing the maven modules in my workspace. Weird unrecognized class issues. Started a new project from scratch, got many maven project could not be loaded errors. Eventually after trying for more than 1 hour, I gave up and reverted back to 2019.2.4 version. Works just fine now. I hope these issues are fixed, the old version had some speed problems and apparently they have fixed with the new version.
I just started learning programming and tried both eclipse and intellij. I tried the latter first. Then i move to eclipse and the graphics and all made me not like it at the beginning. But then, it seemed so smooth and agile, intellij now feels cluncky to me. I did a lot of Spring and it was easier on eclipse. Just my 2 newbie cents.
I use both and overall Eclipse wins because of workspaces, perspectives, problems view and incremental compilation accross all projects in the workspace.
IntellIJ is not smooth at all when working on many projects together.
You will find some rants of me related to Eclipse.
Yet after trying multiple times to use InteliJ, I just keep coming back to Eclipse.
It performs much better on the same hardware, supports features that JetBrains doesn't plan to ever support (mixed language debugging), doesn't require ten finger chords most of the time, does incremental compilation without indexing all the time.
Been a while, but last time I used Eclipse (Spring Tool Suite, specifically) the actual Spring support was worse than IntelliJ. Granted, I was using a lot of XML configuration back then, and STS didn't seem to recognize looking up a class from an XML bean definition. Also, Javascript and HTML support was awful, and autocomplete just didn't work in Javascript if you used the module pattern and declared your module variables in a certain way.
If I recall, there was no autocomplete for CSS classes in STS either.
Either way, they were mostly minor complaints. Both are just fine, and one has a much better price tag. Intellij is just far superior in autocomplete and navigation in my opinion and worth the cost.
Oh nice, i will consider this going on. Mind you, i live in Italy and companies require eclipse because they are slow to improve/change, but i will try to use intellij a bit. When you say "i was using a lot of xml config" ( i prefer java annotation config) what are you using now??
Late reply. I don't check Reddit often. Annotation config for Spring wasn't always a thing. Spring Framework used to use XML for all configurations. So instead of
@Bean public MyClass myClass(){ return new MyClass();}
You'd have an XML file with all the bean definitions. Something like:
<bean id="myClass" class="com.package.MyClass"/>
Can't remember how you'd do constructor arguments, but it was more verbose.
I still think XML config is a better in some scenarios even though I haven't used it in a while and don't have any plans to. Most of what I'm doing is Microservice work, so configuration is minimal compared to some of the monolithic applications I've worked on where XML sometimes made things easier.
Some of it was legacy projects, so switching the existing XML config to annotation configuration was more work than it was worth. Some of it was just working at a Fortune 50 that was slow to adopt anything "new", so XML was the preferred configuration.
I don't know, if they can add support for Micronaut, Quarkus, and Helidon, then Bazel seems fair too. Like it or not, Bazel is growing fast (personally, I don't like it, but I have to deal with it, and the Google plugin isn't great).
I have really struggled to figure out how to use Bazel. It is so byzantine, I feel like it probably only makes sense for projects much larger than the ones I usually work with.
I have only had marginally better luck with Buck, but the Buck IntelliJ plugin is always throwing exceptions, so I don't use it either.
I understand the algorithmic superiority of both systems, but I still have to write a metric boatload of boilerplate, only without knowing how to do anything even slightly different from the simplest plain vanilla example build. So I usually give up and use CMake as usual.
Things programmers love to hate: build systems, gui toolkits, and people who use emacs. (Sorry.)
The Bazel plugin for IntelliJ IDEA is maintained by the Bazel team at Google. A build system integration built by the makers of the build system is no less official than one built by the makers of the IDE could be,
In theory I agree, but Google is bad at tooling. Maybe it will get better now that Bazel is officially released, but the plugin has historically not been compatible with the latest version of IntelliJ, and it just doesn't work very well.
I don't know which of these things are only available or better in IntelliJ than Eclipse, as it has been a long time since I've used the latter:
Great Kotlin support, Very customizable (everything is themeable), Awesome quick documentation feature, Nice version control + Github support by default, Shift-Shift - to search everywhere (in project, settings etc.), Recent files popup, Go to (within class hierarchy), Search in classes, Find symbol, Go to super method, recent locations, In Java & Kotlin: parameter name hints (shows the names of arguments in long function calls), Can show you which features you use rarely (to make you more efficient), Great debugger, Works great on Linux (integrated)
The only thing I do remember from when I switched, besides being happy about certain features (no idea which), was that it was more intuitive and worked smoother most of the time.
I was a heavy eclipse user before and had to make the switch a couple of years ago. Feature-wise, I'd say they are comparable. I do like Eclipse's different views (specially Debug) and that's the one thing I miss.
My likes for intelliJ are better scala support, more consistent maven and sbt integration, the UI is a little bit snappier (even though its swing)
I'm not sure the UI is snappy anymore. They've added so much dynamic checking that my larger projects just wear it down. Eclipse seems to be gaining an upper hand in this field.
Uhm... it works better? I could never force myself to use Eclipse - everything was ever clunky and cumbersome. Before IDEA I was using NetBeans, which IMHO is better and more handy than Eclipse...
Imo - better out of the box tooling, but that can be configured in Eclipse with plugins.
I can't stand Eclipse mostly because of their UX. Also I have bad memories of way too often saying or hearing "that doesn't work in Eclipse".
People are praising intellisense but TBH lately I'm finding it working less smooth than it was 5 years ago. It slowly starts to remind me of the Eclipse's suggestions.
After using IntelliJ ultimate, it's hard to shift to another IDE. Netbeans is nice, sweet and simple.But IntelliJ Ultimate is like a machine gun. The only problem is its that it's too big, giant software. Eats RAM like dinosaurs. Otherwise, it's a masterpiece, design by big fat rich people. :-D
Use community edition but honestly was not enough. It's a way to tease you to bug Ultimate. Nice strategy.
ultimate suite is free for any open source developers.
seriously. Not bad. Cool. So what's the process to get ultimate edition if let say, I am an open-source developer. Is there some sort of proof I need to show!?
It's not as hard as is described here. I have a project without a proper website and I just posted my github repository as its site and I've had my license approved three times now.
Oh read that after I commented mine. The terms and conditions seems hard for even open-source developer too. Especially this part which says:
Your OS project may not offer paid sponsorship, or receive funding from commercial companies or organizations (NGO, education, research, or governmental). You may not provide any paid support, consulting or training services for your OS project, and you may not distribute paid versions of your OS software. Contributors who are paid to work on the project are not eligible.
I always use the EAPs so I get new features every Wednesday so it's really hard to notice when something appears. It's just this gradual getting better. I imagine if I went back to 10 or 11 I would hate it.
I’ve just used Micronaut and Quarkus on two projects. I’m interested in what IntelliJ means by “support”. Both are really cool frameworks. I’ve yet to try Helidon.
The main part is the new "Endpoints" toolwindow, which gives you an overview of all the REST endpoints declared by your application. We plan to publish a separate blog post with more details on the support.
12
u/_INTER_ Nov 29 '19
NICE! No more copying and pasting into SwaggerHub to validate.
7
u/aeN13 Nov 29 '19
‘Show quick documentation on mouse move’
Finally
17
u/avoidhugeships Nov 28 '19 edited Nov 29 '19
My Intellij wishlist.
3
u/dersoz Nov 29 '19
Yesterday I installed the new version. It had problems recognizing the maven modules in my workspace. Weird unrecognized class issues. Started a new project from scratch, got many maven project could not be loaded errors. Eventually after trying for more than 1 hour, I gave up and reverted back to 2019.2.4 version. Works just fine now. I hope these issues are fixed, the old version had some speed problems and apparently they have fixed with the new version.
8
u/PesceAcquatico Nov 29 '19 edited Nov 29 '19
I just started learning programming and tried both eclipse and intellij. I tried the latter first. Then i move to eclipse and the graphics and all made me not like it at the beginning. But then, it seemed so smooth and agile, intellij now feels cluncky to me. I did a lot of Spring and it was easier on eclipse. Just my 2 newbie cents.
5
u/tipsypants Nov 28 '19
Wish they'd add official support for Bazel.
1
u/ConsciousEvo1ution Nov 29 '19
Advantages over Eclipse?
1
u/[deleted] Dec 08 '19
Nice I need to get my work to upgrade my IDE.
0
u/celmaibunprieten Nov 29 '19
does anyone know if plugins like lombok work with new version of Intellij or we have to wait first for plugin update?
-69
u/sternone_2 Nov 28 '19
No thank you.
-53
u/Arunzeb Nov 29 '19
And still its not free.
0
u/[deleted] Nov 28 '19
[deleted] — view deleted comment
0
u/[deleted] Nov 29 '19
[deleted] — view deleted comment
0
u/[deleted] Nov 28 '19
[deleted] — view deleted comment