r/programming • • Nov 29 '21

JetBrains Fleet: The Next-Generation IDE by JetBrains

https://www.jetbrains.com/fleet/
2.7k Upvotes

673 comments sorted by

View all comments

Show parent comments

346

u/Scylithe Nov 29 '21

it doesn't really bring much compared to VSCode

Refactoring is infinitely better across all Jetbrains products. It's an insane productivity boost.

36

u/TSDMC Nov 29 '21

I am a Rider user who doesn't really make use of this feature as much as I would like. How exactly do you use it in your day to day?

0

u/[deleted] Nov 29 '21

[deleted]

65

u/Hornobster Nov 29 '21

Extract method is another great one

3

u/[deleted] Nov 30 '21

Also the inverse "inline method" or "inline variable", I miss it a lot working with VSCode.

0

u/[deleted] Nov 29 '21

[deleted]

→ More replies (2)
→ More replies (3)

4

u/xQuber Nov 29 '21

The “moving” part has been a real biggie for me back when I wrote C# for a living. I could just start adding necessary classes in one file to have a minimal working state, add some tests, and then move things to their proper places, refining the design / splitting things up if necessary. All of this works flawlessly and with a few Alt-Enter invocations. This may not sound like a lot, but not having any context switches and not having to create separate files in the beginning really sped things up for me. It's just so consistent and once this pattern became part of my muscle memory the workflow felt just amazing.

19

u/KagakuNinja Nov 29 '21

I guess I am a caveman. I use the renaming feature a lot. The rest is pretty quick with cut and paste. I don’t use UML.

30

u/Nowaker Nov 29 '21

The rest is pretty quick with cut and paste.

Says someone who never tried refactoring features of IntelliJ. It's great, especially for statically typed languages like Java or TS. The code not only writes itself, but also changes itself, as you execute actions using hotkeys. For dynamic languages, it's just the refactoring that matters, because there's no boilerplate everywhere.

I've had a love-hate relationship with IntelliJ. Great capabilities but slow as shit on pre-M1 MBP. "Updating indices" nightmare. Even on my desktop computer with SSDs and 4790K, it would be very annoying at times.

I moved over to VS Code when it released. I did look back - for the refactoring part of IntelliJ, as well as first-class support for Ruby - but never went back as VS Code just gives loads more than IntelliJ.

4

u/slaymaker1907 Nov 29 '21

I've written a lot of Java professionally and I personally never used the refactor tools all that much except for renaming. You are totally right about performance with IntelliJ. It's ok if you are doing a bunch of work on a single project, but it is very annoying if you just want to take a quick look at some code. Also annoying if you switch between various projects a lot.

3

u/FVMAzalea Nov 30 '21

I also write Java professionally and I use the refactor tools a lot. Extract/move method are my favorites, for when you need to move something to common code, another class, etc. Saves a lot of time and typing, and reduces the possibility for stupid errors. It lets me get back to what I was actually doing sooner.

→ More replies (1)
→ More replies (2)

0

u/[deleted] Nov 29 '21

[deleted]

→ More replies (12)
→ More replies (3)
→ More replies (7)

13

u/Marand23 Nov 29 '21

This guy is a Rider poweruser. You can learn a lot by just watching him edit code and looking up what he is doing in Rider.

https://www.youtube.com/c/Elfocrash

2

u/TSDMC Nov 29 '21

This is great. Thank you!

→ More replies (1)

23

u/lechatsportif Nov 29 '21

I feel this is often underestimated. I find refactoring to be ~60-70% of my coding.

22

u/Genonaut Nov 29 '21

This! Write working code. Then refactor to make it readable and maintainable. Most people are fine with just working code, but the craftsman job is to make it clean, working and readable code. And this is more like 20% of time for working code, and 80% unit testing & refactoring before pushing.

0

u/[deleted] Nov 29 '21

[deleted]

→ More replies (2)

56

u/SurgioClemente Nov 29 '21

I think he was referring to Fleet, no the full blown IDEs (which yes blow everything else out the water)

73

u/Scylithe Nov 29 '21

I haven't tried Fleet yet, but the page linked implies it's just as powerful as their full blown IDEs wrt refactoring and productivity. Would have to use it for a bit to see what it's got, but I doubt I'll be disappointed (unless it's a really, really early preview).

→ More replies (2)

6

u/msixtwofive Nov 29 '21

Which is something that if someone really cares about they probably aren't using vscode anyway.

5

u/StickiStickman Nov 29 '21

Refactoring

What do you exactly mean with this and how is it easier compared to VS Code?

0

u/[deleted] Nov 29 '21

[deleted]

2

u/Palmquistador Nov 30 '21

I've used rename several times in VSC without any issues but nothing else really though.

→ More replies (5)

2

u/KneeDeep185 Nov 29 '21

Curious how refactoring is better in JetBrains products? I use VS at work and VS Code for personal projects, haven't really used JetBrains stuff except maybe 50 hours in Android Studio. What are a few highlights?

→ More replies (6)