Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 2.3 KB

ise_compatibility.md

File metadata and controls

76 lines (50 loc) · 2.3 KB

ISE Compatibility

While the PowerShell extension for VSCode does not seek 100% compatibility/reproduction of features in the PowerShell ISE, there are features in place to make the VSCode experience more natural for users of the ISE.

This document tries to list settings you can configure in VSCode to make the user experience a bit more familiar compared to the ISE.

Key bindings

  • Ctrl+B Interrupt and break debugger — F6

Tab-completion

To enable more ISE-like tab-completion, add this setting:

"editor.tabCompletion": "on"

This is a setting added directly to VSCode (rather than in the extension), so its behavior is determined by VSCode directly and cannot be changed by the extension.

No focus on console when executing

To keep the focus in the editor when you execute with F8:

"powershell.integratedConsole.focusConsoleOnExecute": false

The default is true for accessibility purposes.

Do not start integrated console on startup

To stop the integrated console on startup, set:

"powershell.integratedConsole.showOnStartup": false

Note that the background PowerShell process will still start, since that provides intellisense, script analysis, symbol navigation, etc. But the console will not be shown.

Colorscheme

There are a number of ISE themes available for VSCode to make the editor look much more like the ISE.

In the Command Palette (Ctrl+Shift+P) type theme to get Preferences: Color Theme and press Enter. In the drop down list, select PowerShell ISE.

Open in the ISE

If, after everything, you want to open a file in the ISE, you can use Shift+Alt+P.

Other resources

  • 4sysops has a great article on configuring VSCode to be more like the ISE.

More settings

If you know of more ways to make VSCode feel more familiar for ISE users, please contribute to this doc. If there's a compatibility configuration you're looking for, but you can't find any way to enable it, please open an issue and ask away!

We are always happy to accept PRs and contributions as well!