简体   繁体   English

Visual Studio Code不记得打开的文件/不记得“打开”文件

[英]Visual Studio Code doesn't remember opened files / won't remember “open with” files

Can't seem to find the solution for this. 似乎找不到解决方案。 My current VSCode version is the latest, 1.29.1. 我当前的VSCode版本是最新的1.29.1。

OS: Windows 10 Pro 64-bit 操作系统:Windows 10 Pro 64-bit
Bios: Phoenix BIOS SC-T v2.1 BIOS:Phoenix BIOS SC-T v2.1
Processor: IntelCore i5-5300u 处理器:IntelCore i5-5300u
Memory: 8192MB RAM 记忆体:8192MB RAM

As mentioned here , Visual Studio Code will remember opened files if the following settings are set: 如此处所述 ,如果设置了以下设置,Visual Studio Code将记住打开的文件:

files.hotExit: "onExit"
window.restoreWindows": "all",

Regarding the "open with" feature, see vscode issue 12147 for illustration: 关于“打开方式”功能,请参见vscode问题12147,以获取插图:

You need to activate that option during the install process: 您需要在安装过程中激活该选项:

https://cloud.githubusercontent.com/assets/24956907/25698735/5c140fce-30c0-11e7-95a7-45e9f4834fb5.png

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM