문제 설명
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".
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.
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 JamesThomasMoon、Darin)
참조 문서