Поделиться через


Accessibility in Windows PowerShell ISE

This topic describes the accessibility features of Windows PowerShell Integrated Scripting Environment (ISE) that you might find helpful.

Microsoft is committed to making its products and services easier for everyone to use. The following topics provide information about the features, products, and services that make Windows PowerShell ISE more accessible for people with disabilities.

In addition to accessibility features and utilities in Microsoft Windows, the following features make Windows PowerShell ISE more accessible for people with disabilities:

  • Keyboard Shortcuts

  • Syntax Coloring Table and the ability to modify several other color settings using the $psISE.Options scripting object.

  • Text Size Change

How to change the size and location of the Console and Script Panes

You can use the following steps to change the size and location of the Console Pane and the Script Pane. When you open the Windows PowerShell ISE again, the size and location changes you made will be retained.

To resize the Script Pane and Console Pane

  1. Pause the pointer on the split line between the Script Pane and Console Pane.

  2. When the mouse pointer changes to a two-headed arrow, drag the border to change the size of the pane.

To move the Script Pane and Console Pane

Выполните одно из следующих действий:

  • To move the Script Pane above the Console Pane, press CTRL+1 or, on the toolbar, click the Show Script Pane Top icon, or in the View menu, click Show Script Pane Top.

  • To move the Script Pane to the right of the Console Pane, press CTRL+2 or, on the toolbar, click the Show Script Pane Right icon, or in the View menu, click Show Script Pane Right.

  • To maximize the Script Pane, press CTRL+3 or, on the toolbar, click the Show Script Pane Maximized icon, or in the View menu, click Show Script Pane Maximized.

  • To maximize the Console Pane and hide the Script Pane, on the far right edge of the row of tabs, click the Hide Script Pane icon, in the View menu, click to deselect the Show Script Pane menu option.

  • To display the Script Pane when the Console Pane is maximized, on the far right edge of the row of tabs, click the Show Script Pane icon, or in the View menu, click to select the Show Script Pane menu option.

Сочетания клавиш для редактирования текста

При редактировании текста можно использовать следующие сочетания клавиш.

Действие Keyboard Shortcuts Use in
Копировать CTRL+C Script Pane, Console Pane
Cut CTRL+X Script Pane, Console Pane
Find in Script CTRL+F Панель сценариев
Find Next in Script F3 Панель сценариев
Find Previous in Script SHIFT+F3 Панель сценариев
Вставить CTRL+V Script Pane, Console Pane
Повторить CTRL+Y Script Pane, Console Pane
Заменить в скрипте CTRL+H Панель сценариев
Сохранить CTRL+S Панель сценариев
Выбрать все. CTRL+A Script Pane, Console Pane
Отменить CTRL+Z Script Pane, Console Pane

Сочетания клавиш для выполнения скриптов

При выполнении скриптов в области сценариев можно использовать следующие сочетания клавиш.

Действие Keyboard Shortcut
New CTRL+N
Открыть CTRL+O
Выполнить F5
выполнить выбор F8
остановить выполнение CTRL+BREAK. CTRL+C can be used when the context is unambiguous (when there is no text selected).
Tab (to next script) CTRL+TABNote: Tab to next script works only when you have a single PowerShell tab open, or when you have more than one PowerShell tab open, but the focus is in the Script Pane.
Tab (to previous script) CTRL+SHIFT+TABNote: Tab to previous script works when you have only one PowerShell tab open, or if you have more than one PowerShell tab open, and the focus is in the Script Pane.

Сочетания клавиш для настройки представления

Для настройки представления в Windows PowerShell ISE можно использовать следующие сочетания клавиш. Они доступны во всех панелях приложения.

Действие Keyboard Shortcut
Go to Console Pane CTRL+D
Перейти к панели сценариев CTRL+I
Показать область скриптов CTRL+R
Скрыть область скриптов CTRL+R
Move Script Pane Up CTRL+1
переместить область скриптов вправо CTRL+2
Maximize Script Pane CTRL+3
Zoom In CTRL+PLUS
Zoom Out CTRL+MINUS

Сочетания клавиш для отладки скриптов

При отладке скриптов можно использовать следующие сочетания клавиш.

Действие Keyboard Shortcut Use in
Run/Continue F5 Панель сценариев при отладке сценария
Step Into F11 Панель сценариев при отладке сценария
Step Over F10 Панель сценариев при отладке сценария
Step Out SHIFT+F11 Панель сценариев при отладке сценария
Отобразить стек вызовов CTRL+SHIFT+D Панель сценариев при отладке сценария
List Breakpoints CTRL+SHIFT+L Панель сценариев при отладке сценария
Toggle Breakpoint F9 Панель сценариев при отладке сценария
Remove All Breakpoints CTRL+SHIFT+F9 Панель сценариев при отладке сценария
остановить отладчик SHIFT+F5 Панель сценариев при отладке сценария

Примечание.

Вы также можете использовать сочетания клавиш, предназначенные для консоли Windows PowerShell, когда отлаживаете сценарии в среде Windows PowerShell ISE. To use these shortcuts, you must type the shortcut in the Console Pane and press ENTER.

Действие Keyboard Shortcut Use in
Продолжить C Панель консоли при отладке скрипта
Step Into S Панель консоли при отладке скрипта
Step Over V Панель консоли при отладке скрипта
Step Out O Панель консоли при отладке скрипта
Repeat Last Command(Step Into/Over) ENTER Панель консоли при отладке скрипта
Отобразить стек вызовов K Панель консоли при отладке скрипта
остановить отладку Q Панель консоли при отладке скрипта
List the Script L Панель консоли при отладке скрипта
Display Console Debugging Commands H or ? Панель консоли при отладке скрипта

Сочетания клавиш для вкладок Windows PowerShell

При использовании вкладок Windows PowerShell можно использовать следующие сочетания клавиш.

Действие Keyboard Shortcut
закрыть вкладку PowerShell CTRL+W
новая вкладка PowerShell CTRL+T
Предыдущая вкладка PowerShell CTRL+SHIFT+TAB (Only when no files are open on any PowerShell tab)
Следующая вкладка Windows PowerShell CTRL+TAB (Only when no files are open on any PowerShell tab)

Сочетания клавиш для запуска и выхода

You can use the following keyboard shortcuts to start the Windows PowerShell console (powershell.exe) or to exit Windows PowerShell ISE.

Действие Keyboard Shortcut
Exit ALT+F4
Start powershell.exe (Windows PowerShell console) CTRL+SHIFT+P

Breakpoint Management

For the visually impaired, breakpoint information is available through the cmdlets for managing breakpoints, such as Get-PSBreakpoint and Set-PSBreakpoint. For more information please see 'How to manage breakpoints' in How to Debug Scripts in the Windows PowerShell ISE.

См. также

Знакомство с Windows PowerShell ISE