A vim plugin powered by PowerShellEditorServices and coc.nvim to provide a rich PowerShell editing experience.
Features include:
- Intellisense/Completions
- Go to definition
- PSScriptAnalyzer integration
- Integrated REPL environment that shares the context with the language services
- and much more!
- Vim 8.0+ or NeoVim
- PowerShell Core or Windows PowerShell
- coc.nvim
coc-powershell
is an extension for coc.nvim
.
You can install coc.nvim
with a plugin manager like vim-plug:
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Then, use :CocInstall coc-powershell
to install.
Alternatively, you can have coc.nvim
automatically install the extension if it's missing:
let g:coc_global_extensions=[ 'coc-powershell', ... ]
You can disable the integrated console when a PowerShell file is opened by editing your coc-settings.json
file and setting powershell.integratedConsole.showOnStartup
to false
.
{
"powershell.integratedConsole.showOnStartup": false
}
- coc-snippets Used to allow snippets (requires neovim 0.4 or latest vim8).
- Can be installed with
:CocInstall coc-snippets
- Can be installed with
- vim-polyglot for syntax highlighting 🎨