I have just downloaded unity and saw that now it supports Visual studio code, I downloaded it and made it the default editor.
After trying to edit a script, it prompted
https://forum.unity.com/threads/cant-get-vscode-to-work-properly-with-unity.538224/
there are people that found a workaround. unityoracle user said: "This issue is that Unity Editor expects the file used to launch VSCode to have a specific name. " and: "Specifically, creating a symlink named "code" that opens VSCode fixed this issue"