2017-09-26 3 views
0

최근에 프로젝트에서 친구와 작업 할 때 Visual Studio 코드를 설치하여 랩톱에서 물건을 만지기 만하면 폴더의 기본 디렉터리를 설정하는 방법을 궁금해했습니다. 에디터를 열 때마다 폴더를 설정해야하는 것은 짜증나는 일입니다.Visual Studio 코드 기본 폴더

"terminal.integrated.cwd": "/home/oldman/C#/ASP.MVC" 

: 같은은 GNU 리눅스/유닉스에서 예를 들어

"terminal.integrated.cwd": "" 

:

// An explicit start path where the terminal will be launched, this is used as the current working directory (cwd) for the shell process. This may be particularly useful in workspace settings if the root directory is not a convenient cwd. 

그래서, 당신은이 변수를 편집 할 수 있습니다 VS 코드의 말씀 여기

+0

[튜토리얼 : 프로젝트의 기본 위치 변경] (https://msdn.microsoft.com/en-us/library/34c29fes(v=vs.100).aspx)에서이 자습서를 확인하십시오. –

답변

0

Windows의 경우

"terminal.integrated.cwd": "C:\Users\oldman\C#\ASP.MVC" 

터미널은이 현재 작업 디렉토리 (cwd) 에서 루트 디렉토리을 탐색기에 설정합니다 (여기에서 "/home/oldman/C#/ASP.MVC"는 Linux, "C : \ Users" \ oldman \ C# \ ASP.MVC ").