2016-08-10 2 views
0

VS 코드에서 .history의 일치 항목을 찾아 정의로 이동하고 심볼 검색 결과를 찾습니다.히스토리를 제외하고 정의로 이동하여 심볼 결과 찾기

내가 AddSidebarItems 메서드를 검색합니다. 당신이 볼 수 있듯이 그것은 단지 6 경기가 있습니다. 내가 "기호를 찾을 수 있습니다"또는 "정의로 이동"을 선택 사용할 때

Search Accross all Files

는하지만, 잘못된 결과가 많이에서 크리프.

Go to definition

Find symbol

가 위로 마우스를 결과는 .history입니다.

Hovering over result

내 사용자 설정에 search.exclude.history을 추가하지만, 여기에 영향을 갖고있는 것 같다하지 않습니다.

"files.exclude": { 
     "**/.git": true, 
     "**/.svn": true, 
     "**/.hg": true, 
     "**/.DS_Store": true, 
     "**/.history": true 
    }, 
    "search.exclude": { 
     "**/node_modules": true, 
     "**/bower_components": true, 
     "**/.history": true 
    } 

답변

1

여기에이 문제를 참조하십시오 : 기본적으로 https://github.com/Microsoft/vscode/issues/3260

을 지금, 당신은 전체 역사를 지우려면 Clear Editor History 명령 (맥에 cmd+shift+p)를 사용할 수 있습니다. 또는 개별 항목에 대한 Remove from Editor History 명령

관련 문제