#VSCode + Unity
1 messages Β· Page 1 of 1 (latest)
If you're going to tell me to use VS or Rider
I understand why
but it's not an option for me
No I love VSCode
okay great
I am thinking of independently picking up where deitry left off
But that hasn't happened yet
Would love it if you did!
May I ask what the package on the Unity side of things provides?
Compared to the package on the VSCode side
Anyway the Unity package for VSCode sets up hooks with VSCode for Intellisense etc. Generates the sln files. It generally doesn't do very much than the Visual Studio or Rider packages just has some customizations for VSCode
If it's deprecated for you you must be using 2023 alpha?
yes, I am
Nice π
decided to give it a go, my experience with alpha and beta builds have been pretty stable with unity so far, so hoping for the best
Yeah it's a bit annoying but believe it or not the stuff the scripting team will be doing will make it easier to use VSCode (even though they dropped support for it)
We're doing our best
Thanks!
Great to hear. Should I keep the package installed, or remove it? Has it been deprecated from a "this is just not maintained anymore" perspective, or a "this shouldn't be used anymore" perspective?
The first. It still works quite well.
I wish I had time to maintain all these myself π
Is it still visible in the package manger if uninstalled, or are deprecated packages no longer viewable?
Ah I don't know that
you can always install it by its name though
Top left > install by name
I doubt they would delete it off the registry completely
Okay, great. Hoping to see vscode become more usable in future, seeing the packages for it get deprecated has been a little disheartening to see. For linux users, it was looking like you'd have to pay for rider if you wanted to use unity.
Good to see people within Unity itself still keeping it going!
As long as I'm there VSCode won't be completely dead. There are still a lot of people using it internally it's just that the team that owns it is focusing on a complete .NET modernization so they can't also support the package
I honestly think that VSCode is the best code editor out there. It's incredibly powerful and it's a shame we don't support it as a first-class citizen
There's just an overwhelming number of people using Windows for development so Visual Studio and Rider are just the default fallbacks (obvs does not apply to other platforms)
Couldn't agree more. Seems like a lot of people are actually being pulled in the helix/neovim direction these days, but every time I've tried to use them, whatever the speedup was from having such fast startup times and powerful keybindings was lost in the lack of features such as autosave and the like.
Presumably this is the .NET update. I can totally understand why it remains deprecated in the meantime
Yes exactly
(I am a Rider stan though π can't use anything else without crying)
It's the only one I haven't tried yet, I'm too into the VSCode weeds to change now
You really should, can't you get it 'for free' at Unity?
Oh sure, but that's not a transferrable skill- besides having a single VSCode (GitHub) account for work and home is really good
I used rider for a hell of a long time
but my current laptop is absolutely horrific
and it couldn't run unity and rider at the same time
literally just couldn't handle it
Moved to VSCode, since I was using it for rust and cpp anyways
Might be better now 2022.3 is out. But I understand, it can be a hog at times
and haven't looked back
2022.3 is out ?? must have missed a couple of months at work
I think VSCode has one of the cleanest UIs, if not the cleanest UI, of any IDE
which is an opinion that has got me into many fights over the years lmao
Rider 2022.3 if that's unclear
Ah!
Rider has a new UI that I'm using rn
that's always really neat. how's the debugger?
btw giorgos is there any way to make VSCode not think that Start(), Awake(), Update(), etc. are unused functions?
As good as any other one. I've not compared debuggers to really know the difference. It's resharper + everything else that keeps me
can I see a screenshot?
assuming you've got nothing particularly sensitive open
Not that I know of unfortunately
does omnisharp not have any comments or tags that it listens to to make it not flag it
I know a lot of similar things allow you to do //ignore Warning once or something similar
o shit that's actually quite nice
might give it a try, especially on my desktop
I was thinking more of global settings for it- adding to every monobehaviour script seems like a pain
Still don't know though π most of my day is in the C++ / C# Editor code land so I haven't had to think about it too much
this is my current vscode setup. will have to see the rider one with a theme to properly judge!
glad to see that jetbrains have been doing so well recently
fleet looks very promising
I tried Fleet and it seemed really underbaked. It'll probably get better really fast though, I really liked the concept
Yeah I agree, but the potential is definitely there
I gave it a go, was quite good for rust.
The lack of extensions ATM is a killer tho
"Free to use during public preview" oof
It looks pretty cool, but without the extensions / active community of VSCode it's hard to switch to it
yeah exactly
What I love about VSCode is I can write my own extensions for it and use whatever combination of tools I want
the sheer customisability of it is unreal
if a programming language exists, you can use it in vscode
what I hate about VS Code is that it's the most unconfigured and difficult to configure IDE around here and I've spent probably days of my life trying to get people to configure it or switch π
it's not that bad, I think it's more that it doesnt do things like install LSPs or add things to path for you
I could probably write a language, compiler, and debugger and they would work
Hopefully when it all comes around in the future it won't be a huge pain in the ass
yeah that's unity's fault :(((
But you can make it work
also on an unrelated note I wish more windows people used chocolatey
genuinely one of the best thing's I've ever used
the amount of time i've spent fucking about in path
and chocolatey just does it for you
like getting omnisharp was choco install omnisharp
and then it was done
and vscode just allowed it
How to configure rider: it will tell you to set Unity's external tools preferences, and then it works
How to configure VS Code:
- Download and install .NET SDK.
- If you're on windows, logout and back in.
- Install the C# extension
- Add
"omnisharp.useModernNet": falseto the settings editor - Download and install .NET Framework 4.7.1 Developer Pack
- Add VSC to Unity's external tools preferences.
- Hope
getting beginners to do all that and validate it is impossible
ok yeah
the useModernNet thing is a pain, took me ages to get that one done
and now you also have to install the VS Code Editor package π
(which is now deprecated)
oh and there's a deprecated debugger package too that should probably be installed... why does this list keep going
I mean there's the fork of it that isn't deprecated
It is also not supported by deitry anymore
I made a fork but I have yet to go through the code
it's worked pretty well for me so far
even on the alpha build
Yeah it's still working thankfully
oh also can we pretty pretty please get a patcher for unity hub
rather than completely reinstalling every new editor build
Not my area at all but big yes
I don't get fibre. I want to be on the alpha build. Why when there's an update that it probably a few megabytes in size do I need to reinstall the entire editor
it makes me very annoyed lmao
An... optional patcher
oh yeah we would never make the users upgrade that would be the end