win32exception the system cannot find the file specified

I can’t encode the character because of this error, please help me

Exception thrown while invoking [OnOpenAssetAttribute] method ‘Unity.CodeEditor.CodeEditor:OnOpenAsset (int,int,int)’ : win32exception the system cannot find the file specified
System.Diagnostics.Process.StartWithShellExecuteEx (System.Diagnostics.ProcessStartInfo startInfo) (at <0463b2ef957545c0a51b42f372cd4fbb>:0)
System.Diagnostics.Process.Start () (at <0463b2ef957545c0a51b42f372cd4fbb>:0)
(wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
VSCodeEditor.VSCodeScriptEditor.OpenProject (System.String path, System.Int32 line, System.Int32 column) (at Library/PackageCache/com.unity.ide.vscode@1.2.4/Editor/VSCodeScriptEditor.cs:219)
Unity.CodeEditor.CodeEditor.OnOpenAsset (System.Int32 instanceID, System.Int32 line, System.Int32 column) (at <5ad584e208e14caaa9e6b2e6027e9204>:0)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

Hey, maybe I found out what´s wrong.
In this file VSCodeScriptEditor.cs whitch you can open by clicking on the link (The blue part) in you error with CTRL i guess (don´t remember already), there is a function called OnGUI. Nad there happens that mess. You have to paste this instead of your OnGUI func.

public void OnGUI()
{
Arguments = EditorGUILayout.TextField(“External Script Editor Args”, Arguments);
if (GUILayout.Button(k_ResetArguments, GUILayout.Width(120)))
{
Arguments = DefaultArgument;
}
var prevGenerate = EditorPrefs.GetBool(vscode_generate_all, false);
var generateAll = EditorGUILayout.Toggle(“Generate all .csproj files.”, prevGenerate);
if (generateAll != prevGenerate)
{
EditorPrefs.SetBool(vscode_generate_all, generateAll);
}
m_ProjectGeneration.GenerateAll(generateAll);
HandledExtensionsString = EditorGUILayout.TextField(new GUIContent("Extensions handled: "), HandledExtensionsString);
}

(There are some Settings functions that you have to delete)

Then it should continue JUST with public void CreateIfDoesntExist() and so on…

It is probably hard to understand so the part of that code should looks like this


And there it somehow continues.