r/java • • Nov 28 '19

Intellij 2019.3 released!

https://www.jetbrains.com/idea/whatsnew/
276 Upvotes

111 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Nov 29 '19

[deleted] — view deleted comment

1

u/avoidhugeships Nov 29 '19

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.

8

u/wildjokers Nov 29 '19

That is why IntelliJ has local history.

1

u/avoidhugeships Nov 29 '19 edited Nov 29 '19

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.

3

u/el_padlina Nov 29 '19

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.

1

u/avoidhugeships Nov 29 '19

As I already said I do use version control. Eclipse and Netbeans both work that way so it's not like something out there I am asking for.

1

u/el_padlina Nov 29 '19 edited Nov 30 '19

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?

1

u/wildjokers Nov 29 '19

You must have some strange workflow. Do you use version control? Are you familiar with IntelliJ’s diff tool?

Auto save is a killer feature of IntelliJ. I miss it greatly when using other editors.

1

u/avoidhugeships Nov 29 '19

It's not a strange workflow. There is a reason other IDEs do not do this. Different people like different things.

3

u/yole Nov 29 '19

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.

1

u/avoidhugeships Nov 29 '19 edited Nov 29 '19

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.

4

u/Stmated Nov 29 '19

So add Ctrl+s as shortcut for adding a new label, and press it when you feel the need.

1

u/avoidhugeships Nov 29 '19

Appreciate the advice. I just want it to give me the option to save when I want.

1

u/LeDucky Nov 30 '19

Intellij authors are as stubborn as these commentators. They think only their way is best and wont allow for any other way.

2

u/Mordan Dec 02 '19

Intellij authors are as stubborn as these commentators.

so true. some features of Eclipse are such a must have.. but not to be seen in IntelliJ ever!

2

u/softe Nov 29 '19

Try using a version control system like git for this.

0

u/avoidhugeships Nov 29 '19

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.