Ubuntu in vscode workspace can not open after saving

device

  Ubuntu16.04

  vscode1.40.1

 

background

  Android this time looking at the source, before looking at a version of the low, less than the code, so the whole project directly with vscode open so you can see. After two world had a Android8.1 source, the amount of code several times before, open the project with vscode become particularly slow, but not so that the code references the jump, we intend to open only to look at the current module . But when I save a workspace, but can no longer vscode open.

  Add several directories to the workspace, and then save

  

   It can be seen that the directory has the files in the

  

 

 

   

 

 

   But the open workspace with vscode again, in just the directory but can not find the file you just saved

  

 

 

   Open directly from the recently opened files in just the saved workspace, but can only be opened in text form

  

 

 

   

 

 

 

 

 

Solution

  Search through a variety of positions vscode work area, and I did the same problem, eventually I'm going to give up, found such a tutorial [ VSCode multi-workspace folder ],

  Found him save time, will add the extension .code-workspace [the default], but I did not save time.

   

 

   So, try to save themselves the time to add the extension manually.

  

 

   Now select Open again the work area, you can find just a file, click the Open button is selected will be able to open the saved workspace

 

 

   

 

Guess you like

Origin www.cnblogs.com/JOUO4/p/11886794.html