- Windows11 22H2
- PowerShell v7.4.0
https://github.com/PowerShell/PowerShell - inshellisense
https://github.com/microsoft/inshellisense
PS C:\Users\masami> node --version
v20.9.0
PS C:\Users\masami> npm install -g @microsoft/inshellisense
added 83 packages in 19s
24 packages are looking for funding
run `npm fund` for details
npm notice
npm notice New minor version of npm available! 10.1.0 -> 10.2.4
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.4
npm notice Run npm install -g npm@10.2.4 to update!
npm notice
PS C:\Users\masami> inshellisense bind
Select your desired shell for keybinding creation
bash
zsh
fish
powershell
> pwsh
✓ successfully created new bindings
PS C:\Users\masami> is -s powershell
その後はインテリセンスが機能するようになります
オートコンプリートはこちらのリポジトリを使用している模様
https://github.com/withfig/autocomplete
[例]