Visual Studio Code 파일 목록 새로 고침
Visual Studio Code (OSX의 버전 0.10.11)는 폴더의 파일을 새로 고치지 않습니다. 강제로 새로 고치는 방법이 있습니까? 현재는 전체 프로그램을 닫았다가 다시 열어야합니다.
편집 : 그 동안 파일 탐색기 위젯에 다시로드 버튼이 추가되었습니다.
workbench.action.reloadWindow
명령을 사용하십시오 . File -> Preferences -> Keyboard Shotcuts
이 명령에 대한 바로 가기로 이동하여 정의하십시오. 내 시스템에서는 Ctrl+에 배치됩니다 F5. 의 항목은 keybindings.json
다음과 같습니다.
{
"key": "ctrl+f5",
"command": "workbench.action.reloadWindow",
"when": "editorTextFocus"
}
네비게이터에서 작업 공간 루트 위로 마우스를 가져 가면 오른쪽에 4 개의 아이콘이 나타납니다. 세 번째 아이콘 인 원형 화살표는 새로 고침으로 파일 목록을 다시로드합니다.
명령 팔레트를 사용하여 창을 다시로드 할 수 있습니다.
- Open the command palette with View > Command Palette... (or Shift+Cmd+P on OS X)
- Type
reload window
and press enter
You shouldn't need to reload the entire window, just the folder list. Reloading the window will kill terminals, lose undo history, etc. You can do this using the refresh button in the explorer (second from the right):
If you find you need to do this a lot you can add a keybinding for it, for example:
{
"key": "ctrl+f5",
"command": "workbench.files.action.refreshFilesExplorer"
}
Ran across this today with VS Code 1.13.0 and in Keyboard Shortcuts I see
workbench.files.action.refreshFilesExplorer
To reload a single file:
- ⇧⌘P
- type "Revert File"
On Windows:
- Ctrl + Shift + P
- type "Revert File"
Tested in VSCode v1.18.1 on Windows
sln을 마우스 오른쪽 버튼으로 클릭합니다 (0 / n 솔루션이라고 표시됨) 대화 상자의 맨 아래 행에 프로젝트 솔루션 다시로드라고 표시됩니다. 존재하지 않는 경우, 아마도 다시로드되었을 것입니다. 빌드를 다시 실행하십시오.
v 1.27.1에서 "Ctrl + Alt + R"(2018 년 9 월 11 일 기준)
참고 URL : https://stackoverflow.com/questions/36333117/refresh-visual-studio-code-list-of-files
'program story' 카테고리의 다른 글
파이썬에서 코드 줄 사이에 걸리는 시간을 측정하는 방법은 무엇입니까? (0) | 2020.12.03 |
---|---|
Xcode 6 프로젝트 이름 변경 후 오류 : "종료 코드 1로 링커 명령이 실패했습니다 (호출을 보려면 -v 사용)" (0) | 2020.12.03 |
Spring Boot : SpringBootServletInitializer는 더 이상 사용되지 않습니다. (0) | 2020.12.03 |
Angular 방식으로 Angular2 경로에서 매개 변수를 얻는 방법은 무엇입니까? (0) | 2020.12.03 |
MySQL 저장 프로 시저에서 동적 SQL을 사용하는 방법 (0) | 2020.12.03 |