Custom tabexpansion tooltip shows in ISE but not VS Code
See original GitHub issueISE

VS Code

Script
function MyTestCompletion {
param($wordToComplete, $commandAst)
$commandTree = & {
New-CommandTree build "Compile the current package" {
New-CommandTree "--quiet" "output printed to stdout"
New-CommandTree "--package" "Package to build (see `cargo help pkgid`)"
New-CommandTree "--all" "for --workspace (deprecated)"
New-CommandTree "-workspace" "all packages in the workspace"
New-CommandTree "-exclude" "Exclude packages from the build"
}
}
Get-CommandTreeCompletion $wordToComplete $commandAst $commandTree
}
Register-ArgumentCompleter -CommandName mytest -Native -ScriptBlock $function:MyTestCompletion
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
VSCode not showing @returns on tooltip's function description
I'm using VSCode, with Node.js and let's say I have a function: /** * Check if a user is an admin. * *...
Read more >How to replicate the ISE experience in Visual Studio Code
To do this, open the command palette ( F1 OR Ctrl + Shift + P OR Cmd + Shift + P on macOS)...
Read more >PowerShell TabCompletion++ or TabCompletion
This module includes the custom tab completers for some PowerShell which don't have them and some for legacy programs. Think about that for...
Read more >Chapter 15. The PowerShell ISE and debugger
The PowerShell ISE editor is built on the same editor control used in recent versions of Microsoft Visual Studio and the Expression Blend...
Read more >PSFramework.psm1 0.10.29.160 - PowerShell Gallery
Major -lt 6) -or ($PSVersionTable. ... End it here, do not load compiled code below ... The tooltip to show in tooltip-aware hosts...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I’ve got a fix out for this. ^
Here’s the log, let me know if I need to provide other info.
vscode.log