VSCode powershell 함수 서명 인텔리센스 제안 (VSCode powershell function signature intellisense suggestions)


문제 설명

VSCode powershell 함수 서명 인텔리센스 제안 (VSCode powershell function signature intellisense suggestions)

VSCode가 열린 괄호 안에 powershell 함수 서명을 표시하도록 하고 싶습니다.

예를 들어, file.ps1 파일을 생성하는 경우 Powershell 확장을 활성화한 다음 다음을 입력합니다. 편집기로

"my string".Replace(

커서가 ( 뒤에 있을 때 가능한 함수 서명 매개변수를 표시하는 팝오버 대화 상자를 원합니다.

나는 System.String.Replace에는 여러 함수 매개변수가 있습니다.. Intellisense가 다음과 같은 팝오버를 표시하도록 하고 싶습니다.

Replace(Char, Char)
Replace(String, String)
Replace(String, String, StringComparison)
Replace(String, String, Boolean, CultureInfo)

VSCode intellisense에서 powershell 함수 서명 팝오버를 표시하려면 어떻게 해야 합니까?


참조 솔루션

방법 1:

When I delete the ending "e" in "Remove", and retype the "e", this drop down appears. Likewise, if in the middle of typing "Replace", I press Ctrl+Space, as described here, the dropdown box appears. At far right of this box is a little arrow that when you move your mouse over will pop up another smaller white box saying "Read More". enter image description here

When I click the arrow, or pressing Ctrl+Space again, it will expand another box to the right. If I move my mouse over that text and wait a second, a smaller white box appears that is a little easer to read. enter image description here

Afaik, this is mostly what VSCode has to offer for intellisense. If this isn't working for you, then let us know and hopefully someone can figure out why.

(by JamesThomasMoonDarin)

참조 문서

  1. VSCode powershell function signature intellisense suggestions (CC BY‑SA 2.5/3.0/4.0)

#visual-studio-code #intellisense #powershell






관련 질문

TypeScript, VSCode: vscode의 내부 버전으로 전환할 때 keyof 유형이 예상대로 작동하지 않습니다. (TypeScript, VSCode: keyof type not working as expected when switching to insider version of vscode)

Visual Studio Code가 이상하게 작동합니다. (Visual Studio Code acts weird)

거짓 긍정 "연결할 수 없는 코드가 감지되었습니다.ts(7027)"? (False positive "Unreachable code detected.ts(7027)"?)

미니맵에서 Visual Studio Code 하이라이트 선택(스크롤바 아님) (Visual Studio Code highlight selection on minimap (not scrollbar))

소품과 값 사이에 공백을 적용하기 위한 Sass linting 규칙이 VS Code에서 잘못 작동합니까? (Is the Sass linting rule for enforcing a space between the prop and value working incorrectly with VS Code?)

VSCode(Mac) 2020의 C++ std_lib_facilities.h 파일 (C++ std_lib_facilities.h file in VSCode (Mac) 2020)

pytest를 사용하여 VSCODE에서 python 테스트 설정 문제 (Issues setting up python testing in VSCODE using pytest)

Coderunner 문제 Mac (Coderunner issues Mac)

디버깅 작업 전환을 위한 VisualStudio Code 바로 가기 키 (VisualStudio Code shortcut key for switching debugging task)

vs 코드에서 PHP 자동 완성이 작동하지 않습니다 (PHP auto complete in vs code doesn't work)

VSCode powershell 함수 서명 인텔리센스 제안 (VSCode powershell function signature intellisense suggestions)

iPython 셸에서 인라인으로 플롯할 수 없음(터미널 및 VScode 터미널 창) (Can't plot inline in iPython shell (Terminal and VScode terminal window))







코멘트