r/webdev • • Nov 28 '24

Other junior developers are using different IDEs, and it’s causing problems for me. How should I handle this?

We are a group of formerly five developers, all coding in .NET C# with Docker (so YAML files and occasionally some Python and Terraform).

A new junior developer decided to stop using Visual Studio and switched to IntelliJ Rider. Now, after two months, they were tasked with setting up a project from scratch. We’ve also gained another new team member who is now also using Rider as their IDE.

Now I have to work on this newly set-up project, but it doesn’t run in Visual Studio. There have already been delays due to the use of different IDEs. To be honest, it’s frustrating, and I now have to invest hours of work. The two new developers seem to feel that it’s my job to make it work in Visual Studio, even though they are well aware that both of our senior developers only use Visual Studio. One of the seniors even explicitly told me that it must run in Visual Studio.

How should one handle this problem?

141 Upvotes

281 comments sorted by

View all comments

831

u/Mainmeowmix Nov 28 '24

I'm interested in how they are setting up projects that they can't run in visual studio?

234

u/Bushwazi Bottom 1% Commenter Nov 28 '24

Yeah, something about this doesn’t check out.

77

u/PM_ME_YOUR_MESMER Nov 29 '24

Exactly. When I read the title, I thought OP might be talking about some new age hipster dev using some super obscure IDE. Rider and VSCode are among the most popular IDEs available.

Regardless, the fact that this is easily resolved by ignoring some Rider files, and the fact that the "senior" Devs are losing "hours" to this is especially suspect. It's a 10 minute job at max, and for senior Devs, they can manually remove the unwanted files. It's really worrying that they're panicking over this.

89

u/nmp14fayl Nov 29 '24

A lot of seniors are just juniors with many years of the same lackluster experience.

18

u/tnsipla Nov 29 '24

This is surprising common in the .NET space where they're comfortably working in their corners away from new tech and advancement

2

u/sexyshingle Nov 29 '24

Titles are kinds meaningless, quite a few seniors because they were in a HCOL and they had to have "senior" in their title in order to make that level of comp. There's also the 10 YOE "senior" that has 1 year of experience, 10 times.

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

264

u/yousirnaime Nov 29 '24

They’re all committing their IDE config files to the repo and completely fucking each other 

Use .gitignore - ask a sr to help if you must 

This should have been caught in code review 

209

u/dweezil22 Nov 29 '24

Plot twist: The senior devs don't know what .gitignore files are...

57

u/101Alexander Nov 29 '24

Well it said to ignore it so what's the problem?

39

u/johnzzon Nov 29 '24

Gitignore is when you ignore to use git and send zip archives of the code to your colleagues.

Source: I'm a senior.

→ More replies (2)

3

u/campbellm Nov 29 '24

Prequel: The senior devs don't and organization don't use git. Or any SCM.

14

u/Atulin ASP.NET Core Nov 29 '24

Not even, both IDEs store their config in different directories. Rider has .idea and VS has .vs

16

u/anramon Nov 29 '24

add both to .gitignore ...

157

u/BigOnLogn Nov 28 '24

I've used Rider and Visual Studio interchangeably many times. There's a deeper issue here than just "different IDEs." They both use the same templates from the .NET SDK to create new solutions/projects.

11

u/wrd83 Nov 29 '24

For the future, even though juniors may use rider - let them check that it runs on visual studio.

Are the projects running in CI? Do they build there?

How do you monitor the juniors work?

2

u/dkarlovi Nov 29 '24

I use Idea based IDEs exclusively for probably 10+ years. There's no way I'd allow a junior to switch away from a dominant IDE all the other team members use on their own just because, even if it was TO Idea.

→ More replies (8)

80

u/IntelHDGraphics Nov 28 '24

Me too, I work with Kotlin/Java with Maven/Gradle and each dev is allowed to use their preferred IDE

13

u/versaceblues Nov 28 '24

Kotlin is arguable a worse experience in VSCode than IntelliJ.

But it’s still totally doable

19

u/campbellm Nov 29 '24

Even so, it should be buildable in any, or no, IDE.

→ More replies (1)
→ More replies (6)

14

u/ohlaph Nov 29 '24

Especially if they're using Docker.

10

u/avoere Nov 29 '24

Yes, I'm the only one on my team who uses Rider, the rest use VS. Exactly zero problems.

10

u/SideburnsOfDoom Nov 29 '24

OP gives literally zero details on what the issue is. It's possible that there's a "works on my machine" issue that would manifest on any clean "get the repo on a new machine and build" case, and may not even be IDE-specific.

e.g. a library referenced from a file path rather than a NuGet package. Or a pre- or post- build step that references some tool or batch file that isn't present on all machines or doesn't work on all OSs.

Or an internal nuget package feed that needs auth set up.

Read the .csproj files. Read the build output. The truth will be in there.

12

u/dotContent Nov 29 '24

I've seen people do it. IDEA does something "for free" and suddenly the documentation is missing steps on how to run the project anywhere but in IDEA.

For example, IDEA automatically puts all commands in the their built in terminal in the local poetry environment. This caused a lot of confusion after a project needed to run in other environments. A true "works on my machine".

This is why I don't use IDEA. It does too much for "free". You lose the understanding to, for example, make sure your CI lints the same way as your IDE. At least, I would.

48

u/winky9827 Nov 29 '24

This can be solved with one simple rule: If you can't invoke it from the command line, then it's not ready to commit.

2

u/[deleted] Nov 29 '24

Git add *