#VSCode + Unity

1 messages Β· Page 1 of 1 (latest)

ornate thicket
#

Let's use a thread, I think this could be a long one

barren edge
#

If you're going to tell me to use VS or Rider

#

I understand why

#

but it's not an option for me

ornate thicket
#

No I love VSCode

barren edge
#

okay great

ornate thicket
#

I am thinking of independently picking up where deitry left off

#

But that hasn't happened yet

barren edge
#

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

ornate thicket
#

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?

barren edge
#

yes, I am

ornate thicket
#

Nice 😎

barren edge
#

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

ornate thicket
#

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)

ornate thicket
#

Thanks!

barren edge
#

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?

ornate thicket
#

The first. It still works quite well.

#

I wish I had time to maintain all these myself πŸ˜‚

barren edge
ornate thicket
#

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

barren edge
# ornate thicket Top left > install by name

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!

ornate thicket
#

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)

barren edge
#

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.

bronze pilot
ornate thicket
#

Yes exactly

bronze pilot
#

(I am a Rider stan though πŸ˜„ can't use anything else without crying)

ornate thicket
#

It's the only one I haven't tried yet, I'm too into the VSCode weeds to change now

bronze pilot
#

You really should, can't you get it 'for free' at Unity?

ornate thicket
#

Oh sure, but that's not a transferrable skill- besides having a single VSCode (GitHub) account for work and home is really good

barren edge
#

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

bronze pilot
#

Might be better now 2022.3 is out. But I understand, it can be a hog at times

barren edge
#

and haven't looked back

ornate thicket
barren edge
#

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

bronze pilot
ornate thicket
#

Ah!

bronze pilot
#

Rider has a new UI that I'm using rn

ornate thicket
#

that's always really neat. how's the debugger?

barren edge
#

btw giorgos is there any way to make VSCode not think that Start(), Awake(), Update(), etc. are unused functions?

bronze pilot
#

As good as any other one. I've not compared debuggers to really know the difference. It's resharper + everything else that keeps me

barren edge
#

assuming you've got nothing particularly sensitive open

ornate thicket
barren edge
#

I know a lot of similar things allow you to do //ignore Warning once or something similar

bronze pilot
barren edge
#

might give it a try, especially on my desktop

ornate thicket
#

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

barren edge
#

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

bronze pilot
#

I tried Fleet and it seemed really underbaked. It'll probably get better really fast though, I really liked the concept

barren edge
#

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

ornate thicket
#

"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

ornate thicket
#

What I love about VSCode is I can write my own extensions for it and use whatever combination of tools I want

barren edge
#

if a programming language exists, you can use it in vscode

bronze pilot
#

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 πŸ˜›

barren edge
ornate thicket
bronze pilot
#

Hopefully when it all comes around in the future it won't be a huge pain in the ass

ornate thicket
#

But you can make it work

barren edge
#

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

bronze pilot
#

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": false to 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

ornate thicket
#

ok yeah

barren edge
#

the useModernNet thing is a pain, took me ages to get that one done

bronze pilot
#

and now you also have to install the VS Code Editor package πŸ˜„

barren edge
#

(which is now deprecated)

bronze pilot
#

oh and there's a deprecated debugger package too that should probably be installed... why does this list keep going

barren edge
ornate thicket
#

It is also not supported by deitry anymore

#

I made a fork but I have yet to go through the code

barren edge
#

even on the alpha build

ornate thicket
#

Yeah it's still working thankfully

barren edge
#

oh also can we pretty pretty please get a patcher for unity hub

#

rather than completely reinstalling every new editor build

ornate thicket
#

Not my area at all but big yes

barren edge
#

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

bronze pilot
#

An... optional patcher

ornate thicket
bronze pilot
#

I more mean that even installing patch versions can sometimes break things, so it's nice being able to roll back by just uninstalling the new one πŸ˜„

#

I just want to be able to get to the patch notes from the hub πŸ˜