Visual Studio Code에서 자동 완성 방지
아직 황금 시간대에 아직 준비되지 않은 새로운 Visual Studio Code를 사용하고 있지만 현재 겪고있는 문제를 해결하고 싶습니다.
SQL 파일에서를 입력 할 때마다 블록을 작성 하는 것처럼 case자동으로 추가됩니다 . 댓글에 있거나 단어의 일부로 사용하는 경우 (예 :) . 자동 완성 기능이 좋지 않기 때문에 모든 말도 안되는 소리를 완전히 비활성화하고 싶습니다.end
case
Case
select CaseID from...
내가 찾을 수있는 유일한 구성 옵션은 이미 설정했습니다.
"editor.autoClosingBrackets": false,
"editor.suggestOnTriggerCharacters": false,
이것을 막는 방법에 대한 다른 아이디어가 있습니까?
편집 :begin (추가 end
)와 같은 것들에 대해서도 사실이며 더 많이 확신합니다.
최신 버전의 Visual Studio Code에서
"editor.acceptSuggestionOnCommitCharacter": false
구성은이 동작을 비활성화합니다.
이제 1 년 후 Visual Studio Code는 매우 멋지고 황금기를 맞이할 준비가되었습니다. 하지만 여전히 자동 완성 기능을 완전히 끄는 방법을 찾지 못했습니다.
하지만 문서에는 https://code.visualstudio.com/docs/editor/intellisense#_customizing-intellisense가 있습니다.
기본적으로 나는 이것을 settings.json
작업 공간에서 끄려고 시도했습니다. 그러나 나는 이것을 평가해야한다.
// Place your settings in this file to overwrite default and user settings.
{
// Controls if quick suggestions should show up while typing
"editor.quickSuggestions": false,
// Controls if suggestions should be accepted with "Enter" - in addition to "Tab". Helps to avoid ambiguity between inserting new lines and accepting suggestions.
"editor.acceptSuggestionOnEnter": false,
// Controls the delay in ms after which quick suggestions will show up.
"editor.quickSuggestionsDelay": 10,
// Enable word based suggestions
"editor.wordBasedSuggestions": false
}
현재 버전의 VS Code에서 다음을 사용자 설정에 추가합니다.
"editor.quickSuggestions.other": false
이것은 대부분의 가짜 제안을 비활성화합니다.
이것은 2019-May-17에서 저에게 효과적입니다.
"editor.acceptSuggestionOnCommitCharacter": false,
"editor.acceptSuggestionOnEnter": "off",
"editor.hover.enabled": false,
"editor.minimap.enabled": false,
"editor.parameterHints.enabled": false,
"editor.quickSuggestions": false,
"editor.quickSuggestionsDelay": 10,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestOnTriggerCharacters": false,
"editor.wordBasedSuggestions": false,
이것은 정답은 아니지만 더 나은 선택 일 수 있습니다. 증가하다:
편집자 : 빠른 제안 지연
50ms (기본값) ~ 500-1000ms.
이 경우 95 %의 시간 동안 충분할 수있는 자동 완성 옵션을 이길 수있는 0.5 초의 시간이 주어지며 경우에 따라 원하는 기능을 잃지 않을 것입니다.
사람들이 쉽게 스키밍 할 수 있도록 대답을 반복합니다. ⌘+,
또는로 설정을 엽니 다 Ctrl+,
.
{
"editor.quickSuggestions": false
}
버전 1.22.1에서 이렇게 변경했습니다.
"editor.wordBasedSuggestions": false
이것은 이미 발생한 단어의 완성을 방해합니다.
파일 -> 환경 설정 -> 설정 에서 찾을 수있는 사용자 설정 에서 위의 변경을 수행하십시오.
이것은 아마도 당신을 도울 것입니다 >> editor.acceptSuggestionOnCommitCharacter : false
참고 URL : https://stackoverflow.com/questions/32911977/prevent-autocomplete-in-visual-studio-code
'Development Tip' 카테고리의 다른 글
Composer의 자동로드 사용 (0) | 2020.11.16 |
---|---|
LINQ to 엔터티에서 LEFT JOIN? (0) | 2020.11.16 |
ASP.NET 유효성 검사기로 날짜 유효성 검사 (0) | 2020.11.16 |
데이터베이스에 파일을 저장하고 바이트 배열로 변환 하시겠습니까? (0) | 2020.11.16 |
Xcode 4에서 .xcconfig 파일을 어떻게 사용할 수 있습니까? (0) | 2020.11.16 |