Vagrant 개발 환경에서도 고성능 편집기 (VSCode)로 앱을 만들 수있게하는 단계
환경
Vagrant 2.2.9
macOS 10.15.4
확장 SSH FS 추가
확장 기능 SSH FS를 추가하려면 "보기"→ "확장 기능"에서 검색에서 "SSH FS"로 검색하여 설치합니다.

그리고 인스톨한 뒤, 파일 일람의 아래쪽에 「SSH FILE SYSTEM」탭이 있는 것을 확인할 수 있을까 생각합니다. 현재 파일은 아무 것도 없습니다.
※저는 미리 작성하고 있기 때문에 ssf-fs라는 파일이 존재하고 있습니다.

연결 설정하기
가상 환경을 구축한 디렉토리로 이동하여 다음 명령을 실행합니다.
terminal$ vagrant ssh-config
자신의 출력 결과가 표시됩니다.
terminalHost homestead
HostName 127.0.0.1
User vagrant
Port [port No.]
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /Users/[username]/Homestead/.vagrant/machines/homestead/virtualbox/private_key
IdentitiesOnly yes
LogLevel FATAL
ForwardAgent yes
다음에 방금 전의 「SSH FILE SYSTEMS」항목을 오른쪽 클릭해 「Connect as Workspace folder」로부터 파일을 작성해 방금전의 출력 정보를 입력해 갑니다.

입력하는 내용은 아래와 같습니다.
확장 기능 SSH FS를 추가하려면 "보기"→ "확장 기능"에서 검색에서 "SSH FS"로 검색하여 설치합니다.

그리고 인스톨한 뒤, 파일 일람의 아래쪽에 「SSH FILE SYSTEM」탭이 있는 것을 확인할 수 있을까 생각합니다. 현재 파일은 아무 것도 없습니다.
※저는 미리 작성하고 있기 때문에 ssf-fs라는 파일이 존재하고 있습니다.

연결 설정하기
가상 환경을 구축한 디렉토리로 이동하여 다음 명령을 실행합니다.
terminal$ vagrant ssh-config
자신의 출력 결과가 표시됩니다.
terminalHost homestead
HostName 127.0.0.1
User vagrant
Port [port No.]
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /Users/[username]/Homestead/.vagrant/machines/homestead/virtualbox/private_key
IdentitiesOnly yes
LogLevel FATAL
ForwardAgent yes
다음에 방금 전의 「SSH FILE SYSTEMS」항목을 오른쪽 클릭해 「Connect as Workspace folder」로부터 파일을 작성해 방금전의 출력 정보를 입력해 갑니다.

입력하는 내용은 아래와 같습니다.
$ vagrant ssh-config
Host homestead
HostName 127.0.0.1
User vagrant
Port [port No.]
UserKnownHostsFile /dev/null
StrictHostKeyChecking no
PasswordAuthentication no
IdentityFile /Users/[username]/Homestead/.vagrant/machines/homestead/virtualbox/private_key
IdentitiesOnly yes
LogLevel FATAL
ForwardAgent yes
입력 후 save하면 Vagrant의 가상 환경에서도 VScode에서 앱을 작성 및 편집 등을 할 수 있도록 해줍니다 ^_^
Reference
이 문제에 관하여(Vagrant 개발 환경에서도 고성능 편집기 (VSCode)로 앱을 만들 수있게하는 단계), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://qiita.com/chisaki0606/items/982f296389ffcb850994텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)