Visual Studio Code File Preview vs Open

Hi all,

Just a quick tip regarding the VS Code preview functionality. I’m currently in the “Setting Up VS Code in Unreal” lecture and the preview functionality (shown by italicized filenames) was mentioned. I used VS Code in a previous job and it drove my old boss nuts to have that preview functionality. He didn’t like that you had to either 1) edit the file or 2) double-click to open it in “edit” view. At that time, I found that the preview functionality can be turned off and you can simply single-click on a file to open it in “edit” view. Just go to Edit > Settings > search “preview” > toggle off “Workbench > Editor: Enable Preview” and it will allow you to single-click to open. Bonus: No restart is required!

image

Quick disclaimer: I don’t use VS Code for game development, but I really like it for software dev or web dev. I use Visual Studio Community 2019 where I can simply because I’m used to it.

tl;dr: You CAN turn off preview functionality if it is bothering you. Edit > Settings > search “preview” > toggle off “Workbench > Editor: Enable Preview”.

Hope this helps!

1 Like

Privacy & Terms