coc-extensions / coc-powershell

PowerShellEditorService integration for coc.vim
MIT License
58 stars 9 forks source link
hacktoberfest vim

coc-powershell

Build Status Codacy Badge npm

A vim plugin powered by PowerShellEditorServices and coc.nvim to provide a rich PowerShell editing experience.

Features include:

Prerequisites

  1. Vim 8.0+ or NeoVim
  2. PowerShell Core or Windows PowerShell
  3. coc.nvim

Installation

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', ... ]

Configuration

Disable the integrated console

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
}

Recommended plugins