#ide machine broke
1 messages · Page 1 of 1 (latest)
sure
which code will give you the path to the executable
should be able to Browse to it from the external tools settings
so i type which code?
when you run a command, your shell runs through a series of places the program could be
snap/bin/code
try using Browse and then going to /snap/bin/code
i never tried to set it up with a snap'd Code
but that's probably what you want to do
I'm open to try the debian version but the debian version didn't install properly so I used the snap version
also, to be sure before we continue:
- You have
Visual Studio Editor2.0.20 installed - You have no compile errors
are these both true?
Lemme check the compile errors
Console is empty
Compile errors will prevent new packages from activating
also try to enter play mode
in case you've got errors filtered
as long as the game starts, you're fine
alright
now check that you have the right version of the package
yes
brb
okay, so what do you see in that editor dropdown?
nothing other than codepage whatever that is
it's been there since day 1
Set it to VS via browse
should I regen project files?
also Unity has recognised the editor
aaaand nothing worked
everything is still in that greyed our state in the IDE
you should regen project files, then close Code entirely
and then double click a script asset to open the editor
that's what I did
check if it's creating .csproj files
regened project files, closed code before that then double clicked a script
how?
look in the project folder
they'll be in the root
also, make sure that you've installed the VSCode extensions the instructions call for
can you screenshot Code after trying to open a script asset?
there are no .csproj, but instead these meta files
hit ctrl-shift-U to open the Output window
set it to C# and see if any errors are in there
that bind does nothing
i opened output terminal
AH! error
in C# the terminal says that no compatible . NET is found
but I have that extension already... what
that suggests that it's failing to download the runtime
SOrry! i couldnt reply @pure stone
i was busy helping someone with UI stuff :p
heres the error i got ```
Failed to find dotnet info from path, falling back to acquire runtime via ms-dotnettools.vscode-dotnet-runtime
No compatible .NET runtime found. Minimum required version is 7.0.
Dotnet path: /home/newHomeDir/.config/Code/User/globalStorage/ms-dotnettools.vscode-dotnet-runtime/.dotnet/7.0.10/dotnet
Activating C# + C# Dev Kit + C# IntelliCode...
[Info - 20:12:18] [Program]Language server initialized
im going to install .NET
do i get the SDK or the RUntime?
I had to create a second homedir
it can't find a manually installed runtime, so it uses one that was downloaded by the dotnet-runtime extension
it looks like things started correctly
oh?
okay then
but still nothing is highlighted
do you think i should get .NET just to be safe
one thing I don't get is why you can't see a list of projects anymore
you used to be able to click down here
and actually pick one of the .csproj files
nah, it's loading
also check the "C# Dev Kit" output
also, check the Solution Explorer window
ctrl-shift-p, "solution explorer"
that'll bring it up
here's mine, showing 14 loaded assemblies
lots of stuff there as well... a LOT
ah, you probably generated .csproj files for more stuff than I did
i have no idea tbf, i didnt even know i had so many .csproj files
it's correctly flagging that you aren't using anything from System.Collections or System.Collections.Generic, which is promising
yes, let me try my movement script
usually the variable type is green
usually the variables are highlighted like this
this is a pretty old hoto
photo
well, that is a different theme
so it's not offering completions if you start typing something like Destroy?
nope, not at all
yes, but notice how transform, vector3 are coloured
Fixed it : Solution, Use Dark+ theme and not VS's default dark theme.
Also install .NET. Dark+ did not work without .NET for some reason
my thoughts exactly