Comment by Aurornis
1 month ago
> I'm curious what would stop you from opening it in restricted mode? Is it because it says browse and not edit under the button?
Have you tried it? It breaks a lot of things that I would not have expected from the dialog. It’s basically regressing to a slightly more advanced notepad.exe with better grepping facilities in some combinations of syntax and plugins.
Isn't that what you would want if you're opening an untrusted codebase?
No, I want syntax highlighting.
In the past, editors could give me syntax highlighting without opening me to vulnerabilities.
Syntax highlighting works perfectly fine in Restricted mode, at least for me.
Perhaps you have some settings you can adjust in your install to get that working?
Check the docs on this page: https://code.visualstudio.com/docs/editing/workspaces/worksp...