5: Отображение номера строки
причина Недавно я смотрю на «Структуру данных и алгоритм — JavaScript», затем перейдите в NPMJS.ORG для поиска, я хочу найти подходящую ссылку на библиотеку и записывать его, я могу исполь.
MySQL общие операции
jdbc Транзакция: транзакция, truncate SQL заявление Transaction 100 000 хранимая процедура mysql msyql> -определить новый терминатор,Пробелов нет mysql>delimiter // mysql> -создание хранимой .
Используйте Ansible для установки и развертывания TiDB
жизненный опыт TiDB — это распределенная база данных. Настраивать и устанавливать службы на нескольких узлах по отдельности довольно сложно. Чтобы упростить работу и облегчить управление, рекомендуетс.
Последняя версия в 2019 году: использование nvm под Windows для переключения между несколькими версиями Node.js.
С использованием различных интерфейсных сред вы можете переключаться между разными версиями в любое время для разработки. Например, развитие 2018 года основано наNode.js 7x версия разработана. Тебе эт.
Шаблон проектирования — Создать тип — Заводской шаблон
Заводская модель фабрикиPattern Решать проблему: Решен вопрос, какой интерфейс использовать принципСоздайте интерфейс объекта, класс фабрики которого реализуется его подклассом, чтобы процесс создания.
Масштабирование оболочки python wing_ide
Есть ли способ увеличить масштаб в Python Shell в Wing IDE? У меня возникли проблемы с просмотром шрифта, потому что он слишком мал.
Попробуйте ctrl + + или ctrl + MouseScrollUp для быстрых изменений. Вы также можете просто изменить размер шрифта в настройках редактора.
Для Python IDLE:
В разделе «Параметры» → «Настройка IDLE»; измените размер.
Для подсказки cmd или Bash:
Щелкните правой кнопкой мыши на панели «Окно» и выберите «Свойства». Измените размер шрифта на вкладке «Шрифт». Если вы хотите, чтобы он был постоянным, сделайте то же самое в «По умолчанию» (в меню правой кнопки мыши).
Wing Python IDE
Enter editor visual mode. Unit should be one of ‘char’, ‘line’, or ‘block’.
previous-select ()
Turn on auto-select using previous mode and selection Key Bindings: VI/VIM: g v
start-select-block ()
Turn on auto-select rectangle mode (deprecated name)
start-select-char ()
Turn on auto-select mode character by character Key Bindings: Wing: Shift-F8; Brief: Shift-F8; Eclipse: Shift-F8; Emacs: Shift-F8; macOS: Shift-F8; MATLAB: Shift-F8; VI/VIM: v; Visual Studio: Shift-F8; XCode: Shift-F8
start-select-line ()
Turn on auto-select mode line by line Key Bindings: Wing: Ctrl-F8; Brief: Ctrl-F8; Eclipse: Ctrl-F8; Emacs: Ctrl-F8; macOS: Command-F8; MATLAB: Ctrl-F8; VI/VIM: Shift-V; Visual Studio: Ctrl-F8; XCode: Command-F8
start-select-rectangle ()
Turn on auto-select rectangle mode Key Bindings: Wing: Shift-Ctrl-F8; Brief: Shift-Ctrl-F8; Eclipse: Shift-Ctrl-F8; Emacs: Shift-Ctrl-F8; macOS: Shift-Command-F8; MATLAB: Shift-Ctrl-F8; VI/VIM: Ctrl-Q; Visual Studio: Shift-Ctrl-F8; XCode: Shift-Command-F8
vi-command-by-name ()
Execute a VI command by name. This implements ":" commands for the VI/Vim keyboard personality. The following subset of VI/Vim : commands are supported:
The supported directives for ‘set’ are:
vi-set (command)
Perform vi’s :set action. The command is the portion after :set. Currently supports ic, noic, ai, noai, number or nu, nonumber or nonu, ro, noro, sm, and nosm. Multiple options can be specied in one call as for :set ic sm ai
Editor Insert Mode Commands
Commands available only when editor is in insert mode (used for VI bindings and possibly others)
enter-browse-mode (provisional=False)
Enter editor browse mode Key Bindings: VI/VIM: Ctrl-V
Editor Non Modal Commands
Commands available only when the editor is in non-modal editing mode
exit-visual-mode ()
Exit visual mode and return back to default mode Key Bindings: Wing: Esc; Brief: Esc; Eclipse: Esc; Emacs: Esc; macOS: Esc; MATLAB: Esc; VI/VIM: Ctrl-[; Visual Studio: Esc; XCode: Esc
start-select-block ()
Turn on auto-select rectangle mode (deprecated name)
start-select-char ()
Turn on auto-select mode character by character Key Bindings: Wing: Shift-F8; Brief: Shift-F8; Eclipse: Shift-F8; Emacs: Shift-F8; macOS: Shift-F8; MATLAB: Shift-F8; VI/VIM: v; Visual Studio: Shift-F8; XCode: Shift-F8
start-select-line ()
Turn on auto-select mode line by line Key Bindings: Wing: Ctrl-F8; Brief: Ctrl-F8; Eclipse: Ctrl-F8; Emacs: Ctrl-F8; macOS: Command-F8; MATLAB: Ctrl-F8; VI/VIM: Shift-V; Visual Studio: Ctrl-F8; XCode: Command-F8
start-select-rectangle ()
Turn on auto-select rectangle mode Key Bindings: Wing: Shift-Ctrl-F8; Brief: Shift-Ctrl-F8; Eclipse: Shift-Ctrl-F8; Emacs: Shift-Ctrl-F8; macOS: Shift-Command-F8; MATLAB: Shift-Ctrl-F8; VI/VIM: Ctrl-Q; Visual Studio: Shift-Ctrl-F8; XCode: Shift-Command-F8
Editor Panel Commands
Commands that control splitting up an editor panel. These are available when one split in the editor panel has the keyboard focus.
split-horizontally (new=0)
Split current view horizontally. Key Bindings: Emacs: Ctrl-X 3; VI/VIM: Ctrl-W v
split-horizontally-open-file (filename)
Split current view horizontally and open selected file
split-vertically (new=0)
Split current view vertically. Create new editor in new view when new==1. Key Bindings: Brief: F3; Emacs: Ctrl-X 2; VI/VIM: Ctrl-W n invokes split-vertically(new=1)
split-vertically-open-file (filename)
Split current view vertically and open selected file
unsplit (action=’current’)
Unsplit all editors so there’s only one. Action specifies how to choose the remaining displayed editor. One of:
Editor Replace Mode Commands
Commands available only when editor is in replace mode (used for VI bindings and possibly others)
enter-browse-mode (provisional=False)
Enter editor browse mode Key Bindings: VI/VIM: Ctrl-V
Editor Split Commands
Commands for a particular editor split, available when the editor in that split has the keyboard focus. Additional commands affecting the editor’s content are defined separately.
activate-file-option-menu ()
Activate the file menu for the editor. Key Bindings: Wing: Ctrl-1; Brief: Ctrl-1; Eclipse: Ctrl-1; Emacs: Ctrl-1; macOS: Command-1; MATLAB: Ctrl-1; VI/VIM: Ctrl-1; Visual Studio: Ctrl-1; XCode: Command-1
grow-split-horizontally ()
Increase width of this split
grow-split-vertically ()
Increase height of this split Key Bindings: VI/VIM: Ctrl-W +
shrink-split-horizontally ()
Decrease width of this split
shrink-split-vertically ()
Decrease height of this split Key Bindings: VI/VIM: Ctrl-W —
visit-history-next ()
Move forward in history to next visited editor position Key Bindings: Wing: Forward-button-click; Brief: Forward-button-click; Eclipse: Alt-Right; Emacs: Forward-button-click; macOS: Forward-button-click; MATLAB: Forward-button-click; VI/VIM: Ctrl-I; Visual Studio: Ctrl-_; XCode: Command-Ctrl-Right
visit-history-previous ()
Move back in history to previous visited editor position Key Bindings: Wing: Back-button-click; Brief: Back-button-click; Eclipse: Ctrl-Q; Emacs: Back-button-click; macOS: Back-button-click; MATLAB: Back-button-click; VI/VIM: Ctrl-O; Visual Studio: Ctrl—; XCode: Command-Ctrl-Left
Editor Visual Mode Commands
Commands available only when the editor is in visual mode (used for VI bindings and some others)
enter-browse-mode ()
Enter editor browse mode Key Bindings: VI/VIM: Ctrl-V
enter-insert-mode (pos=’delete-sel’)
Enter editor insert mode Key Bindings: VI/VIM: Shift-A invokes enter-insert-mode(pos="after")
enter-visual-mode (unit=’char’)
Alter type of editor visual mode or exit back to browse mode. Unit should be one of ‘char’, ‘line’, or ‘block’.
exit-visual-mode ()
Exit visual mode and return back to default mode Key Bindings: Wing: Esc; Brief: Esc; Eclipse: Esc; Emacs: Esc; macOS: Esc; MATLAB: Esc; VI/VIM: Ctrl-[; Visual Studio: Esc; XCode: Esc
select-inner (extend=False)
Select a text object based on the following key press Key Bindings: VI/VIM: a invokes select-inner(extend=True)
vi-command-by-name ()
Execute a VI command by name. This implements ":" commands for the VI/Vim keyboard personality. The following subset of VI/Vim : commands are supported:
The supported directives for ‘set’ are:
Active Editor Commands
Commands that only apply to editors when they have the keyboard focus. These commands are also available for the Python Shell, Debug Console, and Debug I/O tools, which subclass the source editor, although some of the commands are modified or disabled as appropriate in those contexts.
activate-symbol-option-menu-1 ()
Activate the 1st symbol menu for the editor. Key Bindings: Wing: Ctrl-2; Brief: Ctrl-2; Eclipse: Ctrl-2; Emacs: Ctrl-2; macOS: Command-2; MATLAB: Ctrl-2; VI/VIM: Ctrl-2; Visual Studio: Ctrl-2; XCode: Command-2
activate-symbol-option-menu-2 ()
Activate the 2nd symbol menu for the editor. Key Bindings: Wing: Ctrl-3; Brief: Ctrl-3; Eclipse: Ctrl-3; Emacs: Ctrl-3; macOS: Command-3; MATLAB: Ctrl-3; VI/VIM: Ctrl-3; Visual Studio: Ctrl-3; XCode: Command-3
activate-symbol-option-menu-3 ()
Activate the 3rd symbol menu for the editor. Key Bindings: Wing: Ctrl-4; Brief: Ctrl-4; Eclipse: Ctrl-4; Emacs: Ctrl-4; macOS: Command-4; MATLAB: Ctrl-4; VI/VIM: Ctrl-4; Visual Studio: Ctrl-4; XCode: Command-4
activate-symbol-option-menu-4 ()
Activate the 4th symbol menu for the editor. Key Bindings: Wing: Ctrl-5; Brief: Ctrl-5; Eclipse: Ctrl-5; Emacs: Ctrl-5; macOS: Command-5; MATLAB: Ctrl-5; VI/VIM: Ctrl-5; Visual Studio: Ctrl-5; XCode: Command-5
activate-symbol-option-menu-5 ()
Activate the 5th symbol menu for the editor. Key Bindings: Wing: Ctrl-6; Brief: Ctrl-6; Eclipse: Ctrl-6; Emacs: Ctrl-6; macOS: Command-6; MATLAB: Ctrl-6; VI/VIM: Ctrl-6; Visual Studio: Ctrl-6; XCode: Command-6
backward-char (wrap=1, repeat=<numeric modifier; default=1>)
Move cursor backward one character Key Bindings: Wing: Left; Brief: Left; Eclipse: Left; Emacs: Ctrl-B; macOS: Ctrl-b; MATLAB: Left; VI/VIM: Ctrl-h; Visual Studio: Left; XCode: Ctrl-b
backward-char-extend (wrap=1, repeat=<numeric modifier; default=1>)
Move cursor backward one character, adjusting the selection range to new position Key Binding: Shift-Left
backward-char-extend-rect (wrap=1, repeat=<numeric modifier; default=1>)
Move cursor backward one character, adjusting the rectangular selection range to new position Key Bindings: Wing: Shift-Alt-Left; Brief: Shift-Alt-Left; Eclipse: Shift-Alt-Left; Emacs: Shift-Alt-Left; macOS: Ctrl-Option-Left; MATLAB: Shift-Alt-Left; VI/VIM: Shift-Alt-Left; Visual Studio: Shift-Alt-Left; XCode: Ctrl-Option-Left
backward-delete-char (repeat=<numeric modifier; default=1>)
Delete one character behind the cursor, or the current selection if not empty. Key Bindings: Wing: Shift-BackSpace; Brief: Shift-BackSpace; Eclipse: Shift-BackSpace; Emacs: Ctrl-H; macOS: Ctrl-h; MATLAB: Shift-BackSpace; VI/VIM: Ctrl-H; Visual Studio: Shift-BackSpace; XCode: Ctrl-h
backward-delete-word (delimiters=None, repeat=<numeric modifier; default=1>)
Delete one word behind of the cursor Key Bindings: Wing: Alt-Delete; Brief: Alt-Delete; Eclipse: Alt-Delete; Emacs: Alt-Delete; macOS: Option-Backspace; MATLAB: Alt-Delete; VI/VIM: Ctrl-W; Visual Studio: Alt-Delete; XCode: Option-Backspace
backward-page (repeat=<numeric modifier; default=1>)
Move cursor backward one page Key Bindings: Wing: Ctrl-Prior; Brief: Ctrl-Prior; Eclipse: Ctrl-Prior; Emacs: Alt-V; macOS: Option-Page_Up; MATLAB: Ctrl-Prior; VI/VIM: Ctrl-B; Visual Studio: Ctrl-Prior; XCode: Option-Page_Up
backward-page-extend (repeat=<numeric modifier; default=1>)
Move cursor backward one page, adjusting the selection range to new position Key Bindings: Wing: Ctrl-Shift-Page_Up; Brief: Ctrl-Shift-Page_Up; Eclipse: Ctrl-Shift-Page_Up; Emacs: Ctrl-Shift-Page_Up; macOS: Shift-Page_Up; MATLAB: Ctrl-Shift-Page_Up; VI/VIM: Ctrl-Shift-Page_Up; Visual Studio: Ctrl-Shift-Page_Up; XCode: Shift-Page_Up
backward-paragraph (repeat=<numeric modifier; default=1>)
Move cursor backward one paragraph (to next all-whitespace line). Key Bindings: VI/VIM: <
backward-paragraph-extend (repeat=<numeric modifier; default=1>)
Move cursor backward one paragraph (to next all-whitespace line), adjusting the selection range to new position.
backward-tab ()
Outdent line at current position Key Binding: Shift-Tab
backward-word (delimiters=None, gravity=’start’, repeat=<numeric modifier; default=1>)
Move cursor backward one word. Optionally, provide a string that contains the delimiters to define which characters are part of a word. Gravity may be "start" or "end" to indicate whether cursor is placed at start or end of the word. Key Bindings: Wing: Ctrl-Left; Brief: Ctrl-Left; Eclipse: Ctrl-Left; Emacs: Alt-B; macOS: Ctrl-Left invokes backward-word(delimiters="_`
!@#$%^&*()+-=<>[]\|;:’",.<>/? trn"); MATLAB: Ctrl-Left; VI/VIM: Ctrl-W; Visual Studio: Ctrl-Left; XCode: Ctrl-Left invokes backward-word(delimiters="_`
backward-word-extend (delimiters=None, gravity=’start’, repeat=<numeric modifier; default=1>)
Move cursor backward one word, adjusting the selection range to new position. Optionally, provide a string that contains the delimiters to define which characters are part of a word. Gravity may be "start" or "end" to indicate whether cursor is placed at start or end of the word. Key Bindings: Wing: Ctrl-Shift-Left; Brief: Ctrl-Shift-Left; Eclipse: Ctrl-Shift-Left; Emacs: Ctrl-Shift-Left; macOS: Option-Shift-Left; MATLAB: Ctrl-Shift-Left; VI/VIM: Ctrl-Shift-Left; Visual Studio: Ctrl-Shift-Left; XCode: Option-Shift-Left
beginning-of-line (toggle=True)
Move to beginning of current line. When toggle is True, moves to the end of the leading white space if already at the beginning of the line (and vice versa). Key Bindings: Brief: Shift-Home; Emacs: Ctrl-A; macOS: Ctrl-a; VI/VIM: 0 invokes beginning-of-line(toggle=0); XCode: Ctrl-a
beginning-of-line-extend (toggle=True)
Move to beginning of current line, adjusting the selection range to the new position. When toggle is True, moves to the end of the leading white space if already at the beginning of the line (and vice versa). Key Bindings: Emacs: Shift-Home; macOS: Command-Shift-Left; XCode: Command-Shift-Left
beginning-of-line-text (toggle=True)
Move to end of the leading white space, if any, on the current line. If toggle is True, moves to the beginning of the line if already at the end of the leading white space (and vice versa). Key Bindings: Wing: Home; Brief: Home; Eclipse: Home; Emacs: Home; MATLAB: Home; VI/VIM: _; Visual Studio: Home
beginning-of-line-text-extend (toggle=True)
Move to end of the leading white space, if any, on the current line, adjusting the selection range to the new position. If toggle is True, moves to the beginning of the line if already at the end of the leading white space (and vice versa). Key Bindings: Wing: Shift-Home; Brief: Shift-Home; Eclipse: Shift-Home; Emacs: Shift-Home; MATLAB: Shift-Home; VI/VIM: Shift-Home; Visual Studio: Shift-Home
beginning-of-screen-line ()
Move to beginning of current wrapped line Key Bindings: VI/VIM: g 0
beginning-of-screen-line-extend ()
Move to beginning of current wrapped line, extending selection
beginning-of-screen-line-text ()
Move to first non-blank character at beginning of current wrapped line Key Bindings: VI/VIM: g ^
beginning-of-screen-line-text-extend ()
Move to first non-blank character at beginning of current wrapped line, extending selection
brace-match ()
Match brace at current cursor position, selecting all text between the two and hilighting the braces Key Bindings: Wing: Ctrl-]; Eclipse: Ctrl-Shift-P; Emacs: Ctrl-M; macOS: Command-); MATLAB: Ctrl-]; Visual Studio: Ctrl-]; XCode: Command-)
cancel ()
Cancel current editor command
cancel-autocompletion ()
Cancel any active autocompletion.
case-lower (repeat=<numeric modifier; default=1>)
Change case of the current selection, or character ahead of the cursor if there is no selection, to lower case Key Bindings: Visual Studio: Ctrl-U
case-lower-next-move (repeat=<numeric modifier; default=1>)
Change case of text spanned by next cursor movement to lower case Key Bindings: VI/VIM: g u
case-swap (repeat=<numeric modifier; default=1>)
Change case of the current selection, or character ahead of the cursor if there is no selection, so each letter is the opposite of its current case Key Bindings: VI/VIM:
case-swap-next-move (repeat=<numeric modifier; default=1>)
Change case of text spanned by next cursor movement so each letter is the opposite of its current case Key Bindings: VI/VIM: g
case-title (repeat=<numeric modifier; default=1>)
Change case of the current selection, or character ahead of the cursor if there is no selection, to title case (first letter of each word capitalized)
case-title-next-move (repeat=<numeric modifier; default=1>)
Change case of text spanned by next cursor movement to title case (first letter of each word capitalized)
case-upper (repeat=<numeric modifier; default=1>)
Change case of the current selection, or character ahead of the cursor if there is no selection, to upper case Key Bindings: Visual Studio: Ctrl-Shift-U
case-upper-next-move (repeat=<numeric modifier; default=1>)
Change case of text spanned by next cursor movement to upper case Key Bindings: VI/VIM: g Shift-U
center-cursor ()
Scroll so cursor is centered on display Key Bindings: Brief: Ctrl-C; Emacs: Ctrl-L; MATLAB: Ctrl-G; VI/VIM: z z
clear ()
Clear selected text
clear-move-command ()
Clear any pending move command action, as for VI mode Key Bindings: VI/VIM: Esc
complete-autocompletion (append=»)
Complete the current active autocompletion.
copy ()
Copy selected text Key Bindings: Wing: Ctrl-C; Brief: Ctrl-C; Eclipse: Ctrl-C; Emacs: Alt-W; macOS: Command-C; MATLAB: Ctrl-C; VI/VIM: Ctrl-Insert; Visual Studio: Ctrl-C; XCode: Command-C
copy-line ()
Copy the current lines(s) to clipboard
copy-range (start_line, end_line, target_line)
Copy the given range of lines to the given target line. Copies to current line if target_line is ‘.’.
copy-selection-or-line ()
Copy the current selection or current line if there is no selection. The text is placed on the clipboard.
cursor-move-to-bottom (offset=<numeric modifier; default=0>)
Move cursor to bottom of display (without scrolling), optionally at an offset of given number of lines before bottom Key Bindings: VI/VIM: Shift-L
cursor-move-to-center ()
Move cursor to center of display (without scrolling) Key Bindings: VI/VIM: Shift-M
cursor-move-to-top (offset=<numeric modifier; default=0>)
Move cursor to top of display (without scrolling), optionally at an offset of given number of lines below top Key Bindings: VI/VIM: Shift-H
cursor-to-bottom ()
Scroll so cursor is centered at bottom of display Key Bindings: VI/VIM: z b
cursor-to-top ()
Scroll so cursor is centered at top of display Key Bindings: VI/VIM: z +
cut ()
Cut selected text Key Bindings: Wing: Ctrl-X; Brief: Ctrl-X; Eclipse: Ctrl-X; Emacs: Ctrl-W; macOS: Command-X; MATLAB: Ctrl-X; VI/VIM: Shift-Delete; Visual Studio: Ctrl-X; XCode: Command-X
cut-line ()
Cut the current line(s) to clipboard. Key Bindings: Visual Studio: Ctrl-L
cut-selection-or-line ()
Cut the current selection or current line if there is no selection. The text is placed on the clipboard. Key Bindings: Visual Studio: Shift-Delete
delete-line (repeat=<numeric modifier; default=1>)
Delete the current line or lines when the selection spans multiple lines or given repeat is > 1 Key Bindings: Wing: Ctrl-Shift-C; Eclipse: Ctrl-D; MATLAB: Ctrl-Shift-C
delete-line-insert (repeat=<numeric modifier; default=1>)
Delete the current line or lines when the selection spans multiple lines or given repeat is > 1. Enters insert mode (when working with modal key bindings). Key Bindings: VI/VIM: Shift-S
delete-next-move (repeat=<numeric modifier; default=1>)
Delete the text covered by the next cursor move command. Key Bindings: VI/VIM: d
delete-next-move-insert (repeat=<numeric modifier; default=1>)
Delete the text covered by the next cursor move command and then enter insert mode (when working in a modal editor key binding) Key Bindings: VI/VIM: c
delete-range (start_line, end_line, register=None)
Delete given range of lines, copying them into given register (or currently selected default register if register is None
delete-to-end-of-line (repeat=<numeric modifier; default=1>, post_offset=0)
Delete everything between the cursor and end of line Key Bindings: MATLAB: Ctrl-K; VI/VIM: Shift-D invokes delete-to-end-of-line(post_offset=-1)
delete-to-end-of-line-insert (repeat=<numeric modifier; default=1>)
Delete everything between the cursor and end of line and enter insert move (when working in a modal editor key binding) Key Bindings: VI/VIM: Shift-C
delete-to-start-of-line ()
Delete everything between the cursor and start of line Key Bindings: VI/VIM: Ctrl-U; XCode: Command-Backspace
duplicate-line (pos=’below’)
Duplicate the current line or lines. Places the duplicate on the line following the selection if pos is ‘below’ or before the selection if it is ‘above’. Key Bindings: Wing: Ctrl-Shift-V; Eclipse: Ctrl-Alt-Down; MATLAB: Ctrl-Shift-V
duplicate-line-above ()
Duplicate the current line or lines above the selection. Key Bindings: Wing: Ctrl-Shift-Y; Eclipse: Ctrl-Alt-Up; MATLAB: Ctrl-Shift-Y
enclose (start='(‘, end=’)’)
Enclose the selection or the rest of the current line when there is no selection with the given start and end strings. The caret is moved to the end of the enclosed text. Key Bindings: Wing: Ctrl-< invokes enclose(start="<", end=">"); Brief: Ctrl-< invokes enclose(start="<", end=">"); Eclipse: Ctrl-< invokes enclose(start="<", end=">"); Emacs: Ctrl-< invokes enclose(start="<", end=">"); MATLAB: Ctrl-< invokes enclose(start="<", end=">"); VI/VIM: Ctrl-< invokes enclose(start="<", end=">"); Visual Studio: Ctrl-< invokes enclose(start="<", end=">")
end-of-document ()
Move cursor to end of document Key Bindings: Wing: Ctrl-End; Brief: Ctrl-PageDown; Eclipse: Ctrl-End; Emacs: Ctrl-X ]; macOS: Command-Down; MATLAB: Ctrl-End; VI/VIM: Ctrl-End; Visual Studio: Ctrl-End; XCode: Command-Down
end-of-document-extend ()
Move cursor to end of document, adjusting the selection range to new position Key Bindings: Wing: Ctrl-Shift-End; Brief: Ctrl-Shift-End; Eclipse: Ctrl-Shift-End; Emacs: Ctrl-Shift-End; macOS: Shift-End; MATLAB: Ctrl-Shift-End; VI/VIM: Ctrl-Shift-End; Visual Studio: Ctrl-Shift-End; XCode: Shift-End
end-of-line (count=<numeric modifier; default=1>)
Move to end of current line Key Bindings: Wing: End; Brief: Shift-End; Eclipse: End; Emacs: Ctrl-E; macOS: Ctrl-e; MATLAB: Ctrl-E; VI/VIM: $; Visual Studio: End; XCode: Ctrl-e
end-of-line-extend (count=<numeric modifier; default=1>)
Move to end of current line, adjusting the selection range to new position Key Bindings: Wing: Shift-End; Brief: Shift-End; Eclipse: Shift-End; Emacs: Shift-End; macOS: Command-Shift-Right; MATLAB: Shift-End; VI/VIM: Shift-End; Visual Studio: Shift-End; XCode: Command-Shift-Right
end-of-screen-line (count=<numeric modifier; default=1>)
Move to end of current wrapped line Key Bindings: VI/VIM: g $
end-of-screen-line-extend (count=<numeric modifier; default=1>)
Move to end of current wrapped line, extending selection
exchange-point-and-mark ()
When currently marking text, this exchanges the current position and mark ends of the current selection Key Bindings: Emacs: Ctrl-X Ctrl-X; VI/VIM: Shift-O
filter-next-move (repeat=<numeric modifier; default=1>)
Filter the lines covered by the next cursor move command through an external command and replace the lines with the result Key Bindings: VI/VIM: !
filter-range (cmd, start_line=0, end_line=-1)
Filter a range of lines in the editor through an external command and replace the lines with the result. Filters the whole file by default. Filters nothing and opens up a scratch buffer with the output of the command if start_line and end_line are both -1.
filter-selection (cmd)
Filter the current selection through an external command and replace the lines with the result Key Bindings: VI/VIM: !
form-feed ()
Place a form feed character at the current cursor position
forward-char (wrap=1, repeat=<numeric modifier; default=1>)
Move cursor forward one character Key Bindings: Wing: Right; Brief: Right; Eclipse: Right; Emacs: Ctrl-F; macOS: Ctrl-f; MATLAB: Right; VI/VIM: l invokes forward-char(wrap=0); Visual Studio: Right; XCode: Ctrl-f
forward-char-extend (wrap=1, repeat=<numeric modifier; default=1>)
Move cursor forward one character, adjusting the selection range to new position Key Binding: Shift-Right
forward-char-extend-rect (wrap=1, repeat=<numeric modifier; default=1>)
Move cursor forward one character, adjusting the rectangular selection range to new position Key Bindings: Wing: Shift-Alt-Right; Brief: Shift-Alt-Right; Eclipse: Shift-Alt-Right; Emacs: Shift-Alt-Right; macOS: Ctrl-Option-Right; MATLAB: Shift-Alt-Right; VI/VIM: Shift-Alt-Right; Visual Studio: Shift-Alt-Right; XCode: Ctrl-Option-Right
forward-delete-char (repeat=<numeric modifier; default=1>)
Delete one character in front of the cursor Key Bindings: Wing: Delete; Brief: Delete; Eclipse: Delete; Emacs: Ctrl-D; macOS: Ctrl-d; MATLAB: Delete; VI/VIM: Delete; Visual Studio: Delete; XCode: Ctrl-d
forward-delete-char-insert (repeat=<numeric modifier; default=1>)
Delete one char in front of the cursor and enter insert mode (when working in modal key bindings) Key Bindings: VI/VIM: s
forward-delete-char-within-line (repeat=<numeric modifier; default=1>)
Delete one character in front of the cursor unless at end of line, in which case delete backward. Do nothing if the line is empty. This is VI style ‘x’ in browser mode. Key Bindings: VI/VIM: x
forward-delete-word (delimiters=None, repeat=<numeric modifier; default=1>)
Delete one word in front of the cursor Key Bindings: Wing: Ctrl-Delete; Brief: Ctrl-K; Eclipse: Ctrl-Delete; Emacs: Alt-D; macOS: Option-Delete; MATLAB: Ctrl-Delete; VI/VIM: Ctrl-Delete; Visual Studio: Ctrl-Delete; XCode: Option-Delete
forward-delete-word-insert (delimiters=None, repeat=<numeric modifier; default=1>)
Delete one word in front of the cursor and enter insert mode (when working in modal key bindings)
forward-page (repeat=<numeric modifier; default=1>)
Move cursor forward one page Key Bindings: Wing: Ctrl-Next; Brief: Ctrl-Next; Eclipse: Ctrl-Next; Emacs: Ctrl-V; macOS: Ctrl-v; MATLAB: Ctrl-Next; VI/VIM: Ctrl-F; Visual Studio: Ctrl-Next; XCode: Ctrl-v
forward-page-extend (repeat=<numeric modifier; default=1>)
Move cursor forward one page, adjusting the selection range to new position Key Bindings: Wing: Ctrl-Shift-Page_Down; Brief: Ctrl-Shift-Page_Down; Eclipse: Ctrl-Shift-Page_Down; Emacs: Ctrl-Shift-Page_Down; macOS: Shift-Page_Down; MATLAB: Ctrl-Shift-Page_Down; VI/VIM: Ctrl-Shift-Page_Down; Visual Studio: Ctrl-Shift-Page_Down; XCode: Shift-Page_Down
forward-paragraph (repeat=<numeric modifier; default=1>)
Move cursor forward one paragraph (to next all-whitespace line). Key Bindings: VI/VIM: >
forward-paragraph-extend (repeat=<numeric modifier; default=1>)
Move cursor forward one paragraph (to next all-whitespace line), adjusting the selection range to new position.
forward-tab ()
Place a tab character at the current cursor position Key Bindings: Wing: Ctrl-T; Brief: Ctrl-T; Eclipse: Ctrl-T; Emacs: Ctrl-T; macOS: Ctrl-T; MATLAB: Tab; VI/VIM: Ctrl-T; Visual Studio: Ctrl-T; XCode: Ctrl-T
forward-word (delimiters=None, gravity=’start’, repeat=<numeric modifier; default=1>)
Move cursor forward one word. Optionally, provide a string that contains the delimiters to define which characters are part of a word. Gravity may be "start" or "end" to indicate whether cursor is placed at start or end of the word. Key Bindings: Wing: Ctrl-Right; Brief: Ctrl-Right; Eclipse: Ctrl-Right; Emacs: Alt-F; macOS: Option-Right; MATLAB: Ctrl-Right; VI/VIM: Shift-E invokes forward-word(delimiters=" tnr", gravity="endm1"); Visual Studio: Ctrl-Right; XCode: Option-Right
forward-word-extend (delimiters=None, gravity=’start’, repeat=<numeric modifier; default=1>)
Move cursor forward one word, adjusting the selection range to new position. Optionally, provide a string that contains the delimiters to define which characters are part of a word. Gravity may be "start" or "end" to indicate whether cursor is placed at start or end of the word. Key Bindings: Wing: Ctrl-Shift-Right; Brief: Ctrl-Shift-Right; Eclipse: Ctrl-Shift-Right; Emacs: Ctrl-Shift-Right; macOS: Ctrl-Shift-Right invokes forward-word-extend(delimiters="_`
!@#$%^&*()+-=<>[]\|;:’",.<>/? trn"); MATLAB: Ctrl-Shift-Right; VI/VIM: Ctrl-Shift-Right; Visual Studio: Ctrl-Shift-Right; XCode: Ctrl-Shift-Right invokes forward-word-extend(delimiters="_`
goto-overridden-method ()
Goes to the method that is overridden by the current method
hide-selection ()
Turn off display of the current text selection
indent-to-match (toggle=False)
Indent the current line or selected region to match indentation of preceding non-blank line. Set toggle=True to indent instead of one level higher if already at the matching position. Key Bindings: Wing: Ctrl-=; Brief: Ctrl-=; Eclipse: Ctrl-=; Emacs: Ctrl-=; macOS: Command-; MATLAB: Ctrl-=; VI/VIM: Ctrl-=; Visual Studio: Ctrl-=; XCode: Ctrl-I
indent-to-next-indent-stop ()
Indent to next indent stop from the current position. Acts like indent command if selection covers multiple lines.
isearch-backward (search_string=None, repeat=<numeric modifier; default=1>)
Initiate incremental mini-search backward from the cursor position, optionally entering the given search string Key Bindings: Wing: Ctrl-Shift-U; Eclipse: Ctrl-Shift-J; Emacs: Ctrl-R; macOS: Command-Shift-U; MATLAB: Ctrl-Shift-R; Visual Studio: Ctrl-Shift-U; XCode: Command-Shift-U
isearch-backward-regex (search_string=None, repeat=<numeric modifier; default=1>)
Initiate incremental regular expression mini-search backward from the cursor position, optionally entering the given search string Key Bindings: Emacs: Ctrl-Alt-R; VI/VIM: ?
isearch-forward (search_string=None, repeat=<numeric modifier; default=1>)
Initiate incremental mini-search forward from the cursor position, optionally entering the given search string Key Bindings: Wing: Ctrl-U; Eclipse: Ctrl-J; Emacs: Ctrl-S; macOS: Command-U; MATLAB: Ctrl-Shift-S; Visual Studio: Ctrl-I; XCode: Command-U
isearch-forward-regex (search_string=None, repeat=<numeric modifier; default=1>)
Initiate incremental regular expression mini-search forward from the cursor position, optionally entering the given search string Key Bindings: Emacs: Ctrl-Alt-S; VI/VIM: /
isearch-repeat (reverse=False, repeat=<numeric modifier; default=1>)
Repeat the most recent isearch, using same string and regex/text. Reverse direction when reverse is True. Key Bindings: VI/VIM: Shift-N invokes isearch-repeat(reverse=1)
isearch-sel-backward (persist=True, whole_word=False, repeat=<numeric modifier; default=1>)
Initiate incremental mini-search backward from the cursor position, using current selection as the search string. Set persist=False to do the search but end the interactive search session immediately. Key Bindings: Wing: Ctrl-Shift-B; Eclipse: Ctrl-Shift-B; Emacs: Ctrl-C R; MATLAB: Ctrl-Shift-B; VI/VIM: # invokes isearch-sel-backward(persist=0, whole_word=1); Visual Studio: Ctrl-Shift-B
isearch-sel-forward (persist=True, whole_word=False, repeat=<numeric modifier; default=1>)
Initiate incremental mini-search forward from the cursor position, using current selection as the search string. Set persist=False to do the search but end the interactive search session immediately. Key Bindings: Wing: Ctrl-B; Eclipse: Ctrl-B; Emacs: Ctrl-C S; MATLAB: Ctrl-B; VI/VIM: * invokes isearch-sel-forward(persist=0, whole_word=1); Visual Studio: Ctrl-B
kill-line ()
Kill rest of line from cursor to end of line, and place it into the clipboard with any other contiguously removed lines. End-of-line is removed only if there is nothing between the cursor and the end of the line. Key Bindings: Brief: Alt-K; Emacs: Ctrl-K; macOS: Ctrl-k; XCode: Ctrl-k
middle-of-screen-line ()
Move to middle of current wrapped line Key Bindings: VI/VIM: g m
middle-of-screen-line-extend ()
Move to middle of current wrapped line, extending selection
move-line-down (indent=True, repeat=<numeric modifier; default=1>)
Move the current line or lines up down line, optionally indenting to match the new position Key Bindings: Wing: Ctrl-Shift-Down; Eclipse: Alt-Down invokes move-line-down(indent=True); MATLAB: Ctrl-Shift-Down; XCode: Command-Alt-]
move-line-up (indent=True, repeat=<numeric modifier; default=1>)
Move the current line or lines up one line, optionally indenting to match the new position Key Bindings: Wing: Ctrl-Shift-Up; Eclipse: Alt-Up invokes move-line-up(indent=True); MATLAB: Ctrl-Shift-Up; XCode: Command-Alt-[
move-range (start_line, end_line, target_line)
Move the given range of lines to the given target line. Moves to current line if target_line is ‘.’.
move-to-register (unit=’char’, cut=0, num=<numeric modifier; default=1>)
Cut or copy a specified number of characters or lines, or the current selection. Set cut=1 to remove the range of text from the editor after moving to register (otherwise it is just copied). Unit should be one of ‘char’ or ‘line’ or ‘sel’ for current selection. Key Bindings: VI/VIM: Shift-Y invokes move-to-register(unit="line")
move-to-register-next-move (cut=0, repeat=<numeric modifier; default=1>)
Move the text spanned by the next cursor motion to a register Key Bindings: VI/VIM: y
new-line (auto_indent=None)
Place a new line at the current cursor position. Override the auto-indent preference by setting auto_indent to ‘never’ to avoid indent, ‘always’ to auto-indent, and ‘blank-only’ to auto-indent only on blank lines. Key Bindings: Wing: Alt-Return; Brief: Alt-Return; Eclipse: Alt-Return; Emacs: Alt-Return; macOS: Option-Return; MATLAB: Shift-Return invokes new-line(auto_indent="never"); VI/VIM: Ctrl-J; Visual Studio: Alt-Return; XCode: Option-Return
new-line-after ()
Place a new line after the current line Key Bindings: Wing: Ctrl-Return; Brief: Ctrl-Return; Eclipse: Shift-Enter; Emacs: Ctrl-Return; MATLAB: Ctrl-Return; VI/VIM: Ctrl-Return; Visual Studio: Ctrl-Return
new-line-before ()
Place a new line before the current line Key Bindings: Wing: Shift-Return; Brief: Shift-Return; Eclipse: Ctrl-Shift-Enter; Emacs: Shift-Return; MATLAB: Shift-Return; VI/VIM: Shift-Return; Visual Studio: Shift-Return
next-blank-line (threshold=0, repeat=<numeric modifier; default=1>)
Move to the next blank line in the file, if any. If threshold>0 then a line is considered blank if it contains less than that many characters after leading and trailing whitespace are removed. Key Bindings: Emacs: Alt-> invokes next-blank-line(threshold=1)
next-block (count=1, ignore_indented=True)
Select the next block. Will ignore indented blocks under the current block unless ignore_indented is False. Specify a count of more than 1 to go forward multiple blocks. Key Bindings: MATLAB: Ctrl-Down
next-line (cursor=’same’, repeat=<numeric modifier; default=1>)
Move to screen next line, optionally repositioning character within line: ‘same’ to leave in same horizontal position, ‘start’ at start, ‘end’ at end, or ‘fnb’ for first non-blank char. Key Bindings: Wing: Down; Brief: Down; Eclipse: Down; Emacs: Ctrl-N; macOS: Ctrl-n; MATLAB: Down; VI/VIM: Ctrl-N; Visual Studio: Down; XCode: Ctrl-n
next-line-extend (cursor=’same’, repeat=<numeric modifier; default=1>)
Move to next screen line, adjusting the selection range to new position, optionally repositioning character within line: same’ to leave in same horizontal position, ‘start’ at start, ‘end’ at end, ‘fnb’ for first non-blank char, or ‘xcode’ to simulate XCode style Shift-Alt line selection. Key Bindings: Wing: Shift-Down; Brief: Shift-Down; Eclipse: Shift-Down; Emacs: Shift-Down; macOS: Shift-Alt-Down invokes next-line-extend(cursor="xcode"); MATLAB: Shift-Down; VI/VIM: Shift-Down; Visual Studio: Shift-Down; XCode: Shift-Alt-Down invokes next-line-extend(cursor="xcode")
next-line-extend-rect (cursor=’same’, repeat=<numeric modifier; default=1>)
Move to next screen line, adjusting the rectangular selection range to new position, optionally repositioning character within line: same’ to leave in same horizontal position, ‘start’ at start, ‘end’ at end, or ‘fnb’ for first non-blank char. Key Bindings: Wing: Shift-Alt-Down; Brief: Shift-Alt-Down; Eclipse: Shift-Alt-Down; Emacs: Shift-Alt-Down; macOS: Ctrl-Option-Down; MATLAB: Shift-Alt-Down; VI/VIM: Shift-Alt-Down; Visual Studio: Shift-Alt-Down; XCode: Ctrl-Option-Down
next-line-in-file (cursor=’start’, repeat=<numeric modifier; default=1>)
Move to next line in file, repositioning character within line: ‘start’ at start, ‘end’ at end, or ‘fnb’ for first non-blank char. Key Bindings: VI/VIM: Ctrl-M invokes next-line-in-file(cursor="fnb")
next-scope (count=1, sibling_only=False)
Select the next scope. Specify a count of more than 1 to go forward multiple scopes. If sibling_only is true, move only to other scopes of the same parent. Key Bindings: Eclipse: Ctrl-Shift-Down
next-statement (count=1, ignore_indented=True)
Select the next statement. Will ignore indented statements under the current statements unless ignore_indented is False. Specify a count of more than 1 to go forward multiple statements. Key Bindings: Eclipse: Alt-Shift-Right
open-line ()
Open the current line by inserting a newline after the caret Key Bindings: Emacs: Ctrl-O
paste ()
Paste text from clipboard Key Bindings: Wing: Ctrl-V; Brief: Ctrl-V; Eclipse: Ctrl-V; Emacs: Ctrl-Y; macOS: Command-V; MATLAB: Ctrl-V; VI/VIM: Shift-Insert; Visual Studio: Ctrl-V; XCode: Command-V
paste-register (pos=1, indent=0, cursor=-1)
Paste text from register as before or after the current position. If the register contains only lines, then the lines are pasted before or after current line (rather than at cursor). If the register contains fragments of lines, the text is pasted over the current selection or either before or after the cursor. Set pos = 1 to paste after, or -1 to paste before. Set indent=1 to indent the pasted text to match current line. Set cursor=-1 to place cursor before lines or cursor=1 to place it after lines after paste completes. Key Bindings: VI/VIM: g Shift-P invokes paste-register(pos=-1, cursor=1)
previous-blank-line (threshold=0, repeat=<numeric modifier; default=1>)
Move to the previous blank line in the file, if any. If threshold>0 then a line is considered blank if it contains less than that many characters after leading and trailing whitespace are removed. Key Bindings: Emacs: Alt-< invokes previous-blank-line(threshold=1)
previous-block (count=1, ignore_indented=True)
Select the previous block. Will ignore indented blocks under the current block unless ignore_indented is False. Specify a count of more than 1 to go backward multiple blocks. Key Bindings: MATLAB: Ctrl-Up
previous-line (cursor=’same’, repeat=<numeric modifier; default=1>)
Move to previous screen line, optionally repositioning character within line: same’ to leave in same horizontal position, ‘start’ at start, ‘end’ at end, or ‘fnb’ for first non-blank char. Key Bindings: Wing: Up; Brief: Up; Eclipse: Up; Emacs: Ctrl-P; macOS: Ctrl-p; MATLAB: Up; VI/VIM: Ctrl-P; Visual Studio: Up; XCode: Ctrl-p
previous-line-extend (cursor=’same’, repeat=<numeric modifier; default=1>)
Move to previous screen line, adjusting the selection range to new position, optionally repositioning character within line: same’ to leave in same horizontal position, ‘start’ at start, ‘end’ at end, ‘fnb’ for first non-blank char, or ‘xcode’ to simulate XCode style Shift-Alt line selection. Key Bindings: Wing: Shift-Up; Brief: Shift-Up; Eclipse: Shift-Up; Emacs: Shift-Up; macOS: Shift-Alt-Up invokes previous-line-extend(cursor="xcode"); MATLAB: Shift-Up; VI/VIM: Shift-Up; Visual Studio: Shift-Up; XCode: Shift-Alt-Up invokes previous-line-extend(cursor="xcode")
previous-line-extend-rect (cursor=’same’, repeat=<numeric modifier; default=1>)
Move to previous screen line, adjusting the rectangular selection range to new position, optionally repositioning character within line: same’ to leave in same horizontal position, ‘start’ at start, ‘end’ at end, or ‘fnb’ for first non-blank char. Key Bindings: Wing: Shift-Alt-Up; Brief: Shift-Alt-Up; Eclipse: Shift-Alt-Up; Emacs: Shift-Alt-Up; macOS: Ctrl-Option-Up; MATLAB: Shift-Alt-Up; VI/VIM: Shift-Alt-Up; Visual Studio: Shift-Alt-Up; XCode: Ctrl-Option-Up
previous-line-in-file (cursor=’start’, repeat=<numeric modifier; default=1>)
Move to previous line in file, repositioning character within line: ‘start’ at start, ‘end’ at end, or ‘fnb’ for first non-blank char. Key Bindings: VI/VIM: — invokes previous-line-in-file(cursor="fnb")
previous-scope (count=1, sibling_only=False)
Select the previous scope. Specify a count of more than 1 to go backward multiple scopes. If sibling_only is true, move only to other scopes of the same parent. Key Bindings: Eclipse: Ctrl-Shift-Up
previous-statement (count=1, ignore_indented=True)
Select the previous statement. Will ignore indented statements under the current statements unless ignore_indented is False. Specify a count of more than 1 to go back multiple statements. Key Bindings: Eclipse: Alt-Shift-Left
profile-editor-start ()
Turn on profiling for the current source editor
profile-editor-stop ()
Stop profiling and print stats to stdout
reanalyze-file ()
Rescan file for code analysis.
redo ()
Redo last action Key Bindings: Wing: Ctrl-Shift-Z; Brief: Ctrl-U; Eclipse: Ctrl-Shift-Z; Emacs: Ctrl-.; macOS: Command-Shift-Z; MATLAB: Alt-Shift-Backspace; VI/VIM: Ctrl-R; Visual Studio: Ctrl-Shift-Z; XCode: Command-Shift-Z
repeat-command (repeat=<numeric modifier; default=1>)
Repeat the last editor command Key Bindings: VI/VIM: .
repeat-search-char (opposite=0, repeat=<numeric modifier; default=1>)
Repeat the last search_char operation, optionally in the opposite direction. Key Bindings: VI/VIM: , invokes repeat-search-char(opposite=1)
rstrip-each-line ()
Strip trailing whitespace from each line.
scroll-text-down (repeat=<numeric modifier; default=1>, move_cursor=True)
Scroll text down a line w/o moving cursor’s relative position on screen. Repeat is number of lines or if >0 and <1.0 then percent of screen. Set move_cursor to False to leave cursor in current position within the source, otherwise it is moved so the cursor remains on same screen line. Key Bindings: Wing: Ctrl-Shift-Down; Brief: Ctrl-D; Eclipse: Ctrl-Shift-Down; Emacs: Ctrl-Shift-Down; MATLAB: Ctrl-Down; VI/VIM: Ctrl-D invokes scroll-text-down(repeat=0.5); Visual Studio: Ctrl-Shift-Down
scroll-text-left (repeat=<numeric modifier; default=1>)
Scroll text left a column w/o moving cursor’s relative position on screen. Repeat is number of columns or if >0 and <1.0 then percent of screen. Key Bindings: VI/VIM: z Shift-L invokes scroll-text-left(repeat=0.5)
scroll-text-page-down (repeat=<numeric modifier; default=1>, move_cursor=True)
Scroll text down a page w/o moving cursor’s relative position on screen. Repeat is number of pages or if >0 and <1.0 then percent of screen. Set move_cursor to False to leave cursor in current position within the source, otherwise it is moved so the cursor remains on same screen line.
scroll-text-page-up (repeat=<numeric modifier; default=1>, move_cursor=True)
Scroll text up a page w/o moving cursor’s relative position on screen. Repeat is number of pages or if >0 and <1.0 then percent of screen. Set move_cursor to False to leave cursor in current position within the source, otherwise it is moved so the cursor remains on same screen line.
scroll-text-right (repeat=<numeric modifier; default=1>)
Scroll text right a column w/o moving cursor’s relative position on screen. Repeat is number of columns or if >0 and <1.0 then percent of screen. Key Bindings: VI/VIM: z Shift-H invokes scroll-text-right(repeat=0.5)
scroll-text-up (repeat=<numeric modifier; default=1>, move_cursor=True)
Scroll text up a line w/o moving cursor’s relative position on screen. Repeat is number of lines or if >0 and <1.0 then percent of screen. Set move_cursor to False to leave cursor in current position within the source, otherwise it is moved so the cursor remains on same screen line. Key Bindings: Wing: Ctrl-Shift-Up; Brief: Ctrl-E; Eclipse: Ctrl-Shift-Up; Emacs: Ctrl-Shift-Up; MATLAB: Ctrl-Up; VI/VIM: Ctrl-U invokes scroll-text-up(repeat=0.5); Visual Studio: Ctrl-Shift-Up
scroll-to-cursor ()
Scroll to current cursor position, if not already visible
scroll-to-end (move_caret=False)
Scroll to the end of the text in the editor. Set move_caret to control whether the caret is moved. Key Bindings: macOS: End; XCode: End
scroll-to-start (move_caret=False)
Scroll to the top of the text in the editor. Set move_caret to control whether the the caret is moved. Key Bindings: macOS: Home; XCode: Home
search-char (dir=1, pos=0, repeat=<numeric modifier; default=1>, single_line=0)
Search for the given character. Searches to right if dir > 0 and to left if dir < 0. Optionally place cursor pos characters to left or right of the target (e.g., use -1 to place one to left). If repeat > 1, the Nth match is found. Set single_line=1 to search only within the current line. Key Bindings: VI/VIM: Shift-T invokes search-char(dir=-1, pos=1, single_line=1)
select-all ()
Select all text in the editor Key Bindings: Wing: Ctrl-A; Eclipse: Ctrl-A; macOS: Command-A; MATLAB: Ctrl-A; Visual Studio: Ctrl-A; XCode: Command-A
select-block ()
Select the block the cursor is in.
select-less ()
Select less code; undoes the last select-more command Key Bindings: Wing: Ctrl-Down; Brief: Ctrl-Down; Eclipse: Alt-Shift-Down; Emacs: Ctrl-Down; MATLAB: Ctrl-Down; VI/VIM: Ctrl-Down; Visual Studio: Ctrl-Down
select-lines ()
Select the current line or lines
select-more ()
Select more code on either the current line or larger multi-line blocks. Key Bindings: Wing: Ctrl-Up; Brief: Ctrl-Up; Eclipse: Alt-Shift-Up; Emacs: Ctrl-Up; macOS: Option-Up; MATLAB: Ctrl-Up; VI/VIM: Ctrl-Up; Visual Studio: Ctrl-Up; XCode: Option-Up
select-scope ()
Select the scope the cursor is in.
select-statement ()
Select the statement the cursor is in.
send-keys (keys)
Send one or more keys to the editor. Send a string to enter each key in the string, or a list of strings and/or (mod, key) tuples where mod is a string containing any of case insensitive ‘shift’, ‘ctrl’, or ‘alt’. Valid examples:
set-mark-command (unit=’char’)
Set start of text marking for selection at current cursor position. Subsequently, all cursor move operations will automatically extend the text selection until stop-mark-command is issued. Unit defines what is selected: can be one of char, line, or block (rectangle). Key Bindings: Emacs: Ctrl-@
set-register ()
Set the register to use for subsequent cut/copy/paste operations Key Bindings: VI/VIM: "
show-autocompleter ()
Show the auto-completer for current cursor position Key Bindings: Wing: Ctrl-space; Eclipse: Ctrl-space; Emacs: Alt-/; macOS: Ctrl-space; MATLAB: Ctrl-space; Visual Studio: Ctrl-space; XCode: Ctrl-Space
show-selection ()
Turn on display of the current text selection
smart-tab ()
Implement smart handling of tab key. The behavior varies by context as follows:
- In Non-Python code, always indents to the next indent stop
- On a non-blank line when cursor is at end or before a comment, insert tab
- On a where indent does not match the computed indent level, move to the matching indent level
Otherwise decrease indent one level (thus a non-blank line toggles between matching position and one block higher)
System Message: ERROR/3 (<string>, line 1039); backlinks:
start-of-document ()
Move cursor to start of document Key Bindings: Wing: Ctrl-Home; Brief: Home Home Home; Eclipse: Ctrl-Home; Emacs: Ctrl-X [; macOS: Command-Up; MATLAB: Ctrl-Home; VI/VIM: Ctrl-Home; Visual Studio: Ctrl-Home; XCode: Command-Up
start-of-document-extend ()
Move cursor to start of document, adjusting the selection range to new position Key Bindings: Wing: Ctrl-Shift-Home; Brief: Ctrl-Shift-Home; Eclipse: Ctrl-Shift-Home; Emacs: Ctrl-Shift-Home; macOS: Shift-Home; MATLAB: Ctrl-Shift-Home; VI/VIM: Ctrl-Shift-Home; Visual Studio: Ctrl-Shift-Home; XCode: Shift-Home
stop-mark-command (deselect=True)
Stop text marking for selection at current cursor position, leaving the selection set as is. Subsequent cursor move operations will deselect the range and set selection to cursor position. Deselect immediately when deselect is True. Key Bindings: Emacs: Ctrl-G
swap-lines (previous=False)
Swap the line at start of current selection with the line that follows it, or the preceding line if previous is True. Key Bindings: Wing: Ctrl-Shift-L; Eclipse: Ctrl-Shift-L; Emacs: Ctrl-X Ctrl-T invokes swap-lines(previous=True); MATLAB: Ctrl-Shift-L
tab-key ()
Implement the tab key, the action of which is configurable by preference Key Binding: Tab
undo ()
Undo last action Key Bindings: Wing: Ctrl-Z; Brief: Ctrl-Z; Eclipse: Ctrl-Z; Emacs: Ctrl-X U; macOS: Command-Z; MATLAB: Alt-Backspace; VI/VIM: u; Visual Studio: Ctrl-Z; XCode: Command-Z
yank-line ()
Yank contents of kill buffer created with kill-line into the edit buffer Key Bindings: Emacs: Ctrl-Y
yank-range (start_line, end_line, register=None)
Copy given range of lines into given register (or currently selected default register if register is None
General Editor Commands
Editor commands that act on the current (most recently active) source editor, whether or not it currently has the keyboard focus.
black-file (timeout=None)
Reformat the current file with Black, if installed in the active Python. The command will time out after the given number of seconds, or if timeout is None the timeout configured with the Editor > Auto-formatting > Reformat Timeout preference.
black-selection (start=None, end=None)
Reformat the current selection, or current line if there is no selection with Black. Reformats the given range if start and end are given.
check-indent-consistency ()
Check whether indents consistently use spaces or tabs throughout the file.
comment-out-region (style=None)
Comment out the selected region. The style of commenting can be controlled with the style argument: ‘indented’ uses the default comment style indented at end of leading white space and ‘block’ uses a block comment in column zero. Append ‘-pep8’ to the style to conform to PEP 8 comment format rules. If not given, the style configured with the Editor / Block Comment Style preference is used. Each call adds a level of commenting. Key Bindings: Wing: Ctrl-/; Eclipse: Ctrl-/; Emacs: Ctrl-C C; macOS: Command-‘; MATLAB: Ctrl-/; Visual Studio: Ctrl-K Ctrl-C; XCode: Command-‘
comment-out-toggle (style=None)
Comment out the selected lines. This command is not available if they lines are already commented out. The style of commenting can be controlled with the style argument: ‘indented’ uses the default comment style indented at end of leading white space and ‘block’ uses a block comment in column zero. Append ‘-pep8’ to the style to conform to PEP 8 block comment format rules. If not given, the style configured with the Editor / Block Comment Style preference is used.
comment-toggle (style=None)
Toggle commenting out of the selected lines. The style of commenting can be controlled with the style argument: ‘indented’ uses the default comment style indented at end of leading white space and ‘block’ uses a block comment in column zero. Append ‘-pep8’ to the style to conform to PEP 8 comment format rules. If not given, the style configured with the Editor / Block Comment Style preference is used. Key Bindings: Wing: Ctrl-.; Eclipse: Ctrl-.; Emacs: Ctrl-C #; macOS: Command-;; MATLAB: Ctrl-.; Visual Studio: Ctrl-K Ctrl-T; XCode: Command-/
convert-indents-to-mixed (indent_size)
Convert all lines with leading spaces to mixed tabs and spaces.
convert-indents-to-spaces-only (indent_size)
Convert all lines containing leading tabs to spaces only.
convert-indents-to-tabs-only ()
Convert all indentation to use tab characters only and no spaces
evaluate-code-in-debug-console (code)
Evaluate the given code within the Debug Console tool. When invoking this command directly, only one line can be entered. To enter multiple lines at once, invoke this command with CAPIApplication.ExecuteCommand() in the scripting API.
evaluate-code-in-shell (code, restart=False)
Evaluate the given code within the Python Shell tool, optionally restarting the shell first. When invoking this command directly, only one line can be entered. To enter multiple lines at once, invoke this command with CAPIApplication.ExecuteCommand() in the scripting API.
evaluate-file-in-shell (restart_shell=None)
Run or debug the contents of the editor within the Python Shell Key Bindings: Wing: Ctrl-Alt-V; Eclipse: Ctrl-Alt-V; MATLAB: Ctrl-Alt-V
evaluate-sel-in-debug-console (whole_lines=None)
Evaluate the current selection from the editor within the Debug Console tool. When whole_lines is set, the selection is rounded to whole lines before evaluation. When unspecified (set to None), the setting from the Shell’s Option menu is used instead. Key Bindings: Wing: Ctrl-Alt-D; Eclipse: Ctrl-Alt-D; MATLAB: Ctrl-Alt-D
evaluate-sel-in-shell (restart_shell=False, whole_lines=None)
Evaluate the current selection from the editor within the Python Shell tool, optionally restarting the shell first. When whole_lines is set, the selection is rounded to whole lines before evaluation. When unspecified (set to None), the setting from the Shell’s Option menu is used instead. Key Bindings: Wing: Ctrl-Alt-E; Eclipse: Ctrl-Alt-E; Emacs: Ctrl-C |; MATLAB: F9; XCode: Command-R
execute-kbd-macro (register=’a’, repeat=<numeric modifier; default=1>)
Execute most recently recorded keyboard macro. If register is None then the user is asked to enter a letter a-z for the register where the macro is filed. Otherwise, register ‘a’ is used by default. Key Bindings: Wing: Ctrl-M; Brief: F8; Eclipse: Ctrl-M; Emacs: Ctrl-X E; macOS: Command-M; MATLAB: Ctrl-M; VI/VIM: @ invokes execute-kbd-macro(register=None); Visual Studio: Ctrl-M; XCode: Command-M
fill-paragraph ()
Re-wrap the selected text or current line to the configured text wrap column. When there is no selection, wrappable regions are delineated by surrounding blank lines. Otherwise, when there is a selection, wrapping is constrained to occur only within that selection. Wrapping behavior depends on context; for example, wrapping Python code is different than wrapping plain text or the contents of comments and docstrings. A shared leading prefix found on all lines is retained and only the content after the prefix is wrapped. Key Bindings: Wing: Ctrl-J; Eclipse: Ctrl-Shift-F; Emacs: Alt-Q; macOS: Command-J; MATLAB: Ctrl-J; VI/VIM: g q; Visual Studio: Ctrl-K Ctrl-F; XCode: Command-J
find-symbol ()
Allow user to visit point of definition of a source symbol in the current editor context by typing a fragment of the name Key Bindings: Wing: Ctrl-Shift-T; Eclipse: Ctrl-O; Emacs: Ctrl-X G; macOS: Command-Shift-T; MATLAB: Shift-F1; VI/VIM: Ctrl-Shift-T; Visual Studio: Ctrl-Shift-T; XCode: Command-Shift-T
find-symbol-in-project (fragment=None)
Allow user to visit point of definition of a source symbol in the any file in the project by typing a fragment of the name Key Bindings: Wing: Ctrl-Shift-P; Eclipse: Ctrl-Shift-T; Emacs: Ctrl-X Ctrl-G; macOS: Command-Shift-P; MATLAB: Ctrl-Shift-F1; VI/VIM: Ctrl-Shift-P; Visual Studio: Ctrl-Shift-P; XCode: Command-Shift-P
fold-collapse-all ()
Collapse all fold points in the current file Key Bindings: Wing: Alt-Home; Brief: Alt-Home; Eclipse: Alt-Home; Emacs: Alt-Home; macOS: Command-Ctrl—; MATLAB: Ctrl-=; VI/VIM: z Shift-M; Visual Studio: Alt-Home; XCode: Command-Ctrl—
fold-collapse-all-clicked ()
Collapse the clicked fold point completely
fold-collapse-all-current ()
Collapse the current fold point completely Key Bindings: Wing: Alt-Page_Up; Brief: Alt-Page_Up; Eclipse: Alt-Page_Up; Emacs: Alt-Page_Up; macOS: Command—; MATLAB: Alt-Page_Up; VI/VIM: Alt-Page_Up; Visual Studio: Alt-Page_Up; XCode: Command—
fold-collapse-current ()
Collapse the current fold point Key Bindings: Eclipse: Ctrl—; VI/VIM: z c
fold-collapse-more-clicked ()
Collapse the clicked fold point one more level
fold-collapse-more-current ()
Collapse the current fold point one more level Key Bindings: Wing: Alt-Up; Brief: Alt-Up; Eclipse: Alt-Up; Emacs: Alt-Up; macOS: Command-_; MATLAB: Alt-Up; VI/VIM: Alt-Up; Visual Studio: Alt-Up; XCode: Command-Alt-Left
fold-expand-all ()
Expand all fold points in the current file Key Bindings: Wing: Alt-End; Brief: Alt-End; Eclipse: Ctrl-*; Emacs: Alt-End; macOS: Command-Ctrl-*; MATLAB: Ctrl-+; VI/VIM: z Shift-R; Visual Studio: Alt-End; XCode: Command-Ctrl-*
fold-expand-all-clicked ()
Expand the clicked fold point completely
fold-expand-all-current ()
Expand the current fold point completely Key Bindings: Wing: Alt-Page_Down; Brief: Alt-Page_Down; Eclipse: Alt-Page_Down; Emacs: Alt-Page_Down; macOS: Command-*; MATLAB: Alt-Page_Down; VI/VIM: z Shift-O; Visual Studio: Alt-Page_Down; XCode: Command-*
fold-expand-current ()
Expand the current fold point Key Bindings: Eclipse: Ctrl-+; VI/VIM: z o
fold-expand-more-clicked ()
Expand the clicked fold point one more level
fold-expand-more-current ()
Expand the current fold point one more level Key Bindings: Wing: Alt-Down; Brief: Alt-Down; Eclipse: Alt-Down; Emacs: Alt-Down; macOS: Command-+; MATLAB: Alt-Down; VI/VIM: Alt-Down; Visual Studio: Alt-Down; XCode: Command-Alt-Right
fold-toggle ()
Toggle the current fold point Key Bindings: Wing: Alt-/; Brief: Alt-/; Eclipse: Ctrl-/; Emacs: Alt-; macOS: Command-/; MATLAB: Ctrl-.; VI/VIM: Alt-/; Visual Studio: Alt-/; XCode: Command-/
fold-toggle-clicked ()
Toggle the clicked fold point
force-indent-style-to-match-file ()
Force the indent style of the editor to match the indent style found in the majority of the file
force-indent-style-to-mixed ()
Force the indent style of the editor to mixed use of tabs and spaces, regardless of the file contents
force-indent-style-to-spaces-only ()
Force the indent style of the editor to use spaces only, regardless of file contents
force-indent-style-to-tabs-only ()
Force the indent style of the editor to use tabs only, regardless of file contents
goto-column (column=<numeric modifier; default=0>)
Move cursor to given column Key Bindings: VI/VIM: |
goto-line (lineno=<numeric modifier>)
Position cursor at start of given line number Key Bindings: Wing: Ctrl-L; Brief: Alt-G; Eclipse: Ctrl-L; Emacs: Alt-g; macOS: Command-L; MATLAB: Ctrl-G; Visual Studio: Ctrl-G; XCode: Command-L
goto-line-select (lineno=<numeric modifier>)
Scroll to and select the given line number
goto-nth-line (lineno=<numeric modifier; default=1>, cursor=’start’)
Position cursor at start of given line number (1=first, -1 = last). This differs from goto-line in that it never prompts for a line number but instead uses the previously entered numeric modifier or defaults to going to line one. The cursor can be positioned at ‘start’, ‘end’, or ‘fnb’ for first non-blank character. Key Bindings: VI/VIM: g g invokes goto-nth-line(cursor="fnb")
goto-nth-line-default-end (lineno=<numeric modifier; default=0>, cursor=’start’)
Same as goto_nth_line but defaults to end of file if no lineno is given Key Bindings: VI/VIM: Shift-G invokes goto-nth-line-default-end(cursor="fnb")
goto-percent-line (percent=<numeric modifier; default=0>, cursor=’start’)
Position cursor at start of line at given percent in file. This uses the previously entered numeric modifier or defaults to going to line one. The cursor can be positioned at ‘start’, ‘end’, or ‘fnb’ for first non-blank character, or in VI mode it will do brace matching operation to reflect how VI overrides this command. Key Bindings: VI/VIM: % invokes goto-percent-line(cursor="fnb")
hide-all-whitespace ()
Turn off all special marks for displaying white space and end-of-line
hide-eol ()
Turn off special marks for displaying end-of-line chars
hide-indent-guides ()
Turn off special marks for displaying indent level
hide-whitespace ()
Turn off special marks for displaying white space
indent-lines (lines=None, levels=<numeric modifier; default=1>)
Indent selected number of lines from cursor position. Set lines to None to indent all the lines in current selection. Set levels to indent more than one level at a time. Key Bindings: Eclipse: Ctrl-| invokes indent-lines(lines=1); MATLAB: Ctrl-]; VI/VIM: >
indent-next-move (num=<numeric modifier; default=1>)
Indent lines spanned by next cursor move Key Bindings: VI/VIM: >
indent-region (sel=None)
Indent the selected region one level of indentation. Set sel to None to use preference to determine selection behavior, or "never-select" to unselect after indent, "always-select" to always select after indent, or "retain-select" to retain current selection after indent. Key Bindings: Wing: Ctrl->; Eclipse: Ctrl->; Emacs: Ctrl-C >; macOS: Command-]; MATLAB: Ctrl->; VI/VIM: Ctrl-T; Visual Studio: Ctrl->; XCode: Command-]
indent-to-match-next-move (num=<numeric modifier; default=1>)
Indent lines spanned by next cursor move to match, based on the preceding line Key Bindings: VI/VIM: =
insert-command (cmd)
Insert the output for the given command at current cursor position. Some special characters in the command line (if not escaped with ) will be replaced as follows:
insert-file (filename)
Insert a file at current cursor position, prompting user for file selection Key Bindings: Brief: Alt-R; Emacs: Ctrl-X I
join-lines (delim=’ ‘, num=<numeric modifier; default=2>)
Join together specified number of lines after current line (replace newlines with the given delimiter (single space by default) Key Bindings: VI/VIM: g Shift-J invokes join-lines(delim="")
join-selection (delim=’ ‘)
Join together all lines in given selection (replace newlines with the given delimiter (single space by default) Key Bindings: VI/VIM: g Shift-J invokes join-selection(delim="")
kill-buffer ()
Close the current text file Key Bindings: Brief: Ctrl—; Emacs: Ctrl-X K
outdent-lines (lines=None, levels=<numeric modifier; default=1>)
Outdent selected number of lines from cursor position. Set lines to None to indent all the lines in current selection. Set levels to outdent more than one level at a time. Key Bindings: MATLAB: Ctrl-[; VI/VIM: <
outdent-next-move (num=<numeric modifier; default=1>)
Outdent lines spanned by next cursor move Key Bindings: VI/VIM: <
outdent-region (sel=None)
Outdent the selected region one level of indentation. Set sel to None to use preference to determine selection behavior, or "never-select" to unselect after indent, "always-select" to always select after indent, or "retain-select" to retain current selection after indent. Key Bindings: Wing: Ctrl-<; Eclipse: Shift-Tab; Emacs: Ctrl-C <; macOS: Command-[; MATLAB: Ctrl-<; VI/VIM: Ctrl-D; Visual Studio: Ctrl-<; XCode: Command-[
page-setup ()
Show printing page setup dialog
pep8-file (indentation=None, timeout=None)
Reformat the current file to comply with PEP 8 formatting conventions. Indentation is left unchanged unless indentation=True or indentation=None and the Editor > PEP 8 > Reindent All Lines preference is enabled. Indentation within logical lines is always updated. The command will time out after the given number of seconds, or if timeout is None the timeout configured with the Editor > Auto-formatting > Reformat Timeout preference.
pep8-selection (start=None, end=None)
Reformat the current selection, or current line if there is no selection, to comply with PEP 8 formatting conventions. Reformats the given range if start and end are given.
print-view ()
Print active editor document Key Bindings: Wing: Ctrl-P; Eclipse: Ctrl-P; macOS: Command-P; MATLAB: Ctrl-P; Visual Studio: Ctrl-P; XCode: Command-P
query-replace (search_string, replace_string)
Initiate incremental mini-search query/replace from the cursor position. Key Bindings: Wing: Alt-comma; Eclipse: Alt-comma; Emacs: Alt-%; macOS: Ctrl-R; MATLAB: Alt-comma; Visual Studio: Alt-comma; XCode: Ctrl-R
query-replace-regex (search_string, replace_string)
Initiate incremental mini-search query/replace from the cursor position. The search string is treated as a regular expression. Key Bindings: Wing: Ctrl-Alt-Comma; Eclipse: Ctrl-Alt-Comma; Emacs: Ctrl-Alt-%; MATLAB: Ctrl-Alt-Comma; Visual Studio: Ctrl-Alt-Comma
range-replace (search_string, replace_string, confirm, range_limit, match_limit, regex)
Initiate incremental mini-search query/replace within the given selection. This is similar to query_replace but allows some additional options:
repeat-replace (repeat=<numeric modifier; default=1>)
Repeat the last query replace or range replace operation on the current line. The first match is replaced without confirmation. Key Bindings: VI/VIM: &
replace-char (line_mode=’multiline’, num=<numeric modifier; default=1>)
Replace num characters with given character. Set line_mode to multiline to allow replacing across lines, extend to replace on current line and then extend the line length, and restrict to replace only if enough characters exist on current line after cursor position. Key Bindings: VI/VIM: r
replace-string (search_string, replace_string)
Replace all occurrences of a string from the cursor position to end of file. Key Bindings: Wing: Alt-.; Eclipse: Alt-.; Emacs: Alt-@; MATLAB: Alt-.; Visual Studio: Alt-.
replace-string-regex (search_string, replace_string)
Replace all occurrences of a string from the cursor position to end of file. The search string is treated as a regular expression. Key Bindings: Wing: Ctrl-Alt-.; Eclipse: Ctrl-Alt-.; Emacs: Ctrl-Alt-@; MATLAB: Ctrl-Alt-.; Visual Studio: Ctrl-Alt-.
save-buffer ()
Save the current text file to disk
set-readonly ()
Set editor to be readonly. This cannot be done if the editor contains any unsaved edits.
set-visit-history-anchor ()
Set anchor in the visit history to go back to
set-writable ()
Set editor to be writable. This can be used to override the read-only state used initially for editors displaying files that are read-only on disk.
show-all-whitespace ()
Turn on all special marks for displaying white space and end-of-line
show-eol ()
Turn on special marks for displaying end-of-line chars
show-indent-guides ()
Turn on special marks for displaying indent level
show-indent-manager ()
Display the indentation manager for this editor file
show-whitespace ()
Turn on special marks for displaying white space
start-kbd-macro (register=’a’)
Start definition of a keyboard macro. If register=None then the user is prompted to enter a letter a-z under which to file the macro. Otherwise, register ‘a’ is used by default. Key Bindings: Wing: Ctrl-(; Brief: F7; Eclipse: Ctrl-(; Emacs: Ctrl-X (; macOS: Command-Shift-M; MATLAB: Ctrl-(; VI/VIM: q invokes start-kbd-macro(register=None); Visual Studio: Ctrl-(; XCode: Command-Shift-M
stop-kbd-macro ()
Stop definition of a keyboard macro Key Bindings: Wing: Ctrl-); Brief: Shift-F7; Eclipse: Ctrl-); Emacs: Ctrl-X ); macOS: Command-Shift-M; MATLAB: Ctrl-); VI/VIM: q; Visual Studio: Ctrl-); XCode: Command-Shift-M
toggle-auto-editing ()
Toggle the global auto-editing switch. When enabled, the editor performs the auto-edits that have been selected in the Editor > Auto-Editing preferences group.
toggle-line-wrapping ()
Toggles line wrapping preference for all editors
toggle-overtype ()
Toggle status of overtyping mode Key Bindings: Wing: Insert; Brief: Alt-I; Eclipse: Ctrl-Shift-Insert; Emacs: Insert; MATLAB: Insert; VI/VIM: Insert; Visual Studio: Insert
uncomment-out-region (one_level=True)
Uncomment out the selected region if commented out. If one_level is True then each call removes only one level of commenting. Key Bindings: Wing: Ctrl-?; Eclipse: Ctrl-; Emacs: Ctrl-C U; macOS: Command-"; MATLAB: Ctrl-?; Visual Studio: Ctrl-K Ctrl-U; XCode: Command-"
uncomment-out-toggle (style=None)
Remove commenting from the selected lines, if any. This command is not available if the lines are not commented out.
use-lexer-ada ()
Force syntax highlighting Ada source
use-lexer-apache-conf ()
Force syntax highlighting for Apache configuration file format
use-lexer-asm ()
Force syntax highlighting for Masm assembly language
use-lexer-ave ()
Force syntax highlighting for Avenue GIS language
use-lexer-baan ()
Force syntax highlighting for Baan
use-lexer-bash ()
Force syntax highlighting for bash scripts
use-lexer-bullant ()
Force syntax highlighting for Bullant
use-lexer-by-doctype ()
Use syntax highlighting appropriate to the file type
use-lexer-cmake ()
Force syntax highlighting for CMake file
use-lexer-coffee-script ()
Force syntax highlighting for Coffee Script source file
use-lexer-cpp ()
Force syntax highlighting for C/C++ source Key Bindings: Wing: Ctrl-7 C; Eclipse: Ctrl-7 C; Emacs: Ctrl-X L C; macOS: Command-7 C; MATLAB: Ctrl-7 C; Visual Studio: Ctrl-7 C; XCode: Command-7 C
use-lexer-css2 ()
Force syntax highlighting for CSS2
use-lexer-cython ()
Force syntax highlighting for Cython source
use-lexer-diff ()
Force syntax highlighting for diff/cdiff files
use-lexer-django ()
Force syntax highlighting for Django template file
use-lexer-dos-batch ()
Force syntax highlighting for DOS batch files
use-lexer-eiffel ()
Force syntax highlighting for Eiffel source
use-lexer-errlist ()
Force syntax highlighting for error list format
use-lexer-escript ()
Force syntax highlighting for EScript
use-lexer-fortran ()
Force syntax highlighting for Fortran
use-lexer-hss ()
Force syntax highlighting for HSS CSS extension language
use-lexer-html ()
Force syntax highlighting for HTML Key Bindings: Wing: Ctrl-7 H; Eclipse: Ctrl-7 H; Emacs: Ctrl-X L H; macOS: Command-7 H; MATLAB: Ctrl-7 H; Visual Studio: Ctrl-7 H; XCode: Command-7 H
use-lexer-idl ()
Force syntax highlighting for XP IDL
use-lexer-java ()
Force syntax highlighting for Java source
use-lexer-javascript ()
Force syntax highlighting for Javascript
use-lexer-latex ()
Force syntax highlighting for LaTeX
use-lexer-less ()
Force syntax highlighting for Less CSS extension language
use-lexer-lisp ()
Force syntax highlighting for Lisp source
use-lexer-lout ()
Force syntax highlighting for LOUT typesetting language
use-lexer-lua ()
Force syntax highlighting for Lua
use-lexer-makefile ()
Force syntax highlighting for make files Key Bindings: Wing: Ctrl-7 M; Eclipse: Ctrl-7 M; Emacs: Ctrl-X L M; macOS: Command-7 M; MATLAB: Ctrl-7 M; Visual Studio: Ctrl-7 M; XCode: Command-7 M
use-lexer-mako ()
Force syntax highlighting for Mako template file
use-lexer-matlab ()
Force syntax highlighting for Matlab
use-lexer-mmixal ()
Force syntax highlighting for MMIX assembly language
use-lexer-msidl ()
Force syntax highlighting for MS IDL
use-lexer-nncrontab ()
Force syntax highlighting for NNCrontab files
use-lexer-none ()
Use no syntax highlighting Key Bindings: Wing: Ctrl-7 N; Eclipse: Ctrl-7 N; Emacs: Ctrl-X L N; macOS: Command-7 N; MATLAB: Ctrl-7 N; Visual Studio: Ctrl-7 N; XCode: Command-7 N
use-lexer-nsis ()
Force syntax highlighting for NSIS
use-lexer-pascal ()
Force syntax highlighting for Pascal source
use-lexer-perl ()
Force syntax highlighting for Perl source
use-lexer-php ()
Force syntax highlighting for PHP source
use-lexer-plsql ()
Force syntax highlighting for PL/SQL files
use-lexer-pov ()
Force syntax highlighting for POV ray tracer scene description language
use-lexer-properties ()
Force syntax highlighting for properties files
use-lexer-ps ()
Force syntax highlighting for Postscript
use-lexer-python ()
Force syntax highlighting for Python source Key Bindings: Wing: Ctrl-7 P; Eclipse: Ctrl-7 P; Emacs: Ctrl-X L P; macOS: Command-7 P; MATLAB: Ctrl-7 P; Visual Studio: Ctrl-7 P; XCode: Command-7 P
use-lexer-qss ()
Force syntax highlighting for QSS (Qt Style sheets)
use-lexer-r ()
Force syntax highlighting for R source file
use-lexer-rc ()
Force syntax highlighting for RC file format
use-lexer-ruby ()
Force syntax highlighting for Ruby source
use-lexer-scriptol ()
Force syntax highlighting for Scriptol
use-lexer-scss ()
Force syntax highlighting for SCSS formatted SASS
use-lexer-sql ()
Force syntax highlighting for SQL Key Bindings: Wing: Ctrl-7 S; Eclipse: Ctrl-7 S; Emacs: Ctrl-X L S; macOS: Command-7 S; MATLAB: Ctrl-7 S; Visual Studio: Ctrl-7 S; XCode: Command-7 S
use-lexer-tcl ()
Force syntax highlighting for TCL
use-lexer-vb ()
Force syntax highlighting for Visual Basic
use-lexer-vxml ()
Force syntax highlighting for VXML
use-lexer-xcode ()
Force syntax highlighting for XCode files
use-lexer-xml ()
Force syntax highlighting for XML files Key Bindings: Wing: Ctrl-7 X; Eclipse: Ctrl-7 X; macOS: Command-7 X; MATLAB: Ctrl-7 X; Visual Studio: Ctrl-7 X; XCode: Command-7 X
use-lexer-yaml ()
Force syntax highlighting for YAML
wrap-selection ()
Re-wrap the selected text or current line to the configured text wrap column. When there is no selection, wrappable regions are delineated by surrounding blank lines. Otherwise, when there is a selection, wrapping is constrained to occur only within that selection. Wrapping behavior depends on context; for example, wrapping Python code is different than wrapping plain text or the contents of comments and docstrings. A shared leading prefix found on all lines is retained and only the content after the prefix is wrapped.
yapf-file (timeout=None)
Reformat the current file with YAPF, if installed in the active Python. The command will time out after the given number of seconds, or if timeout is None the timeout configured with the Editor > Auto-formatting > Reformat Timeout preference.
yapf-selection (start=None, end=None)
Reformat the current selection, or current line if there is no selection with YAPF. Reformats the given range if start and end are given.
zoom-in ()
Zoom in, increasing the text display size temporarily by one font size Key Binding: Ctrl-+
zoom-out ()
Zoom out, increasing the text display size temporarily by one font size Key Binding: Ctrl—
zoom-reset ()
Reset font zoom factor back to zero Key Binding: Ctrl-_
Multiple Selection Commands
Commands for editor multiple selections
drop-current-selection ()
Drop current selection when there’s 2+ selections
drop-extra-selections ()
Drop all exceptions except the main selection
drop-one-extra-selection (sel_n)
Drop one extra selection. The sel_n is the index of the selection to drop in the list ordered by the start of the selection. If sel_n can be negative to count from the end of the list.
hide-selections-popup ()
Hide the selections popup; this overrides the preference setting for the current file
next-extra-selection ()
Make the next extra selection the current selection. The selection made current will wrap; the next selection after the last will be the first.
previous-extra-selection ()
Make the previous extra selection the current selection. The selection made current will wrap; the previous selection before the first will be the last.
selection-add-all-occurrences-in-block (stop_at_blank=True, match_case=None, whole_words=None)
Add an extra selection for all occurrences of the main selection text in blocks that contain one or more selections
selection-add-all-occurrences-in-class (match_case=None, whole_words=None)
Add an extra selection for all occurrences of the main selection text in classes that contain one or more selections
selection-add-all-occurrences-in-def (match_case=None, whole_words=None)
Add an extra selection for all occurrences of the main selection text in functions / methods that contain one or more selections
selection-add-all-occurrences-in-file (match_case=None, whole_words=None)
Add an extra selection for all occurrences of the main selection text in the file
selection-add-next-occurrence (skip_current=False, reverse=False, match_case=None, whole_words=None, wrap=None)
Add another selection containing the text of the current selection. If skip_current is true, the current selection will be deselected. If nothing is currently selected, select the current word. Searches backwards if reverse is true. Key Bindings: Wing: Ctrl-Shift-D invokes selection-add-next-occurrence(skip_current=True); Eclipse: Ctrl-Shift-D invokes selection-add-next-occurrence(skip_current=True); Emacs: Ctrl-Alt-> invokes selection-add-next-occurrence(skip_current=True); macOS: Command-Shift-D invokes selection-add-next-occurrence(skip_current=True); MATLAB: Ctrl-Shift-D invokes selection-add-next-occurrence(skip_current=True); Visual Studio: Ctrl-Shift-D invokes selection-add-next-occurrence(skip_current=True); XCode: Command-Shift-D invokes selection-add-next-occurrence(skip_current=True)
show-selections-popup ()
Show the selections popup; this overrides the preference setting for the current file
toggle-selection-add-match-case ()
Toggle the value of the default flag for whether the selection add commands match case or not when looking for additional occurrences
toggle-selection-add-whole-words ()
Toggle the value of the default flag for whether the selection add commands only add whole words when looking for additional occurrences
toggle-selection-add-wrap ()
Toggle the value of the default flag for whether the selection add commands wrap when looking for additional occurrences
Shell Or Editor Commands
Commands available when working either in the shell or editor
goto-clicked-symbol-defn (other_split=None)
Goto the definition of the source symbol that was last clicked on. If other_split is true, the definition will be displayed if a split other than the current split; if other_split is false, it will be displayed in the current editor; if other_split is not specified or None, the split to be used is determined by the Split Reuse Policy preference value. Key Bindings: Wing: Ctrl-left-button-click; Brief: Ctrl-left-button-click; Eclipse: Ctrl-left-button-click; Emacs: Ctrl-left-button-click; macOS: Command-left-button-click; MATLAB: Ctrl-left-button-click; VI/VIM: Ctrl-left-button-click; Visual Studio: Ctrl-left-button-click; XCode: Command-left-button-click
goto-selected-symbol-defn (other_split=None)
Goto the definition of the selected source symbol. If other_split is true, the definition will be displayed if a split other than the current split; if other_split is false, it will be displayed in the current editor; if other_split is not specified or None, the split to be used is determined by the Split Reuse Policy preference value. Key Bindings: Wing: F4; Brief: Alt-H; Eclipse: Ctrl-G; Emacs: Alt-.; macOS: F4; MATLAB: F4; VI/VIM: g Shift-D; Visual Studio: F4; XCode: F4
Source Assistant Commands
Commands for source assistant
hide-assistant-resolution-steps (path=»)
Hide the steps used to determine likely types in the source assistant
show-assistant-resolution-steps (path=»)
Show the steps used to determine likely types in the source assistant
Bookmark View Commands
Commands available on a specific instance of the bookmark manager tool
bookmarks-export-selected (filename)
Export the selected bookmarks
bookmarks-export-visible (filename)
Export all visible bookmarks
bookmarks-import (filename)
bookmarks-remove-all (confirm=1)
Remove all bookmarks
bookmarks-selected-edit ()
Edit the selected bookmark
bookmarks-selected-goto ()
Goto the selected bookmarks
bookmarks-selected-remove (confirm=1)
Remove the selected bookmark
bookmarks-show-docs ()
Show the Wing documentation section for the bookmarks manager
Snippet Commands
Top-level commands for code snippets
snippet (snippet_name)
Insert given snippet into current editor, selecting the snippet appropriate for that file type from universal snippets if not found. This will preprocess the snippet to match indentation style to the target file, adjusts indentation based on context, and starts inline argument collection..
snippet-file (snippet_name, mime_type=», context=’all’)
Create a new file with given snippet and start inline snippet argument collection. If mime type is given, a file of that type is created. Otherwise, all snippets are searched and the first found snippet of given name is used, and file type matches the type of the snippet
Snippet View Commands
Commands available on a specific instance of the snippet manager tool
snippet-add (new_snippet_name, ttype=»)
Add a new snippet to the current Snippets tool page or the given page
snippet-add-file-type (file_extension)
Add a file type to the snippet manager. The file type is the file extension. It is added to the last directory on the snippet path.
snippet-assign-key-binding ()
Assign/reassign/unassign the key binding associated with the given snippet by name.
snippet-clear-key-binding ()
Clear the key binding associated with the given snippet
snippet-reload-all ()
Reload all the snippet files. The snippet manager does this automatically most of the time, but reload can be useful to cause the snippet panel display to update when snippets are added or removed from outside of Wing.
snippet-remove-file-type ()
Remove a file type from the snippet manager, including any snippets defined for it. This operates only on the last directory on the snippet path.
snippet-rename-file-type (new_file_extension)
Rename a file type to the snippet manager. The file type is the file extension. This operates on the last directory on the snippet path.
snippet-restore-defaults (delete=False)
Restore the factory default snippets. If delete is True, this will completely remove all snippets first so any changes made to to snippets will be lost. If delete is False, only missing snippet files will be restored.
Wing Python IDE
This chapter documents the entire set of available preferences for Wing Pro. Note that this includes preferences that are ignored and unused in Wing Personal and Wing 101.
Most preferences can be set from the Preferences GUI but some users may wish to build preference files manually to control different instances of Wing (see details in Preferences Customization).
User Interface
Display Language
The language to use for the user interface. Either the default for this system, or set to a specific supported language.
Internal Name: main.display-language
Data Specification: [None, en, de, fr, ru]
Default Value: None
Display Mode
Selects the overall display mode, either emulating the OS or using the specified light or dark display theme.
Internal Name: gui.display-mode
Data Specification: [follow-os, light, dark]
Default Value: follow-os
Light Theme
The display theme for Wing’s user interface when in light background mode. All color preferences default to using colors from the theme, but can be overridden individually. Additional themes can be defined and added to the ‘palettes’ sub-directory of the User Settings directory.
Internal Name: gui.light-display-theme
Data Specification: [None or <type str>]
Default Value: wing-classic
Light Editor
The light display theme for Wing’s editor, either the same as the Light Theme or a selected theme.
Internal Name: gui.light-editor-theme
Data Specification: [None or <type str>]
Default Value: None
Dark Theme
The display theme for Wing’s user interface when in dark background mode. All color preferences default to using colors from the theme, but can be overridden individually. Additional themes can be defined and added to the ‘palettes’ sub-directory of the User Settings directory.
Internal Name: gui.dark-display-theme
Data Specification: [None or <type str>]
Default Value: one-dark
Dark Editor
The dark display theme for Wing’s editor, either the same as the Dark Theme or a selected theme.
Internal Name: gui.dark-editor-theme
Data Specification: [None or <type str>]
Default Value: None
Enable Tooltips
Controls whether or not tooltips containing help are shown when the mouse hovers over areas of the user interface.
Internal Name: gui.enable-tooltips
Data Specification: <boolean: 0 or 1>
Default Value: 1
Tooltip Delay
The time in seconds to wait after the mouse cursor stops moving before any tooltips are displayed.
Internal Name: gui.tooltips-delay
Data Specification: <type int>
Default Value: 0.5
- Layout
Windowing Policy
Policy to use for window creation: Combined Toolbox and Editor mode places toolboxes into editor windows, and Separate Toolbox mode creates separate toolbox windows.
Internal Name: gui.windowing-policy
Data Specification: [combined-window, separate-toolbox-window]
Default Value: combined-window
Show Editor Tabs
Controls whether or not Wing shows tabs for switching between editors. When false, a popup menu is used instead.
Internal Name: gui.use-notebook-editors
Data Specification: <boolean: 0 or 1>
Default Value: 1
Presentation Mode
Controls whether Wing runs in presentation mode, which magnifies the user interface. Wing must be restarted before this value takes effect.
Internal Name: main.presentation-mode
Data Specification: <boolean: 0 or 1>
Default Value: False
Presentation Mode Scale Factor
The amount by which to increase UI size when presentation mode is enabled. Wing must be restarted before this value takes effect.
Internal Name: main.presentation-scale-factor
Data Specification: <type float>
Default Value: 2.0
- Toolbar
Show Toolbar
Whether toolbar is shown in any window.
Internal Name: gui.show-toolbar
Data Specification: <boolean: 0 or 1>
Default Value: 1
Toolbar Size
Sets size of the toolbar icons. By default, adjusts according to available space.
Internal Name: gui.toolbar-icon-size
Data Specification: [small, medium, large, xlarge, text-height, default]
Default Value: auto
Toolbar Style
Select style of toolbar icons to use. By default, adjusts according to available space.
Internal Name: gui.toolbar-icon-style
Data Specification: [auto, icon-only, text-only, text-below, text-right, default]
Default Value: auto
Groups Shown
Controls which groups of tools will be shown in the toolbar.
Internal Name: guimgr.toolbar-groups
Data Specification: [list of: [file, clip, select, batch-search, search, diff, bookmark, indent, test, vcs, proj, debug]]
Default Value: ['file', 'clip', 'select', 'search', 'diff', 'indent', 'proj', 'debug']
Custom Items
Extra items to add to the tool bar.
Internal Name: guimgr.toolbar-custom-items
Data Specification: [tuple of: [tuple length 3 of: <icon spec>, <type str>, <type str>]]
Primary Icon Color
Primary color for icons
Internal Name: gui.icon-color-primary
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Secondary Icon Color
Secondary color for icons
Internal Name: gui.icon-color-secondary
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Tertiary Icon Color
Tertiary color for icons
Internal Name: gui.icon-color-tertiary
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Quaternary Icon Color
Quaternary color for icons
Internal Name: gui.icon-color-quaternary
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Quinary Icon Color
Quinary color for icons
Internal Name: gui.icon-color-quinary
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Senary Icon Color
Senary color for icons
Internal Name: gui.icon-color-senary
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
- Fonts
Display Font/Size
The base font and size to use for the user interface’s menus and labels
Internal Name: gui.qt-display-font
Data Specification: [None or <type str>]
Default Value: None
Editor Font/Size
The base font and size to use for source code shown in the editor, Python Shell, Debug Console, Source Assistant, and other tools that display source code.
Internal Name: edit.qt-display-font
Data Specification: [None or <type str>]
Default Value: None
- Keyboard
Personality
Selects the overall editor personality, optionally to emulate another commonly used editor.
Internal Name: edit.personality
Data Specification: [normal, brief, eclipse, emacs, osx, matlab, vi, visualstudio, xcode]
Default Value: osx
Tab Key Action
Defines the action of the Tab key, one of: "Default for Personality" to emulate the selected Keyboard Personality. "Indent To Match" to indent the current line or selected line(s) to match the context, "Move to Next Tab Stop" to enter indentation characters so the caret reaches the next tab stop, "Indent Region" to increase the indentation of the selected line(s) by one level, or "Insert Tab Character" to insert a Tab character (chr(9)). For Python files, "Smart Tab" is an option that varies the tab key action according to the location of the caret within the line.
Internal Name: edit.tab-key-action
Data Specification: [dict; keys: <type str>, values: <type str>]
Smart Tab End of Line Indents
Select type of indentation that Smart Tab will place at the end of a line.
Internal Name: edit.smart-tab-eol-indents
Data Specification: [None, 1, 2, 3, 4]
Default Value: 4
Alt Key
Selects the key to use as the Alt- modifier in key bindings. Note that the Option key is also used to enter characters, such as ® on US keyboards or ] on German keyboards. When the Option key is used for the Alt key, Alt-key bindings take precedence and thus may block entering of characters with the Option key. If both functions are needed, use the left Option key for the Alt-key and enter characters with the right Option key. If the Command keys are used for the Alt key, any Alt-key bindings will override Command-key bindings for the same key.
Internal Name: gui.qt-osx-key-for-alt
Data Specification: [both-option-keys, left-option-key, command-keys, none]
Default Value: left-option-key
Fallback to Mac OS key bindings
Use key bindings from macOS keymap for keys not defined in currently selected keymap
Internal Name: guimgr.fallback-to-macos-keymap
Data Specification: <boolean: 0 or 1>
Default Value: True
Use Alt for Accelerators
Specifies whether plain Alt keystrokes should be used only for accelerators. When enabled, Alt-key presses that could be for an accelerator will be used only for accelerators and never for key bindings. When disabled, Alt-key bindings take precedence over accelerators. This preference is ignored when Wing is running with native macOS display style, since in that case accelerators do not exist.
Internal Name: gui.qt-os-alt-for-accelerators
Data Specification: <boolean: 0 or 1>
Default Value: False
Custom Key Bindings
Override key bindings in the keymap. To enter the key, place focus on the entry area and type the key combination desired. The command is one of those documented in the user manual’s Command Reference, or the name of any user scripts that have been loaded into the IDE. Leave the command name blank to remove the default binding for a key (this is useful when adding multi-key bindings that conflict with a default).
Internal Name: gui.keymap-override
Data Specification: [dict; keys: <type str>, values: <type str>]
Typing Group Timeout
Sets the timeout in seconds to use for typing, after which keys pressed are considered a separate group of characters. This is used for typing-to-select on lists and in other GUI areas. Before the timeout subsequent keys are added to previous ones to refine the selection during keyboard navigation.
Internal Name: gui.typing-group-timeout
Data Specification: <type float>, <type int>
Default Value: 1
VI Mode Ctrl-C/X/V
Controls the behavior of the Ctrl-X/C/V key bindings in vi mode. Either always use these for cut/copy/paste, use them for vi native actions such as initiate-numeric-repeat and start-select-rectangle, or use the default by system (clipboard on win32 and other commands elsewhere).
Internal Name: vi-mode.clipboard-bindings
Data Specification: [system-default, clipboard, other]
Default Value: system-default
- Perspectives
Auto-save Perspectives
Selects whether to auto-save perspectives when switching to another perspective. Can always auto-save, never auto-save, prompt each time a perspective is left, or auto-save as configured on a per-perspective basis.
Internal Name: main.perspective-auto-save
Data Specification: [tuple length 2 of: [always, never, prompt, choose], <type str>]
Default Value: always
Shared Perspective File
Selects the file to use for storing and retrieving shared perspectives. By default (when value is None) the file ‘perspectives’ in the user settings directory is used.
Internal Name: main.perspective-shared-file
Data Specification: [one of: <type NoneType>, <type str>]
Default Value: None
- Other
Show Splash Screen
Controls whether or not the splash screen is shown at startup.
Internal Name: main.show-splash-screen
Data Specification: <boolean: 0 or 1>
Default Value: 1
When Launching Wing
Controls whether Wing tries to reuse an existing running instance of the IDE when it is launched again.
Internal Name: main.instance-reuse-policy
Data Specification: [None, reuse, new]
Default Value: None
Quit Application When Last Window Closes
Quit application when last document window closes
Internal Name: guimgr.quit-on-last-window-close-osx
Data Specification: <boolean: 0 or 1>
Default Value: False
Auto-Focus Tools
Controls whether to automatically move keyboard focus from the editor to tools when they are revealed.
Internal Name: gui.auto-focus-tools
Data Specification: <boolean: 0 or 1>
Default Value: 1
Case Sensitive Sorting
Controls whether names are sorted case sensitively (with all caps preceding small letters) or case insensitively
Internal Name: gui.sort-case-sensitive
Data Specification: <boolean: 0 or 1>
Default Value: 0
Always Use Full Path in Tooltips
Enable to always show the full path of a file name in the tooltips shown from the editor tabs and file selection menus. When disabled, the configured Source Title Style is used instead.
Internal Name: gui.full-path-in-tooltips
Data Specification: <boolean: 0 or 1>
Default Value: True
- Advanced
Max Error Log Size
The number of bytes at which the IDE log file (USER_SETTINGS_DIR/ide.log) is truncated. This file can be sent to technical support to help diagnose problems with the IDE.
Internal Name: main.max-error-log-size
Data Specification: [from 10000 to 10000000]
Default Value: 500000
Shared File Sets Repository
Selects the file to use for storing and retrieving shared named files sets. By default (when value is None) the file ‘filesets’ in the user settings directory is used.
Internal Name: main.fileset-shared-file
Data Specification: [one of: <type NoneType>, <type str>]
Default Value: None
Key Map File
Defines location of the keymap override file. Use None for default according to configured editor personality. See the Wing Manual for details on building your keymap override file — in general this is used only in development or debugging keymaps; use the keymap-override preference instead for better tracking across Wing versions.
Internal Name: gui.keymap
Data Specification: [None or <type str>]
Default Value: None
Auto-check for Product Updates
Automatically check for updates at startup by connecting to wingware.com. Updates are checked every three days, or more often for prerelease versions.
Internal Name: main.auto-check-updates
Data Specification: <boolean: 0 or 1>
Default Value: 1
Submit Usage Stats
Allow submitting a log of which features you use to Wingware. This is done periodically at startup and also when you submit bug reports, feedback, or check for updates. The data provided is held confidential, used only for technical support and planning future development, and can be seen in the file USER_SETTINGS_DIR/stats.log
Internal Name: main.submit-usage-stats
Data Specification: <boolean: 0 or 1>
Default Value: 1
Show Support+Upgrades Reminders
Show a reminder when Support+Upgrades for the active license is expired or will expire soon.
Internal Name: main.monitor-support-upgrades
Data Specification: <boolean: 0 or 1>
Default Value: 1
Show Discount Offers
Controls whether Wing will periodically show discount offers.
Internal Name: main.show-offers
Data Specification: <boolean: 0 or 1>
Default Value: 1
Projects
Auto-reopen Last Project
Controls whether most recent project is reopened at startup, in the absence of any other project on the command line.
Internal Name: main.auto-reopen-last-project
Data Specification: <boolean: 0 or 1>
Default Value: 1
Close Files with Project
Controls whether any files open in an editor are also closed when a project file is closed
Internal Name: proj.close-also-windows
Data Specification: <boolean: 0 or 1>
Default Value: 1
Open Projects as Text
Controls whether project files are opened as project or as text when opened from the File menu. This does not affect opening from the Project menu.
Internal Name: gui.open-projects-as-text
Data Specification: <boolean: 0 or 1>
Default Value: 0
Confirm Drag Copy/Move
Controls whether or not the IDE will confirm file copy/move operations initiated by dragging items around on the Project view.
Internal Name: proj.confirm-file-drags
Data Specification: <boolean: 0 or 1>
Default Value: 1
- Context Menu
Groups Shown
Controls which groups of menu items will be shown in the Project tool’s context menu.
Internal Name: proj.context-menu-groups
Data Specification: [tuple of: [clip, nav, debug, vcs, proj, file, script]]
Default Value: ['clip', 'nav', 'debug', 'vcs', 'proj', 'file', 'script']
Custom Items
Extra menu items to add to the Project tool context menu.
Internal Name: proj.context-menu-custom-items
Data Specification: [tuple of: [tuple length 2 of: <type str>, <type str>]]
- Containers
Warn Before Container Configuration
Controls whether to show a warning before editing a container configuration or stopping a container that is currently in use.
Internal Name: main.show-container-config-warning
Data Specification: <boolean: 0 or 1>
Default Value: True
Notify Container Configuration Change
Controls whether to show a notice after a change in Project Properties results in a change to the effective container configuration.
Internal Name: main.show-container-config-changed-notice
Data Specification: <boolean: 0 or 1>
Default Value: True
When Container Image Changes
Controls what action to take if the container image for a running container instance is rebuilt or changes. Auto-restarting instances will terminate all debug, test, OS Command, Python Shell processes on the container without confirmation.
Internal Name: main.container-image-changed-policy
Data Specification: [auto-restart, leave-running, prompt]
Default Value: None
Warn Before Cluster Configuration
Controls whether to show a warning before editing a cluster configuration or stopping a cluster that is currently in use.
Internal Name: main.show-cluster-config-warning
Data Specification: <boolean: 0 or 1>
Default Value: True
Notify Cluster Configuration Change
Controls whether to show a notice when a cluster configuration is changed, causing the cluster to be terminated and restarted.
Internal Name: main.show-cluster-config-changed-notice
Data Specification: <boolean: 0 or 1>
Default Value: True
When Cluster Image Changes
Controls what action to take if container images used in a running cluster are rebuilt or change. Auto-restarting the cluster will terminate without confirmation all in-cluster debug, unit test, OS Command, Python Shell processes.
Internal Name: main.cluster-image-changed-policy
Data Specification: [auto-restart, leave-running, prompt]
Default Value: None
Show Environment Warning
Controls whether to show a warning when a project that uses a container or cluster specifies a non-default environment.
Internal Name: main.show-container-env-warning
Data Specification: <boolean: 0 or 1>
Default Value: True
Files
Auto-Save Files Before Debug or Execute
Controls whether or not all edited files are saved without asking before a debug run, before starting unit tests, or before a file or build process is executed.
Internal Name: gui.auto-save-before-action
Data Specification: <boolean: 0 or 1>
Default Value: 0
Default Directory Policy
Defines how Wing determines the starting directory to use when prompting for a file name: Either based on location of the resource at current focus, location of the current project home directory, the last directory visited for file selection, the current directory at startup (or selected since), or always the specific fixed directory entered here.
Internal Name: main.start-dir-policy
Data Specification: [tuple length 2 of: [current-focus, current-project, recent-directory, current-directory, selected-directory], <type str>]
Default Value: ('current-focus', '')
Title Style
Format used for titles of source files: Use Base Name Only to display just the file name, Prepend Relative Path to use partial relative path from the project file location or configured Project Home Directory, Append Relative Path to instead append the relative path after the file namePrepend Full Path to use full path, or Append Full Path to instead append the fullpath after the file name.
Internal Name: gui.source-title-style
Data Specification: [basename, prepend-relative, append-relative, prepend-fullpath, append-fullpath]
Default Value: append-relative
Show Hostname in Titles
Show the remote host name in all basename-only filenames used in titles.
Internal Name: gui.include-host-in-titles
Data Specification: <boolean: 0 or 1>
Default Value: True
Default Encoding
The default encoding to use for text files opened in the source editor and other tools, when an encoding for that file cannot be determined by reading the file. Other encodings may also be tried. This also sets the encoding to use for newly created files.
Internal Name: edit.default-encoding
Data Specification: [None or [None, ascii, utf_16, utf_16_be, utf_16_le, utf_7, utf_8, iso8859_15, latin_1, mac_roman, iso8859_6, iso8859_13, iso8859_4, iso8859_14, iso8859_2, mac_latin2, iso8859_5, mac_cyrillic, iso8859_3, iso8859_7, mac_greek, iso8859_8, mac_iceland, iso8859_10, iso8859_9, mac_turkish, cp037, cp1140, cp1252, cp850, cp1256, cp864, cp1257, cp775, cp863, cp1250, cp852, big5hkscs, gb18030, gb2312, gbk, hz, big5, cp950, cp1251, cp855, cp865, cp1253, cp737, cp869, cp875, cp1255, cp424, cp856, cp862, cp861, cp932, euc_jis_2004, euc_jisx0213, euc_jp, iso_2022_jp, iso_2022_jp_1, iso_2022_jp_2, iso_2022_jp_2004, iso_2022_jp_3, iso_2022_jp_ext, shift_jis, shift_jis_2004, shift_jisx0213, cp949, iso_2022_kr, johab, cp860, koi8_r, cp874, cp1026, cp1254, cp857, cp437, koi8_u, cp1006, cp1258, cp500]]
Default Value: None
New File EOL
Default end-of-line to use. Wing matches existing line endings in non-blank files and uses this preference only when a file contains no end-of-line characters.
Internal Name: edit.new-file-eol-style
Data Specification: [lf, cr, crlf]
Default Value: lf
New File Extension
Default file extension for newly created files
Internal Name: edit.new-file-extension
Data Specification: <type str>
Default Value: .py
Max Recent Items
Maximum number of items to display in the Recent menus.
Internal Name: gui.max-recent-files
Data Specification: [from 3 to 200]
Default Value: 20
Maximum File Size (MB)
Maximum size of files that Wing will try to open, in MB.
Internal Name: gui.max-file-size
Data Specification: [from 1 to 100000]
Default Value: 50
- File Types
Extra File Types
This is a map from file extension or wildcard to mime type. It adds additional file type mappings to those built into Wing. File extensions can be specified alone without dot or wildcard, for example "xcf" or using wildcards containing "*" and/or "?", for example "Makefile*". The mime type to use for Python files is "text/x-python".
Internal Name: main.extra-mime-types
Data Specification: [dict; keys: <type str>, values: [text/x-asn1, text/x-abaqus, text/x-ada, text/x-conf, text/x-ave, text/x-baan, text/x-bash, text/x-bullant, text/x-c-source, text/x-cpp-source, text/x-caml, text/x-cmake, text/x-idl, text/css, text/x-coffee, text/x-cython, text/x-d, text/x-diff, text/x-django, text/x-docbook, text/x-dos-batch, text/x-escript, text/x-eiffel, text/x-erlang, text/x-errorlist, text/x-forth, text/x-fortran, text/x-po, text/x-hss, text/html, text/x-haskell, text/x-inno-setup, application/json, text/x-java-source, text/x-javascript, application/x-tex, text/x-lot, text/x-less, text/x-lisp, text/x-lout, text/x-lua-source, text/x-mmixal, text/x-ms-idl, text/x-ms-makefile, text/x-makefile, text/x-mako, text/x-markdown, text/x-asm, text/x-matlab, text/x-metaport, text/x-mysql, text/x-nncrontab, text/x-nsis, text/x-octave, text/x-php-source, text/x-pl-sql, text/x-pov, text/x-pascal, text/x-perl, text/plain, text/postscript, text/x-properties, text/x-python, text/x-python-interface, text/x-qss, text/x-r, text/x-rc, text/x-ruby, text/x-scss, text/x-sql, text/x-scriptol, text/x-smalltalk, text/x-spice, text/x-tcl, text/x-vhdl, text/x-vxml, text/x-verilog, text/x-vb-source, text/x-xcode, text/xml, text/x-yaml, text/x-zope-pt]]
File Filters
Defines file filters to apply to file names for inclusion and exclusion from a larger set (such as scanned disk files or all project files).
Each filter is named and contains one list of inclusion patterns and one list of exclusion patterns. The patterns can be a wildcard on the file name, wildcard on a directory name, or a mime type name.
Internal Name: main.file-filters
Data Specification: [file filters]
‘), (‘wildcard-filename’, ‘*.bsc’), (‘wildcard-filename’, ‘.hgtags’), (‘wildcard-filename’, ‘*.o’), (‘wildcard-filename’, ‘*.orig’), (‘wildcard-filename’, ‘*$py.class’), (‘wildcard-filename’, ‘.DS_Store’), (‘wildcard-filename’, ‘*.pyo’), (‘wildcard-directory’, ‘.svn’), (‘wildcard-filename’, ‘.#*’), (‘wildcard-filename’, ‘*.zip’), (‘wildcard-filename’, ‘*.exe’), (‘wildcard-filename’, ‘*.obj’), (‘wildcard-filename’, ‘*.pyc’), (‘wildcard-filename’, ‘*.pyd’), (‘wildcard-filename’, ‘*.ilk’)>, set())>
- Reloading
Reload when Unchanged
Selects action to perform on files found to be externally changed but unaltered within the IDE. Use Auto Reload to automatically reload these files, Immediately Request Reload to ask via a dialog box upon detection, Request Reload on Edit to ask only if the unchanged file is edited within the IDE subsequently, or Never Reload to ignore external changes (although you will still be warned if you try to save over an externally changed file)
Internal Name: cache.unchanged-reload-policy
Data Specification: [auto-reload, request-reload, edit-reload, never-reload]
Default Value: auto-reload
Reload when Changed
Selects action to perform on files found to be externally changed and that also have been altered in the IDE. One of Immediately Request Reload to ask via a dialog box upon detection, Request Reload on Edit to ask if the file is edited further, or Never Reload to ignore external changes (although you will always be warned if you try to save over an externally changed file)
Internal Name: cache.changed-reload-policy
Data Specification: [request-reload, edit-reload, never-reload]
Default Value: request-reload
Reloading Deleted Disk Files
Specifies the behavior of reload when a file that is open in an editor disappears on disk. The default Closes Editor is recommended if using revision control. Otherwise, retaining the current editor content reduces the chances of entirely losing a file if it is accidentally deleted on disk.
Internal Name: guimgr.deleted-disk-file-policy
Data Specification: [list of: [close, blank, prompt]]
Default Value: close
External Check Freq
Time in seconds indicating the frequency with which the IDE should check the disk for files that have changed externally. Set to 0 to disable entirely.
Internal Name: cache.external-check-freq
Data Specification: <type float>, <type int>
Default Value: 5
Check Hash Before Reloading
Don’t reload files if size has not changed and a hash of the contents matches the hash when it was last read. This check is skipped if file is larger than 5 MB.
Internal Name: cache.check-hash-before-reload
Data Specification: <boolean: 0 or 1>
Default Value: True
- External Display
File Display Commands
Posix only: The commands used to display or edit local disk files selected from the Help menu or project files selected for external display. This is a map from mime type to a list of display commands; each display command is tried in order of the list until one works. The mime type "*" can be used to set a generic viewer, such as a web browser. Use %s to place the file name on the command lines. If unspecified then Wing will use the configured URL viewer in the environment (specified by BROWSER environment variable or by searching the path for common browsers). On Windows, the default viewer for the file type is used instead so this preference is ignored. On macOS, files are opened with "open" by default so this preference is rarely needed.
Internal Name: gui.file-display-cmds
Data Specification: [dict; keys: <type str>, values: [list of: <type str>]]
Url Display Commands
Posix only: The commands used to display URLs. This is a map from protocol type to a list of display commands; each display command is tried in order of the list until one works. The protocol "*" can be used to set a generic viewer, such as a multi-protocol web browser. Use %s to place the URL on the command lines. If unspecified then Wing will use the configured URL viewer in the environment (specified by BROWSER environment variable or by searching the path for common browsers). On Windows, the default web browser is used instead so this preference is ignored. On macOS, URLs are opened with "open" by default so this preference is rarely needed.
Internal Name: gui.url-display-cmds
Data Specification: [dict; keys: <type str>, values: [list of: <type str>]]
Editor
Show Line Numbers
Shows or hides line numbers on the editor.
Internal Name: edit.show-line-numbers
Data Specification: <boolean: 0 or 1>
Default Value: 0
Show Whitespace
Set to true to show whitespace with visible characters by default
Internal Name: edit.show-whitespace
Data Specification: <boolean: 0 or 1>
Default Value: 0
Space Indicator Size
Sets the size of the indicator to use for a space character when white space is being shown on the editor. This may be set to zero to show only tab characters.
Internal Name: edit.space-indicator-size
Data Specification: <type int>
Default Value: 1
Show EOL
Set to true to show end-of-line with visible characters by default
Internal Name: edit.show-eol
Data Specification: <boolean: 0 or 1>
Default Value: 0
Split Reuse Policy
Policy for reusing splits in editors when new files are opened: Either always open in current split, reuse already visible editor falling back on current split, reuse already visible editor falling back on adjacent split, or always open in an adjacent split. This only has an effect when more than one editor split is visible.
Internal Name: gui.split-reuse-policy
Data Specification: [current, reuse-current, reuse-adjacent, adjacent]
Default Value: current
Other Split Type
The type of split to create with commands that display in other split. The default is to split horizontally if the window width is greater than the height and to split vertically otherwise.
Internal Name: edit.other-split-type
Data Specification: [default, vertical, horizontal]
Default Value: default
Show All Files in All Splits
Whether to show all open editors in a window in every split.
Internal Name: gui.all-editors-in-all-splits
Data Specification: <boolean: 0 or 1>
Default Value: True
Strip Trailing White Space
Controls whether to automatically strip trailing white space in the editor. May be enabled for any file or only files that are part of the current project.
Internal Name: main.auto-rstrip-on-save
Data Specification: [tuple length 2 of: [disabled, on-save, on-save-project], <type str>]
Default Value: disabled
Block Comment Style
Style of commenting to use when commenting out blocks of Python code.
Internal Name: gui.block-comment-style
Data Specification: [block, block-pep8, indented, indented-pep8]
Default Value: indented
Scroll Past End
Set this to allow scrolling the editor past the last line.
Internal Name: edit.scroll-past-end
Data Specification: <boolean: 0 or 1>
Default Value: True
Ensure File Ends With EOL When Saving
Whether to add an eol at the end of the file when it is saved
Internal Name: edit.ensure-ending-eol-on-save
Data Specification: <boolean: 0 or 1>
Default Value: False
Enable Font Size Zooming
Whether to allow font size zooming in the editor, using the mouse wheel, track pad, or zoom-in and zoom-out commands.
Internal Name: edit.enable-font-zoom
Data Specification: <boolean: 0 or 1>
Default Value: False
- Selection/Caret
Selection Color
The color used to indicate the current text selection on editable text.
Internal Name: gui.qt-text-selection-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Caret Color
Selects the color to use for the editor caret.
Internal Name: edit.caret-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Caret Width
Width of the blinking insertion caret on the editor, in pixels. Currently limited to a value between 1 and 3.
Internal Name: edit.caret-width
Data Specification: [from 1 to 3]
Default Value: 1
Caret Flash Rate (ms)
Sets the time in milliseconds between showing and hiding the caret when it is flashing; use 0 to disable flashing entirely
Internal Name: edit.caret-flash-rate
Data Specification: [from 0 to 2000]
Default Value: 500
Caret Line Highlight
Selects whether to highlight the line the caret is currently on. When enabled, a highlight color and alpha (to control transparency) can be set.
Internal Name: edit.caret-line-highlight
Data Specification: [None or [tuple length 2 of: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]], <type int>]]
Default Value: None
Scrolling Context Lines
The number of lines of context to show above or below the caret when auto-scrolling the editor to a new position
Internal Name: edit.scroll-context-lines
Data Specification: <type int>
Default Value: 5
Display Selections Popup
When to display multiple selections popup window
Internal Name: edit.display-selection-popup
Data Specification: [always, multiple, never]
Default Value: multiple
- Occurrences
Highlight Occurrences
Selects when to automatically highlight other occurrences of the current selection on the editor
Internal Name: edit.highlight-occurrences
Data Specification: [always, words, never]
Default Value: words
Match Case
Disable to allow occurrences highlighting also where case does not match.
Internal Name: edit.match-case-occurrences
Data Specification: <boolean: 0 or 1>
Default Value: True
Occurrences Indicator Style
The style of indicator to use for highlighting other occurrences of the current selection on the editor.
Internal Name: edit.occurrence-indicator-style
Data Specification: [box, block]
Default Value: block
Occurrences Color
The color used to indicate the current text selection on editable text.
Internal Name: edit.occurrence-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
- Callouts
Enable Callouts
Whether to enable display of callouts that are briefly displayed to indicate textvisited in the editor by search, goto-definition, and other navigation features.
Internal Name: edit.callout-enable
Data Specification: <boolean: 0 or 1>
Default Value: True
Callout Color
The color used for callouts on the editor.
Internal Name: edit.callout-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Persistence Time (ms)
The time in milliseconds that callouts persist after display on the editor.
Internal Name: .edit.callout-persistence
Data Specification: <type int>
Default Value: 500
- Indentation
Use Indent Analysis
Select when to use indent analysis (examination of current file contents) in order to determine indentation type and size. Either always in all files, only in Python files, or never. When disabled, the Preferred Indent Style from Project Properties and Default Indent Size and Default Tab Size from preferences will be used.
Internal Name: edit.use-indent-analysis
Data Specification: [always, python-only, never]
Default Value: always
Default Tab Size
Set size of tabs, in spaces, used in new files. Note that in Python files that contain mixed space and tab indentation, tab size is always forced to 8 spaces. Use the Indentation Manager to alter indentation in existing files.
Internal Name: edit.tab-size
Data Specification: [from 1 to 80]
Default Value: 8
Default Indent Size
Sets size of an indent, in spaces, used in new files. This is overridden in non-empty files, according to the actual contents of the file. In files with tab-only indentation, this value may be modified so it is a multiple of the configured tab size. Use the Indentation Manager to alter indentation in existing files.
Internal Name: edit.indent-size
Data Specification: [from 1 to 80]
Default Value: 4
Default Indent Style
Set the style of indentation used in new files. This is overridden in non-empty files, according to the actual contents of the file. Use the Indentation Manager to alter indentation in existing files.
Internal Name: edit.indent-style
Data Specification: [spaces-only, tabs-only, mixed]
Default Value: spaces-only
Auto Indent
Controls when Wing automatically indents when return or enter is typed.
Internal Name: edit.auto-indent
Data Specification: [1, blank-only, 0]
Default Value: 1
Show Indent Guides
Set to true to show indent guides by default
Internal Name: edit.show-indent-guides
Data Specification: <boolean: 0 or 1>
Default Value: 0
Show Python Indent Warning Dialog
Set to show a warning dialog when opening a Python file that contains potentially problematic indentation: Either inconsistent and possibly confusing indentation, a mix of indent styles in a single file, or mixed tab and space indentation (which is not recommended for Python).
Internal Name: edit.show-python-indent-warnings
Data Specification: <boolean: 0 or 1>
Default Value: 1
Show Override Warning Dialog
Show indent mismatch warning dialog when user selects an indent style that is incompatible with existing file content. This only applies to non-Python files since Wing disallows overriding the indent style in all Python files.
Internal Name: edit.show-non-py-indent-warning
Data Specification: <boolean: 0 or 1>
Default Value: True
- Line Wrapping
Wrap Long Lines
Enable to wrap long source lines on the editor display.
Internal Name: edit.wrap-lines
Data Specification: <boolean: 0 or 1>
Default Value: 0
Edge Markers
Control whether and how edge markers are shown in the editor.
Internal Name: edit.qt-show-edge-markers
Data Specification: [tuple length 3 of: [0, 1, 2], [from 0 to 10000], [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]]
Default Value: (0, 80, None)
Reformatting Wrap Column
Column at which text should be wrapped by commands that automatically rearrange text
Internal Name: edit.text-wrap-column
Data Specification: <type int>
Default Value: 77
- Clipboard
On Empty Selection
Controls whether or not to copy or cut the whole current line when there is no selection on the editor.
Internal Name: edit.smart-clipboard
Data Specification: [disabled, copy, copy-cut]
Default Value: copy
Middle Mouse Paste
Paste text into the editor from the clipboard when the middle mouse button is pressed. Disabling this is mainly useful for wheel mice with a soft wheel that causes pasting of text before wheel scrolling starts.
Internal Name: edit.middle-mouse-paste
Data Specification: <boolean: 0 or 1>
Default Value: True
Convert Indent Style On Paste
Controls whether Wing automatically converts indent style and size on text that is pasted into an editor.
Internal Name: edit.convert-indents-on-paste
Data Specification: <boolean: 0 or 1>
Default Value: True
Adjust Indent After Paste
Controls whether Wing automatically adjusts indents after multi-line text is pasted. When enabled, a single undo will remove any alterations in indentation.
Internal Name: edit.adjust-indent-after-paste
Data Specification: <boolean: 0 or 1>
Default Value: True
- Syntax Coloring
Syntax Formatting
Formatting options for syntax coloring in editors. Colors are relative to a white background and will be transformed if the background color is set to a color other than white.
Internal Name: .edit.syntax-formatting
Data Specification: [dict; keys: <type str>, values: [dict; keys: <type str>, values: [dict; keys: [fore, back, bold, italic], values: [one of: None, <type str>, <boolean: 0 or 1>]]]]
Highlight Builtins
Highlight Python builtins
Internal Name: edit.highlight-builtins
Data Specification: <boolean: 0 or 1>
Default Value: True
- Brace Matching
Brace Highlighting
Enabled to automatically highlight the matching braces next to the cursor or as they are typed.
Internal Name: edit.auto-brace-match
Data Specification: <boolean: 0 or 1>
Default Value: 1
Brace Highlight Color
The color used to highlight matching braces.
Internal Name: edit.brace-highlight-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Brace Highlight Background Color
The background color used to highlight matching braces.
Internal Name: edit.brace-highlight-backcolor
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Brace Badlight Color
The color used to highlight bad braces.
Internal Name: edit.brace-badlight-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Brace Badlight Background Color
The background color used to highlight bad braces.
Internal Name: edit.brace-badlight-backcolor
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
- Code Warnings
Enable Code Warnings
Whether to enable the code warnings system as a whole. When this is disabled, no code warnings are displayed and external code warnings systems will not be launched even if enabled.
Internal Name: codewarnings.enable
Data Specification: <boolean: 0 or 1>
Default Value: True
Indicators
Controls whether Wing will show error and/or warning indicators on the editor as red and yellow underlines. When shown, hovering the mouse over the indicator shows the error or warning detail in a tooltip.
Internal Name: edit.error-display
Data Specification: [show-all, show-errors, show-none]
Default Value: show-all
Indicator Style
Visual display style to use for code errors and warnings shown on the editor.
Internal Name: edit.indicator-style
Data Specification: [underline, thick-underline, squiggle, plain-box, filled-box]
Default Value: squiggle
Error Color
Color to use to indicate code errors in the editor.
Internal Name: edit.code-error-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Warning Color
Color to use to indicate code warnings in the editor.
Internal Name: edit.code-warning-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
- Bookmarks
Bookmark Color
Color to use on the source editor to indicate the location of user-defined bookmarks.
Internal Name: edit.qt-bookmark-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Bookmark Style
Visual display style to use for bookmarks: Either an underline, a background color change, or no visible marker.
Internal Name: edit.bookmark-style
Data Specification: [None, underline, background]
Default Value: background
Confirm Deletion
Show a confirmation dialog when deleting bookmarks
Internal Name: edit.bookmark-confirm-delete
Data Specification: <boolean: 0 or 1>
Default Value: True
- Folding
Enable Folding
Whether to enable folding source code.
Internal Name: edit.enable-folding
Data Specification: <boolean: 0 or 1>
Default Value: 1
Line Mode
Whether and how to show a line at a collapsed fold point. Controls the position of the line and whether it is shown for collapsed or expanded fold points.
Internal Name: edit.fold-line-mode
Data Specification: [above-expanded, below-expanded, above-collapsed, below-collapsed, none]
Default Value: below-collapsed
Indicator Style
Selects the type of indicators to draw at fold points.
Internal Name: edit.fold-indicator-style
Data Specification: [from 0 to 3]
Default Value: 1
Fold Trailing White Space
Controls whether or not trailing white space after a block of code is folded up along with the block, for a more compact folded display.
Internal Name: edit.fold-trailing-whitespace
Data Specification: <boolean: 0 or 1>
Default Value: 1
Foreground Color
Color to use for the foreground of the fold indicators.
Internal Name: edit.fold-mark-foreground-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Background Color
Color to use for the background of the fold indicators.
Internal Name: edit.fold-mark-background-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
- Auto-completion
Auto-show Completer
Controls whether or not the completer is always shown automatically during typing, never auto-shown, or shown only after a certain number of characters are in the completion fragment. When auto-show is disabled, the auto-completer can still be shown on demand with the Show Completer item in the Source menu.
Internal Name: edit.autocomplete-autoshow-option
Data Specification: [never, always]
Default Value: always
Python Turbo Mode
When enabled, the Python auto-completer enters the completion automatically whenever a key other than a valid symbol name key is pressed. Press a modifier key (Shift, Alt, or Ctrl) by itself to exit the completer without entering a completion. When disabled, only the configured completion keys enter the completion into the editor.
Internal Name: edit.autocomplete-turbo-mode
Data Specification: <boolean: 0 or 1>
Default Value: 0
Completion Keys
Controls which keys will enter selected completion value into the editor.
Internal Name: edit.autocomplete-keys
Data Specification: [list of: [tab, return, space, f1, f3, f10, f12, period, parenleft, bracketleft, colon]]
Auto-completer Height
The maximum number of lines to show in the auto-completer at once.
Internal Name: edit.autocompleter-height
Data Specification: <type int>
Default Value: 10
Auto-complete Delay (sec)
Delay in seconds from last key press to wait before the auto-completer is shown. If 0.0, the auto-completer is shown immediately.
Internal Name: edit.autocomplete-delay
Data Specification: <type int>, <type float>
Default Value: 0.0
Auto-complete Timeout
Timeout in seconds from last key press after which the auto-completer is automatically hidden. If 0.0, the auto-completer does not time out.
Internal Name: edit.autocomplete-timeout
Data Specification: <type int>, <type float>
Default Value: 0
Completion Mode
Selects how completion is done in the editor: Either insert the completion at the cursor, replace any symbols that heuristically match the selected completion (and insert in other cases), or replace any existing symbol with the new symbol.
Internal Name: edit.autocomplete-mode
Data Specification: [insert, replace-matching, replace]
Default Value: insert
Case Insensitive Matching
Controls whether matching in the completer is case sensitive or not. The correct case is always used when a completion is chosen.
Internal Name: edit.autocomplete-case-insensitive
Data Specification: <boolean: 0 or 1>
Default Value: True
Non-Python Completion
Controls whether or not use the completer in non-Python files, where it uses a simple word list generated from the existing contents of the file. If enabled, the number of characters required before the completer is shown may be specified here.This value overrides any character threshold set above.
Internal Name: edit.autocomplete-non-python-option
Data Specification: [never, always]
Default Value: 3
Non-Python Word Size
Sets the minimum size of words to add to the completion list for non-Python files. This affects only words found in the file, and not words included because they are keywords for that file type.
Internal Name: edit.autocomplete-non-python-word-size
Data Specification: <type int>
Default Value: 4
Non-Latin Script Display
Whether to display autocompleter for non-latin scripts
Internal Name: .edit.display-autocompleter-for-non-latin-scripts
Data Specification: [auto, yes, no]
Default Value: auto
- Auto-editing
Auto-Editing Enabled
Enable or disable Wing’s auto-editing capability. When enabled, a default set of individual auto-editing operations (such as auto-closing quotes and parenthesis and auto-entering invocation arguments) will be activated. The individual operations can then be enabled or disabled independently in preferences.
Internal Name: edit.auto-edit-enabled
Data Specification: <boolean: 0 or 1>
Default Value: 1
Auto-Close Characters
Enable to auto-close quotes, parenthesis, braces, comments, and so forth.
Internal Name: edit.auto-edit-close
Data Specification: <boolean: 0 or 1>
Default Value: 1
Auto-Enter Invocation Args
Enable auto-entry of invocation arguments for a function or method call.
Internal Name: edit.auto-edit-invoke
Data Specification: <boolean: 0 or 1>
Default Value: 1
Enable auto-wrapping of arguments during auto-invocation.
Internal Name: edit.auto-edit-invoke-wraps
Data Specification: <boolean: 0 or 1>
Default Value: 0
** Invoke After Completion**
Enable auto-invocation to occur automatically after a callable symbol is entered by the auto-completer.
Internal Name: edit.auto-edit-invoke-after-complete
Data Specification: <boolean: 0 or 1>
Default Value: 0
Apply Quotes to Selection
Enable placing quotes around a non-empty selection.
Internal Name: edit.auto-edit-quotes
Data Specification: <boolean: 0 or 1>
Default Value: 1
Mutate Adjacent Quotes
Enable changing quote style by pressing a quote key while the caret is next to an existing quote character.
Internal Name: edit.auto-edit-mutate-quotes
Data Specification: <boolean: 0 or 1>
Default Value: 1
Apply Comment Key to Selection
Enable commenting out a non-empty selection when a comment character is pressed.
Internal Name: edit.auto-edit-comment
Data Specification: <boolean: 0 or 1>
Default Value: 1
Apply (), [], and <> to Selection
Enable surrounding non-empty selection when a parenthesis is pressed.
Internal Name: edit.auto-edit-parens
Data Specification: <boolean: 0 or 1>
Default Value: 1
Apply Colon to Selection
Enable creating a new block with a selected range of lines when colon is pressed.
Internal Name: edit.auto-edit-colon-creates-block
Data Specification: <boolean: 0 or 1>
Default Value: 1
Auto-Enter Spaces
Enable auto-entering spaces around operators and punctuation.
Internal Name: edit.auto-edit-spaces
Data Specification: <boolean: 0 or 1>
Default Value: 1
** Auto-Space After Keywords**
Enable auto-entering spaces after keywords.
Internal Name: edit.auto-edit-spaces-kw
Data Specification: <boolean: 0 or 1>
Default Value: 1
** Enforce PEP 8 Style Spacing**
When auto-entering spaces is enabled, enforce PEP 8 style spacing by preventing redundant spaces.
Internal Name: edit.auto-edit-spaces-enforce
Data Specification: <boolean: 0 or 1>
Default Value: 1
** Spaces Around = in Argument Lists**
Add spaces around = in argument lists.
Internal Name: edit.auto-edit-spaces-args
Data Specification: <boolean: 0 or 1>
Default Value: 0
** Spaces Elsewhere in Argument Lists**
Add spaces around characters other than = in argument lists.
Internal Name: edit.auto-edit-spaces-args-override
Data Specification: <boolean: 0 or 1>
Default Value: 0
** Spaces After : in Type Annotations**
When auto-entering spaces is enabled, also auto-enter spaces around ":" in type annotations.
Internal Name: edit.auto-edit-spaces-types
Data Specification: <boolean: 0 or 1>
Default Value: 1
Manage Blocks on Repeated Colon Key Presses
Auto-enter newline and auto-indent after typing a colon that starts a new Python block and indent following line or block of lines when colon is pressed repeatedly. This also starts a new Python block using a selected range of lines as the body, if colon is pressed on a non-empty selection.
Internal Name: edit.auto-edit-colon
Data Specification: <boolean: 0 or 1>
Default Value: True
** Prefer Block Management in Assignments**
Prioritize block management with : over the possibility of entering a var:type variable type annotation (Python 3.6+) or := (Python 3.8+). When this is disabled, typing : a second time will proceed with block management.in the current editing context.
Internal Name: edit.auto-edit-colon-prioritize-blocks
Data Specification: <boolean: 0 or 1>
Default Value: False
Continue Comment or String on New Line
Automatically continue comments or strings in the form ("") or () after a newline is typed within the comment or string text
Internal Name: edit.auto-edit-continue
Data Specification: <boolean: 0 or 1>
Default Value: 1
Correct Out-of-Order Typing
Automatically correct code when typing keys out of order. This handles cases such as x(.) -> x(). and x(:) -> x(): as well as auto-inserting . when missing
Internal Name: edit.auto-edit-fixups
Data Specification: <boolean: 0 or 1>
Default Value: 1
- Auto-formatting
Auto-Reformat
Controls when Wing automatically reformats code as you edit it. May be disabled, limited to only edited lines after the caret leaves that line, or performed on whole files when they are saved to disk.
Internal Name: edit.pep8-autoformat
Data Specification: [disabled, lines, files]
Default Value: disabled
Reformatter
Selects the reformatter to use when reformatting code automatically.
Internal Name: edit.pep8-reformatter
Data Specification: [pep8, black, yapf]
Default Value: pep8
Reformat Timeout
Number of seconds to wait for auto-formatting to complete before aborting the reformatting process.
Internal Name: edit.pep8-timeout
Data Specification: <type float>, <type int>
Default Value: 5
Enforce Line Length
Whether to enforce line length during auto-formatting. The length is specified with the Editor > Line Wrapping > Reformatting Wrap Column preference.
Internal Name: edit.pep8-enforce-line-length
Data Specification: <boolean: 0 or 1>
Default Value: 0
PEP 8: Reindent All Lines in Files
Whether to reindent all lines during PEP 8 reformatting. This affects only reformatting of whole files. Lines in a selection are never reindented during reformatting.
Internal Name: edit.pep8-reindent-all-lines
Data Specification: <boolean: 0 or 1>
Default Value: 0
PEP 8: Spaces Around = in Argument Lists
Override PEP 8 by adding spaces around = in argument lists.
Internal Name: edit.pep8-spaces-args
Data Specification: <boolean: 0 or 1>
Default Value: 0
PEP 8: Spaces After #
When applying PEP 8 rules, follow PEP 8 by enforcing the addition of spaces after # comment start. This option will lose indents in any commented out code.
Internal Name: edit.pep8-spaces-comment
Data Specification: <boolean: 0 or 1>
Default Value: 0
PEP 8: Move Imports to Top
When applying PEP 8 rules, follow PEP 8 by moving all imports to the top of the file.
Internal Name: edit.pep8-move-indents-to-top
Data Specification: <boolean: 0 or 1>
Default Value: 0
Black: Skip String Normalization
Whether or not to prevent Black from normalizing string quotes during auto-formatting.
Internal Name: edit.black-skip-string-normalization
Data Specification: <boolean: 0 or 1>
Default Value: 1
Reformatter Run Directory
Selects the current directory to use when running code reformatters, either the reformatted file’s directory, the project’s directory (or Project Home Directory if set), the user account’s home directory, or a selected directory. The run directory may affect which configuration file is used by the reformatter.
Internal Name: edit.reformat-run-dir
Data Specification: [file, project, home, custom]
Default Value: ('file', '/Users/sdeibel/')
- Snippets
Include Snippets in Auto-Completer
Whether or not to include code snippets in the auto-completer.
Internal Name: edit.snippets-in-autocompleter
Data Specification: <boolean: 0 or 1>
Default Value: True
Include Default Snippets
Whether to include the default snippets set in the Snippets tool. These are found in the User Settings directory (USER_SETTINGS_DIR)
Internal Name: edit.snippets-include-defaults
Data Specification: <boolean: 0 or 1>
Default Value: True
Snippets Path
Path to search for code snippets. Later directories on the path override earlier directories for a particular snippet name. Partial paths are interpreted relative to the current user’s home directory (/Users/sdeibel/). new snippets will be created in the last directory on the path.
Internal Name: edit.snippets-path
Data Specification: [tuple of: <type str>]
- Diff/Merge
Orientation
Orientation of difference/merge views: Side-by-side or top/bottom
Internal Name: diff.orientation
Data Specification: [horizontal, vertical]
Default Value: horizontal
Lock Scrolling
Controls whether scrolling of the diff/merge editors is locked to synchronize the editor scroll positions.
Internal Name: diff.scroll-lock
Data Specification: <boolean: 0 or 1>
Default Value: True
Ignore White Space
Controls whether differences will ignore changes that alter white space only.
Internal Name: diff.ignore-whitespace
Data Specification: <boolean: 0 or 1>
Default Value: False
Empty Session Warning
Controls whether to warn when changing white space filtering causes sessions to become empty of changes.
Internal Name: diff.empty-session-warning
Data Specification: <boolean: 0 or 1>
Default Value: True
Diff Color
Color to use on the source editor for differences during a diff/merge session. The current mark is drawn in a lighter version of the same color. The within-difference change indicators are drawn transparently with the color set in the Text Selection Color preference.
Internal Name: edit.qt-diff-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Merged Diff Color
Color to use on the source editor for already merged differences during a diff/merge session. The current mark is drawn in a lighter version of the same color. The within-difference change indicators are drawn transparently with the color set in the Text Selection Color preference.
Internal Name: edit.qt-merged-diff-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
- Printing
Document Font
Font to use when printing.
Internal Name: edit.print-font
Data Specification: [None or <type str>]
Default Value: None
Use Default Foreground Colors
Use default foreground colors for all text when printing. This is necessary when using a dark background in the GUI and printing on white paper.
Internal Name: edit.use-default-foreground-when-printing
Data Specification: <boolean: 0 or 1>
Default Value: False
Print Header Format
Set the header format to use for printing. This can be any text with any of the following special fields mixed in: %basename% — base file name; %prepend-fullpath% — full path file name; %prepend-relative% — relative path with from project file; %append-relative% — file name with relative path appended; %append-fullpath% — file name with full path appended; %file-time% — file modification time; %file-date% — file modification date; %current-time% — current time; %current-date% — current date; %page% — current page being printed
Internal Name: edit.print-header-format
Data Specification: <type str>
Default Value: %prepend-fullpath%
Print Header Font
Font to use in print header.
Internal Name: edit.print-header-font
Data Specification: [None or <type str>]
Default Value: None
Print Footer Format
Set the footer format to use for printing. The values allowed are the same as those for print-header-format.
Internal Name: edit.print-footer-format
Data Specification: <type str>
Default Value: Page %page%, last modified %file-date% %file-time%
Print Footer Font
Font to use in print footer.
Internal Name: edit.print-header-font
Data Specification: [None or <type str>]
Default Value: None
- Context Menu
Groups Shown
Controls which groups of menu items will be shown in the editor’s context menu.
Internal Name: edit.context-menu-groups
Data Specification: [list of: [clip, nav, debug, comment, indent, vcs, script]]
Default Value: ['clip', 'nav', 'debug', 'comment', 'indent', 'vcs', 'script']
Custom Items
Extra menu items to add to the editor context menu.
Internal Name: edit.context-menu-custom-items
Data Specification: [tuple of: [tuple length 2 of: <type str>, <type str>]]
- Advanced
Maximum Non-Sticky Editors
Maximum number of non-sticky (auto-closing) editors to keep open at one time, in addition to any that are visible on screen
Internal Name: gui.max-non-sticky-editors
Data Specification: <type int>
Default Value: 5
Use Custom Mouse Cursor
When to use a custom mouse cursor. The color of the cursor will be the color of the caret.
Internal Name: edit.use-custom-mouse-cursor
Data Specification: [on-dark-backgrounds, never, always]
Default Value: on-dark-backgrounds
Mini-search Case Sensitivity
Whether or not mini-search is case sensitive. May match the current keyboard personality’s default, use case sensitive search only if an upper case character is typed, always search case sensitive, or always search case insensitively.
Internal Name: edit.minisearch-case-sensitive
Data Specification: [match-mode, if-upper, always, never]
Default Value: match-mode
Symbol Menu Max Length
The maximum number of names allowed on a single symbol menu
Internal Name: .edit.max-symbol-menu-name-count
Data Specification: <type int>
Default Value: 200
Selection Policy
This controls whether to retain selection in the editor after certain operations. The editor may always select the text that was operated on, only retain existing selections, or never select after the operation completes.
Internal Name: edit.select-policy
Data Specification: [dict; keys: [('Indent Region', 'indent-region'), ('Outdent Region', 'outdent-region'), ('Indent To Match', 'indent-to-match'), ('Comment out Region', 'comment-out-region'), ('Uncomment out Region', 'uncomment-out-region')], values: [('Always Select', 'always-select'), ('Retain Select', 'retain-select'), ('Never Select', 'never-select')]]
Debugger
Integer Display Mode
Select the display style for integer values.
Internal Name: debug.default-integer-mode
Data Specification: [dec, hex, oct]
Default Value: dec
Hover Over Symbols
Enable to display debug data values for any symbol on the editor when the mouse cursor hovers over it.
Internal Name: debug.hover-over-symbols
Data Specification: <boolean: 0 or 1>
Default Value: 1
Hover Over Selection
Controls whether debug values are shown when the mouse hovers over a selection in the editor. This may be disabled, enabled for symbols (like x.y.z) only, or enabled for all selections including function or methods calls. WARNING: Enabling evaluation of any selection may result in function or method calls that have side effects such as altering the program state or even making unintended database or disk accesses!
Internal Name: debug.hover-over-selections
Data Specification: [0, 1, all]
Default Value: 1
Run Marker Color
The color of the text highlight used for the run position during debugging
Internal Name: debug.debug-marker-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Run Marker Alpha
Select transparency (0-160) of the text highlight used for the run position during debugging
Internal Name: debug.run-marker-alpha
Data Specification: [None or <type int>]
Default Value: None
Active Range Color
The color of the active range of code used for quick evaluation in the Python Shell or Debug Console.
Internal Name: debug.active-range-color
Data Specification: [None or [tuple length 3 of: [from 0 to 255], [from 0 to 255], [from 0 to 255]]]
Default Value: None
Line Threshold
Defines the character length threshold under which a value will always be shown on a single line, even if the value is a complex type like a list or dict.
Internal Name: debug.line-threshold
Data Specification: <type int>
Default Value: 95
Show Debug Environment Dialog
Controls whether the Debug Environment dialog is shown before each debug run: Either never show the dialog or show it only if ‘Show this dialog before each run’ is checked in the launch file’s or named entry point’s properties.
Internal Name: debug.show-args-dialog
Data Specification: [never, per-file]
Default Value: per-file
Indicate Project Files in Stack
Enable to indicate projects files in the the debug stack, in the stack selector, Stack Data, and Exception tools.
Internal Name: debug.indicate-project-files
Data Specification: <boolean: 0 or 1>
Default Value: True
- Processes
Enable Multi-Process Debugging
Enable multi-process debugging. When disabled, Wing will only accept one debug connection at a time.
Internal Name: debug.multi-process-debug
Data Specification: <boolean: 0 or 1>
Default Value: True
Switch to Stopped Processes
When to automatically switch the currently active debug process to a process that reaches a breakpoint or exception. The default Switch to Most Recently Launched Process Group switches only if there is no other debug process active or if the process belongs to the most recently debug session started from the IDE (this does not include processes that attach using wingdbstub).
Internal Name: debug.multi-process-switch
Data Specification: [none, launched, always]
Default Value: launched
Debug Child Processes
Enable debugging sub-processes. When disabled, Wing will only debug the initially launched parent process.
Internal Name: debug.multi-process-debug-sub-processes
Data Specification: <boolean: 0 or 1>
Default Value: False
Replace sys.executable
Enable replacement of sys.executable so that processes launched using that value will be debugged. This must be enabled on Windows in order to debug child processes created with the multiprocessing module.
Internal Name: debug.multi-process-replace-sys-executable
Data Specification: <boolean: 0 or 1>
Default Value: True
Maximum Process Count
Maximum number of debug processes that can connect to Wing at once. After the limit is reached, Wing accepts no additional connections until some processes detach or exit.
Internal Name: debug.multi-process-maximum
Data Specification: <type int>
Default Value: 50
Debug Multiple Tests at Once
Enable debugging more than one unit test at once. When enabled, the Debug/Abort button in the Testing tool alters according to which test is selected.
Internal Name: debug.multi-process-multiple-tests
Data Specification: <boolean: 0 or 1>
Default Value: False
Debug Multiple Instances of a Named Entry Point
Enable debugging more than one instance of a named entry point. When disabled, any existing debug process for a named entry point will be terminated when it is debugged.
Internal Name: debug.multi-process-multiple-entry-points
Data Specification: <boolean: 0 or 1>
Default Value: False
- Exceptions
Report Exceptions
Controls how Wing reports exceptions that are raised by your debug process. By default, Wing shows exceptions at the time that the exception traceback would normally be printed. Alternatively, Wing can try to predict which exceptions are unhandled, and stop immediately when unhandled exceptions are raised so that any finally clauses can be stepped through in the debugger. Wing can also stop on all exceptions (even if handled) immediately when they are raised, or it can wait to report fatal exceptions as the debug process terminates. In the latter case Wing makes a best effort to stop before the debug process exits or at least to report the exception post-mortem, but one or both may fail if working with externally launched debug processes. In that case, we recommend using When Printed exception reporting mode.
Internal Name: debug.exception-mode
Data Specification: [unhandled, never, always, printed]
Default Value: printed
Report Logged Exceptions In When Printed Mode
Controls whether to stop on exceptions logged with logging.exception if the exception mode is set to ‘When Printed’
Internal Name: debug.stop-on-logged-exception
Data Specification: <boolean: 0 or 1>
Default Value: True
Never Report
Names of builtin exceptions to never report, even if the exception is not handled. This list takes precedence over the Always Report preference and the Report Exceptions preference when it is set to a value other than Always Immediately.
Internal Name: debug.never-stop-exceptions
Data Specification: [tuple of: <type str>]
Default Value: ['SystemExit', 'GeneratorExit']
Always Report
Names of builtin exceptions to (nearly) always report. These exceptions are not reported only if they are explicitly caught by the specific subclass in the same frame in which they are raised.
Internal Name: debug.always-stop-exceptions
Data Specification: [tuple of: <type str>]
Default Value: ['AssertionError']
- I/O
Debug I/O Encoding
Encoding of input/output in the Debug I/O panel
Internal Name: debug.debug-io-encoding
Data Specification: [None or [Console default (utf-8), None, English ascii, Unicode (UTF-16) utf-16, Unicode (UTF-16, big endian) utf-16-be, Unicode (UTF-16, little endian) utf-16-le, Unicode (UTF-7) utf-7, Unicode (UTF-8) utf-8, Western European iso8859-15, Western European latin-1, Western European mac-roman, Arabic iso8859-6, Baltic Languages iso8859-13, Baltic Languages iso8859-4, Celtic Languages iso8859-14, Central and Eastern European iso8859-2, Central and Eastern European mac-latin2, Cyrillic Languages iso8859-5, Cyrillic Languages mac-cyrillic, Esperanto and Maltese iso8859-3, Greek iso8859-7, Greek mac-greek, Hebrew iso8859-8, Icelandic mac-iceland, Nordic Languages iso8859-10, Turkish iso8859-9, Turkish mac-turkish, US, Canada, and Others cp037, Western European cp1140, Western European cp1252, Western European cp850, Arabic cp1256, Arabic cp864, Baltic Languages cp1257, Baltic Languages cp775, Canadian English/French cp863, Central and Eastern European cp1250, Central and Eastern European cp852, Chinese (PRC) big5hkscs, Chinese (PRC) gb18030, Chinese (PRC) gb2312, Chinese (PRC) gbk, Chinese (PRC) hz, Chinese (ROC) big5, Chinese (ROC) cp950, Cyrillic Languages cp1251, Cyrillic Languages cp855, Danish, Norwegian cp865, Greek cp1253, Greek cp737, Greek cp869, Greek cp875, Hebrew cp1255, Hebrew cp424, Hebrew cp856, Hebrew cp862, Icelandic cp861, Japanese cp932, Japanese euc-jis-2004, Japanese euc-jisx0213, Japanese euc-jp, Japanese iso-2022-jp, Japanese iso-2022-jp-1, Japanese iso-2022-jp-2, Japanese iso-2022-jp-2004, Japanese iso-2022-jp-3, Japanese iso-2022-jp-ext, Japanese shift-jis, Japanese shift-jis-2004, Japanese shift-jisx0213, Korean cp949, Korean iso-2022-kr, Korean johab, Portuguese cp860, Russian koi8-r, Thai cp874, Turkish cp1026, Turkish cp1254, Turkish cp857, US, Australia, New Zealand, S. Africa cp437, Ukrainian koi8-u, Urdu cp1006, Vietnamese cp1258, Western European cp500]]
Default Value: utf_8
Flush I/O Periodically
Controls when the debugger periodically flushes I/O sent to sys.stdout and sys.stderr. Doing so may deadlock in some code. Not doing so may not display text that has been output without newline.
Internal Name: debug.flush-io
Data Specification: [Always, Only if Single-Threaded, Never]
Default Value: single-thread
Shell Encoding
Encoding of input/output in the integrated Python Shell and Debug Console
Internal Name: debug.debug-probe-encoding
Data Specification: [None or [Use default stdin / stdout encoding, None, English ascii, Unicode (UTF-16) utf-16, Unicode (UTF-16, big endian) utf-16-be, Unicode (UTF-16, little endian) utf-16-le, Unicode (UTF-7) utf-7, Unicode (UTF-8) utf-8, Western European iso8859-15, Western European latin-1, Western European mac-roman, Arabic iso8859-6, Baltic Languages iso8859-13, Baltic Languages iso8859-4, Celtic Languages iso8859-14, Central and Eastern European iso8859-2, Central and Eastern European mac-latin2, Cyrillic Languages iso8859-5, Cyrillic Languages mac-cyrillic, Esperanto and Maltese iso8859-3, Greek iso8859-7, Greek mac-greek, Hebrew iso8859-8, Icelandic mac-iceland, Nordic Languages iso8859-10, Turkish iso8859-9, Turkish mac-turkish, US, Canada, and Others cp037, Western European cp1140, Western European cp1252, Western European cp850, Arabic cp1256, Arabic cp864, Baltic Languages cp1257, Baltic Languages cp775, Canadian English/French cp863, Central and Eastern European cp1250, Central and Eastern European cp852, Chinese (PRC) big5hkscs, Chinese (PRC) gb18030, Chinese (PRC) gb2312, Chinese (PRC) gbk, Chinese (PRC) hz, Chinese (ROC) big5, Chinese (ROC) cp950, Cyrillic Languages cp1251, Cyrillic Languages cp855, Danish, Norwegian cp865, Greek cp1253, Greek cp737, Greek cp869, Greek cp875, Hebrew cp1255, Hebrew cp424, Hebrew cp856, Hebrew cp862, Icelandic cp861, Japanese cp932, Japanese euc-jis-2004, Japanese euc-jisx0213, Japanese euc-jp, Japanese iso-2022-jp, Japanese iso-2022-jp-1, Japanese iso-2022-jp-2, Japanese iso-2022-jp-2004, Japanese iso-2022-jp-3, Japanese iso-2022-jp-ext, Japanese shift-jis, Japanese shift-jis-2004, Japanese shift-jisx0213, Korean cp949, Korean iso-2022-kr, Korean johab, Portuguese cp860, Russian koi8-r, Thai cp874, Turkish cp1026, Turkish cp1254, Turkish cp857, US, Australia, New Zealand, S. Africa cp437, Ukrainian koi8-u, Urdu cp1006, Vietnamese cp1258, Western European cp500]]
Default Value: utf_8
Pretty Print in Shells
Enable to use pprint.pprint to display values in the Python Shell and Debug Console.
Internal Name: debug.pretty-print-in-shells
Data Specification: <boolean: 0 or 1>
Default Value: False
OS Commands Encoding
Default encoding of sub-process input/output when run in the OS Commands panel. This can be overridden on a per-command basis, in each command’s properties.
Internal Name: consoles.encoding
Data Specification: [None or [Console default (utf-8), None, English ascii, Unicode (UTF-16) utf-16, Unicode (UTF-16, big endian) utf-16-be, Unicode (UTF-16, little endian) utf-16-le, Unicode (UTF-7) utf-7, Unicode (UTF-8) utf-8, Western European iso8859-15, Western European latin-1, Western European mac-roman, Arabic iso8859-6, Baltic Languages iso8859-13, Baltic Languages iso8859-4, Celtic Languages iso8859-14, Central and Eastern European iso8859-2, Central and Eastern European mac-latin2, Cyrillic Languages iso8859-5, Cyrillic Languages mac-cyrillic, Esperanto and Maltese iso8859-3, Greek iso8859-7, Greek mac-greek, Hebrew iso8859-8, Icelandic mac-iceland, Nordic Languages iso8859-10, Turkish iso8859-9, Turkish mac-turkish, US, Canada, and Others cp037, Western European cp1140, Western European cp1252, Western European cp850, Arabic cp1256, Arabic cp864, Baltic Languages cp1257, Baltic Languages cp775, Canadian English/French cp863, Central and Eastern European cp1250, Central and Eastern European cp852, Chinese (PRC) big5hkscs, Chinese (PRC) gb18030, Chinese (PRC) gb2312, Chinese (PRC) gbk, Chinese (PRC) hz, Chinese (ROC) big5, Chinese (ROC) cp950, Cyrillic Languages cp1251, Cyrillic Languages cp855, Danish, Norwegian cp865, Greek cp1253, Greek cp737, Greek cp869, Greek cp875, Hebrew cp1255, Hebrew cp424, Hebrew cp856, Hebrew cp862, Icelandic cp861, Japanese cp932, Japanese euc-jis-2004, Japanese euc-jisx0213, Japanese euc-jp, Japanese iso-2022-jp, Japanese iso-2022-jp-1, Japanese iso-2022-jp-2, Japanese iso-2022-jp-2004, Japanese iso-2022-jp-3, Japanese iso-2022-jp-ext, Japanese shift-jis, Japanese shift-jis-2004, Japanese shift-jisx0213, Korean cp949, Korean iso-2022-kr, Korean johab, Portuguese cp860, Russian koi8-r, Thai cp874, Turkish cp1026, Turkish cp1254, Turkish cp857, US, Australia, New Zealand, S. Africa cp437, Ukrainian koi8-u, Urdu cp1006, Vietnamese cp1258, Western European cp500]]
Default Value: None
Use External Console
Selects whether to use the integrated Debug I/O tool for debug process input/output or an external terminal window. Use an external window if your debug process depends on details of the command prompt environment for cursor movement, color text, etc. External consoles only work for locally run code. Remote debugging always uses the Debug I/O tool. To debug code running remotely in an external console, use wingdbstub to initiate debug.
Internal Name: debug.external-console
Data Specification: <boolean: 0 or 1>
Default Value: 0
External Console Waits on Exit
Determines whether to leave up the console after normal program exit, or to close the console right away in all cases. This is only relevant when running with an external native console instead of using the integrated Debug I/O tool.
Internal Name: debug.persist-console
Data Specification: <boolean: 0 or 1>
Default Value: 0
External Consoles
A list of the terminal programs that are used with debug processes when running with an external console. Each is tried in turn until one is found to exist. If just the name is given, Wing will look for each first on the PATH and then in likely places. Specify the full path (starting with "/") to use a specific executable. If program arguments are specified, they must end with the argument that indicates that the rest of arguments are the program to run in the terminal. If the program name starts with $
Internal Name: debug.x-terminal
Data Specification: [tuple of: <type str>]
Default Value: ['$
- Data Display
Show __name Protected Variables
Controls whether the debugger shows protected variables (with one leadingunderscore) in the Stack Data view.
Internal Name: debug.show-protected-variables
Data Specification: <boolean: 0 or 1>
Default Value: 1
Show ____name Private Variables
Controls whether the debugger shows private variables (with two leadingunderscores) in the Stack Data view.
Internal Name: debug.show-private-variables
Data Specification: <boolean: 0 or 1>
Default Value: 1
Show ____name____ Special Variables
Controls whether the debugger shows special variables (with two leadingand two trailing underscores) in the Stack Data view.
Internal Name: debug.show-special-variables
Data Specification: <boolean: 0 or 1>
Default Value: 1
Show Memory Addresses
Controls whether the debugger shows memory addresses as part of the display of object instances.
Internal Name: debug.show-memory-addresses
Data Specification: <boolean: 0 or 1>
Default Value: 1
Huge List Threshold
Defines the length threshold over which a list, dict, or other complex type will be considered too large to show in the debugger. If this is set too large, the debugger will time out (see the Network Timeout preference)
Internal Name: debug.huge-list-threshold
Data Specification: <type int>
Default Value: 2000
Huge String Threshold
Defines the length over which a string is considered too large to fetch for display in the debugger. If this is set too large, the debugger will time out (see the Network Timeout preference).
Internal Name: debug.huge-string-threshold
Data Specification: <type int>
Default Value: 64000
Show Data Warnings
Controls whether or not time out, huge value, and error handling value errors are displayed by the debugger the first time they are encountered in each run of Wing.
Internal Name: debug.show-debug-data-warnings
Data Specification: <boolean: 0 or 1>
Default Value: 1
- Data Filters
Omit Types
Lists types for which values are never shown by the debugger. The strings here are compared with type(value).__name__ and the value is omitted if a match is found.
Internal Name: debug.omit-types
Data Specification: [tuple of: <type str>]
Default Value: ('function', 'builtin_function_or_method', 'class', 'classobj', 'instance method', 'type', 'module', 'ufunc', 'cython_function_or_method', 'wrapper_descriptor', 'method_descriptor', 'methoddescriptor', 'member_descriptor', 'classmethod', 'staticmethod')
Omit Names
Defines variable/key names for which values are never shown by the debugger.
Internal Name: debug.omit-names
Data Specification: [tuple of: <type str>]
Do Not Expand
Lists types for which values should never be probed for contents. These are types that are known to crash when the debugger probes them because they contain buggy data value extraction code. These values are instead shown as an opaque value with hex object instance id and are never accessed for runtime introspection. The strings here are compared with type(value).__name__ and a value is not probed if a match is found.
Internal Name: debug.no-probe-types
Data Specification: [tuple of: <type str>]
Default Value: ('GdkColormap', 'IOBTree', 'JPackage', 'cython_function_or_method')
- Introspection
Resolve Properties
Set to show property values in the debug data views. This should be used with caution. It enables invocation of the fget() method on the property, which in some code bases can execute unwanted code, make unexpected changes to runtime state, hang on lengthy computations, trigger thread deadlocks, or crash on buggy user code while debug data is being displayed in the IDE.
Internal Name: debug.resolve-properties
Data Specification: <boolean: 0 or 1>
Default Value: False
Allow Calls in Data Inspection
Enable to allow Python code and other dynamic calls to be invoked while inspecting data in the debugger, for display in any part of the IDE’s user interface. This should be used with caution because it can cause the debug process to execute unwanted code, make unexpected changes to runtime state, hang on lengthy computations, deadlock threads, or crash in buggy code.
Internal Name: debug.allow-dynamic-introspection
Data Specification: <boolean: 0 or 1>
Default Value: False
Call Python ____repr____ Methods
Allow __repr__ methods implemented in Python to be invoked. Disable this if the __repr__ methods take too long to complete or fail due to other bugs.
Internal Name: debug.allow-bytecode-repr
Data Specification: <boolean: 0 or 1>
Default Value: True
Inspect Base Classes
Whether to inspect base classes for class attributes. Disable this to work around crashing in packages such as openerp and odoo.
Internal Name: debug.max-base-classes
Data Specification: <boolean: 0 or 1>
Default Value: True
- Listening
Accept Debug Connections
Controls whether or not the debugger listens for connections from an externally launched program. This should be enabled when the debug program is not launched by the IDE.
Internal Name: debug.passive-listen
Data Specification: <boolean: 0 or 1>
Default Value: 0
Kill Externally Launched Processes
Enable or disable terminating debug processes that were launched from outside of the IDE. When disabled, Wing just detaches from the process, leaving it running.
Internal Name: debug.enable-kill-external
Data Specification: <boolean: 0 or 1>
Default Value: 0
Server Host
Determines the network interface on which the debugger listens for connections. This can be a symbolic name, an IP address, or left unspecified to indicate that the debugger should listen on all valid network interfaces on the machine. Note that when a debug session is launched from within the IDE (with the Run button), it always connects from the loopback interface (127.0.0.1)
Internal Name: debug.network-server
Data Specification: [None or <type str>]
Default Value: None
Server Port
Determines the TCP/IP port on which the IDE will listen for the connection from the debug process. This needs to be unique for each developer working on a given host. The debug process, if launched from outside of the IDE, needs to be told the value specified here using kWingHostPort inside wingdbstub.py or by WINGDB_HOSTPORT environment variable before importing wingdbstub in the debug process.
Internal Name: debug.network-port
Data Specification: [from 0 to 65535]
Default Value: 50005
- Network
Use Digests to Identify Files
Controls whether to build an inferred location map from file digest matches that are found locally when debugging files on a remote host. This allows the debugger to find files that are not in the project and were not found to be imported by static analysis, or that are still waiting to be scanned.
Internal Name: debug.use-digests-to-identify-files
Data Specification: <boolean: 0 or 1>
Default Value: True
Warn About Ambigious Digest Matches
Controls whether to show a dialog when the debugger detects a remote file that matches more than one local file.
Internal Name: debug.show-multiple-local-files
Data Specification: <boolean: 0 or 1>
Default Value: True
Location Map
Defines a mapping between the remote and local locations of files for host-to-host debugging. This is used only for manual remote debug configuration and is ignored when debug is controlled by a remote host configuration. For each specific IP address or IP address with wildcards (e.g. 10.1.1.*), a remote and local prefix is given. This should be used when full paths of files on the remote host do not match those for the same files on the local host. Wing assumes an external file server or synchronization protocol is in use and does not itself transfer the files.
Internal Name: debug.location-map
Data Specification: [dict; keys: <ip4 address #.#.#.#>, values: [None or [list of: [tuple length 2 of: <type str>, <type str>]]]]
Connection Keep Alive
Number of seconds between keep-alive messages sent to the debug process so that the connection doesn’t close due to inactivity. Use a value <= 0 to disable the sending of keep-alive messages
Internal Name: debug.send-keep-alive-seconds
Data Specification: <type int>
Default Value: 60
Network Timeout
Controls the amount of time that the IDE will wait for the debug process to respond before it gives up. This protects the IDE from freezing up if your program running within the debug process crashes or becomes unavailable. It must also be taken into account when network connections are slow or if sending large data values (see the Huge List Threshold and Hug String Threshold preferences).
Internal Name: debug.network-timeout
Data Specification: <type float>, <type int>
Default Value: 10
Close Connection on Timeout
Controls whether the debugger will close the connection after any data handling timeout. This reduces the potential for hanging on data handling issues, but increases the chances the debug connection will be unnecessarily closed if any inspection of data takes more than the configured timeout to complete.
Internal Name: debug.close-on-timeout
Data Specification: <boolean: 0 or 1>
Default Value: 0
Allowed Hosts
Sets which hosts are allowed to connect to the debugger when it is listening for externally launched programs. Host names, specific IP numbers, or IP number dotted quad masks with * to match anything (e.g. 10.1.1.*) may be used. This is used only for manual remote debug configuration and is ignored when debug is controlled by a remote host configuration.
Internal Name: debug.passive-hosts
Data Specification: [tuple of: <type str>]
Common Attach Hosts
List of host/port combinations that should be included by default in the attach request list shown with Attach to Process in the Debug menu, in addition to those that are registered at runtime. These are used primarily with manual remote debug configuration, and are not necessary when debug is controlled by a remote host configuration. This value corresponds with kAttachPort configured in wingdbstub.py or by WINGDB_ATTACHPORT environment variable before importing wingdbstub in the debug process.
Internal Name: debug.attach-defaults
Data Specification: [tuple of: [tuple length 2 of: <type str>, [from 0 to 65535]]]
Default Value: (('127.0.0.1', 50015),)
- Shells
Enable Debugging
Enables debugging code executed in the Python Shell or Debug Console.
Internal Name: debug.debug-shells
Data Specification: <boolean: 0 or 1>
Default Value: 0
Enable Recursive Prompt
Enables recursive debugging in the Python Shell and Debug Console.
Internal Name: debug.recursive
Data Specification: <boolean: 0 or 1>
Default Value: 0
Pretty Print
Enable to use pprint.pprint to display values in the Python Shell and Debug Console.
Internal Name: debug.pretty-print-in-shells
Data Specification: <boolean: 0 or 1>
Default Value: False
Auto-Restart when Switch Projects
Auto-restart the Python Shell when changing projects. When this is disabled, the Python Shell will continue to use environment from the previously opened project.
Internal Name: debug.shell-auto-restart-proj-switch
Data Specification: <boolean: 0 or 1>
Default Value: 1
Auto-Restart when Evaluate File
Auto-restart the Python Shell before a file is evaluated within it. When this is disabled, be aware that previously defined symbols will linger in the Python Shell environment.
Internal Name: debug.shell-auto-restart-before-eval
Data Specification: <boolean: 0 or 1>
Default Value: 1
Prompt to Confirm Restart
Whether to prompt when restarting the Python Shell as a result of restarting debugging.
Internal Name: debug.prompt-to-restart-python-shell-debug
Data Specification: <boolean: 0 or 1>
Default Value: True
Filter History by Entered Prefix
Enable to filter shell history traversal when something is entered prior to starting traversal. When enabled, Wing will only show history items starting with the text between the start of the current item and the caret.
Internal Name: debug.filter-shell-history
Data Specification: <boolean: 0 or 1>
Default Value: False
Evaluate Only Whole Lines
Evaluate whole lines from editor rather than the exact selection, when a selection from the editor is sent to the Python Shell tool.
Internal Name: debug.shell-eval-whole-lines
Data Specification: <boolean: 0 or 1>
Default Value: 0
Execute Pasted Lines in Shells Immediately
Whether to always execute immediately after text is pasted into a shell. Note that if the number of lines exceed the pasted line threshold, the lines are immediately executed.
Internal Name: debug.shell-always-execute-on-paste
Data Specification: <boolean: 0 or 1>
Default Value: False
Show Editor on Exceptions in Shells
Controls whether the debugger raises source files to indicate exception locations encountered when working in the Debug Console, and other debugger tools.
Internal Name: debug.raise-from-tools
Data Specification: <boolean: 0 or 1>
Default Value: 1
Shells Ignore Editor Modes
Set to False so that shells will act modal in the same way as editors when working with a modal key bindings such as that for VI. When True, the shells always act as if in Insert mode.
Internal Name: debug.shells-ignore-editor-modes
Data Specification: <boolean: 0 or 1>
Default Value: 1
- Advanced
Termination Model
How to terminate debug when a parent process or child process is terminated. A process group includes any all parent and child processes, up to the initially launched process, including also grand-children and any other descendent process.
Internal Name: debug.multi-process-kill-model
Data Specification: [leave-running, auto-kill-group, prompt]
Default Value: auto-kill-group
Ignore Unsynchronized Files
Controls whether or not Wing ignores files that were not saved before starting debug or that have changed since they were loaded by the debug process. Wing normally will warn of unsynchronized files since breakpoints may not be reached and stepping through the files may not work properly if lines have moved. Checking this option turns off these warnings.
Internal Name: gui.ignore-unsaved-before-action
Data Specification: <boolean: 0 or 1>
Default Value: 0
Step Past importlib Frames
Controls where Wing ignores code inside of Python’s importlib machinery when stepping through code. When enabled, Step Into on an import statement continues until it reaches the top level of the module being imported (or results in ImportError or moves past the import if the module was already imported), and Step Out will skip over frames in importlib.
Internal Name: debug.ignore-import-lib
Data Specification: <boolean: 0 or 1>
Default Value: 1
Use sys.stdin Wrapper
Whether sys.stdin should be set a wrapper object for user input in the program being debugged. The wrapper allows debug commands, such as pause, to be executed while the program is waiting for user input. The wrapper may cause problems with multi-threaded programs that use C stdio functions to read directly from stdin and will be slower than the normal file object.However, turning this preference off means that your debug process will not pause or accept breakpoint changes while waiting for keyboard input, and any keyboard input that occurs as a side effect of commands typed in the Debug Console will happen in unmodified stdin instead (even though output will still appear in the Debug Console as always).
Internal Name: debug.use-stdin-wrapper
Data Specification: <boolean: 0 or 1>
Default Value: 1
When Build Fails
Controls whether to start debugging if the defined build process fails
Internal Name: debug.debug-if-build-fails
Data Specification: [None, 0, 1]
Default Value: None
Default Watch Style
Sets the tracking style used when a value is double clicked in order to watch it. Values may be tracked by symbolic name, by object reference and attribute by name, and by direct object reference.
Internal Name: debug.default-watch-style
Data Specification: [symbolic, parent-ref, ref]
Default Value: symbolic
Move Breakpoints to Valid Lines
Whether to automatically move breakpoints to a valid position when they are placed on a line that will not be reached by the Python interpreter, such as within certain types of multi-line expressions.
Internal Name: debug.move-breakpoints
Data Specification: <boolean: 0 or 1>
Default Value: 1
Show Breaks Moved Dialog
Whether to show a dialog when a breakpoint is set on a different line than the selected on.
Internal Name: debug.show-breaks-moved-message
Data Specification: <boolean: 0 or 1>
Default Value: 1
Animate Debug Data Tooltips
Whether to animate debug data tips shown when Shift-Space is pressed.
Internal Name: debug.animate-data-tips
Data Specification: <boolean: 0 or 1>
Default Value: 0
Use Idle Thread
Controls whether to use a thread in the debugger for idle processing.
Internal Name: debug.use-idle-thread
Data Specification: <boolean: 0 or 1>
Default Value: True
- Diagnostics
Debug Internals Log File
This is used to obtain verbose information about debugger internals in cases where you are having problems getting debugging working. The resulting log file can be emailed to support@wingware.com along with your bug report for interpretation. Logging can be disabled, or sent to stderr, stdout, or a file. When enabled, the debugger will run more slowly.
Internal Name: debug.logfile
Data Specification: [one of: None, [<stderr>, <stdout>], <type str>]
Default Value: None
Extremely Verbose Internal Log
This is used to turn on very verbose and detailed logging from the debugger. This should only be enabled at the request of Wingware Technical Support and will drastically slow down the debugger.
Internal Name: debug.very-verbose-log
Data Specification: <boolean: 0 or 1>
Default Value: False
Python Shell Debug Log
This is used to obtain verbose information about the Python Shell internals in cases where you are having problems getting it working. The resulting log file can be emailed to support@wingware.com along with your bug report for interpretation. Logging can be disabled, or sent to stderr, stdout, or a file. When enabled, the Python Shell will run more slowly.
Internal Name: debug.shell-logfile
Data Specification: [one of: None, [<stderr>, <stdout>], <type str>]
Default Value: None
Extremely Verbose Python Shell Debug Log
This is used to turn on very verbose and detailed logging from the Python Shell internals. This should only be enabled at the request of Wingware Technical Support and will drastically slow down the Python Shell.
Internal Name: debug.very-verbose-shell-log
Data Specification: <boolean: 0 or 1>
Default Value: False
Source Analysis
Introspect Live Runtime
Set to introspect live Python runtimes for information displayed in autocompletion, the Source Assistant, and debug data value tooltips. Runtimes introspected include the Python Shell and live debug processes stopped at an exception or breakpoint.
Internal Name: debug.introspect-in-shells
Data Specification: <boolean: 0 or 1>
Default Value: 1
Typing Suspend Timeout
Number of seconds between last key press and when analysis is re-enabled if analysis is to be suspended while typing occurs. If <= 0, analysis is not suspended.
Internal Name: edit.suspend-analysis-timeout
Data Specification: <type float>, <type int>
Default Value: 1
Max Cache Size (MB)
The maximum size of the disk cache in megabytes
Internal Name: pysource.max-disk-cache-size
Data Specification: [from 100 to 100000]
Default Value: 2000
Max Memory Buffers
The maximum # of analysis info buffers that can be in-memory at once for files that are not open.
Internal Name: pysource.max-background-buffers
Data Specification: [from 50 to 300]
Default Value: 80
Analyze Function and Method Calls
Whether to analyze function calls and record the types of values passed as arguments to functions. The disk cache should be cleared after this value is changed.
Internal Name: pysource.analyze-function-calls
Data Specification: <boolean: 0 or 1>
Default Value: False
- Advanced
Interface File Path
Path to search for interface files for extension modules. If directory name is relative, it will be interpreted as relative to the user settings directory (USER_SETTINGS_DIR)
Internal Name: pysource.interfaces-path
Data Specification: [tuple of: <type str>]
Default Value: ('pi-files',)
Scrape Extension Modules
Enable to automatically load and introspect extension modules and other modules that cannot be statically analysed. These modules are loaded in another process space and ‘scraped’ to obtain at least some analysis of the module’s contents.
Internal Name: pysource.scrape-modules
Data Specification: <boolean: 0 or 1>
Default Value: True
Scraping Helper Snippets
This is a dictionary from module name to Python code that should be executed before attempting to load extension modules for scraping. This is needed in cases where the extension modules are designed to be loaded only after some configuration magic is performed. For most extension modules, no extra configuration should be needed.
Internal Name: pysource.scrape-config
Data Specification: [dict; keys: <type str>, values: <type str>]
Python Docs URL Prefix
Prefix for Python Standard Library Documentation. This should be in the form https://docs.python.org/library/ and Wing will append module and symbol specific to the given URL. To use locally stored documentation, you must run a local web server since # bookmarks do not work in file: URLs.
Internal Name: pysource.python-doc-url-prefix
Data Specification: [None or <type int>]
Default Value: None
Version Control
Enable built-in version control
Enable the integrated version control system.
Internal Name: versioncontrol.enable-non-script
Data Specification: <boolean: 0 or 1>
Default Value: True
Save files without prompting
Save without prompting before running version control commands.
Internal Name: versioncontrol.save-without-prompting
Data Specification: <boolean: 0 or 1>
Default Value: True
Track changes made in project tool
Track file add, remove, and rename operations made with Wing’s Project view into the version control repository.
Internal Name: versioncontrol.track-disk-operations
Data Specification: <boolean: 0 or 1>
Default Value: True
Automatically refresh status
Watch disk for version control changes and refresh the Project view and Project Status accordingly.
Internal Name: versioncontrol.watch-disk
Data Specification: <boolean: 0 or 1>
Default Value: True
Enable diagnostic logging
Log all commands to ide.log in the user settings directory.
Internal Name: versioncontrol.log-all-commands
Data Specification: <boolean: 0 or 1>
Default Value: False
- SVN
Active
When Subversion version control support is active
Internal Name: .versioncontrol.svn.active
Data Specification: [always-active, active-if-project-dir, not-active]
Default Value: active-if-project-dir
SVN Executable
Executable command to run Subversion
Internal Name: .versioncontrol.svn.executable
Data Specification: <type str>
Default Value: svn
SVN Admin Executable
Executable command to run svn
Internal Name: versioncontrol.svn.svnadmin-executable
Data Specification: <type str>
Default Value: svnadmin
Extra Global Arguments
Extra arguments to pass to every command.
Internal Name: versioncontrol.svn.extra-global-args
Data Specification: <type str>
- Git
Active
When Git version control support is active
Internal Name: .versioncontrol.git.active
Data Specification: [always-active, active-if-project-dir, not-active]
Default Value: active-if-project-dir
Git Executable
Executable command to run Git
Internal Name: .versioncontrol.git.executable
Data Specification: <type str>
Default Value: git
Use —porcelain
Use —porcelain output for git status
Internal Name: versioncontrol.git.use-porcelain
Data Specification: <boolean: 0 or 1>
Default Value: True
- Mercurial
Active
When Mercurial version control support is active
Internal Name: .versioncontrol.hg.active
Data Specification: [always-active, active-if-project-dir, not-active]
Default Value: active-if-project-dir
Mercurial Executable
Executable command to run Mercurial
Internal Name: .versioncontrol.hg.executable
Data Specification: <type str>
Default Value: hg
Extra Global Arguments
Extra arguments to pass to every command.
Internal Name: versioncontrol.hg.extra-global-args
Data Specification: <type str>
Default Value: --encoding=utf8
Don’t Find Unregistered Files
Don’t find unregistered files when scanning for file status. This can substantially reduce the time to scan large repositories.
Internal Name: versioncontrol.hg.dont-find-unregistered
Data Specification: <boolean: 0 or 1>
Default Value: True
- CVS
Active
When CVS version control support is active
Internal Name: .versioncontrol.cvs.active
Data Specification: [always-active, active-if-project-dir, not-active]
Default Value: active-if-project-dir
CVS Executable
Executable command to run CVS
Internal Name: .versioncontrol.cvs.executable
Data Specification: <type str>
Default Value: cvs
Extra Global Arguments
Extra arguments to pass to every command.
Internal Name: versioncontrol.cvs.extra-global-args
Data Specification: <type str>
Default Value: -z3
- Perforce
Active
When Perforce version control support is active
Internal Name: .versioncontrol.perforce.active
Data Specification: [always-active, active-if-project-dir, not-active]
Default Value: not-active
Perforce Executable
Executable command to run Perforce
Internal Name: .versioncontrol.perforce.executable
Data Specification: <type str>
Default Value: p4
Extra Global Arguments
Extra arguments to pass to every command.
Internal Name: versioncontrol.perforce.extra-global-args
Data Specification: <type str>
Don’t Find Unregistered Files
Don’t find unregistered files when scanning for file status. This can substantially reduce the time to scan large repositories.
Internal Name: versioncontrol.perforce.dont-find-unregistered
Data Specification: <boolean: 0 or 1>
Default Value: True
Remote Development
SSH Implementation
The SSH implementation to use for remote development. This is used to launch Wing’s remote agent and to establish secure SSH tunnels for debugging on remote systems. When searching on the PATH, Wing will look for OpenSSH’s ssh. If it cannot be found, the built-in SSH implementation is used instead.
Internal Name: main.ssh-executable
Data Specification: [None or <type str>]
Default Value: None
Allow Access to SSH User Agent
Controls whether to allow access to an SSH user agent like OpenSSH’s ssh-agent or PuTTY’s pageant.
Internal Name: main.use-ssh-agent
Data Specification: <boolean: 0 or 1>
Default Value: True
SSH Timeout
The maximum time in seconds to wait for SSH connections to be established.
Internal Name: main.ssh-timeout
Data Specification: <type int>
Default Value: 10
Hung Connection Timeout
The maximum time in seconds to wait if a connection to a remote host is not responding. Afterwards the connection is closed and retried.
Internal Name: main.hung-connection-threshold
Data Specification: <type int>
Default Value: 15
Warn when Edit Active Remote Configuration
Controls whether to show a warning before editing a remote host configuration that is currently in use.
Internal Name: main.show-remote-config-warning
Data Specification: <boolean: 0 or 1>
Default Value: True
Write Remote Diagnostics to IDE Log
Controls whether remote agent activity is directed into the IDE log instead of being written on the remote host. This will slow down the remote agent and should only be enabled at the requestof Wingware Technical Support.
Internal Name: main.write-remote-log-to-ide-log
Data Specification: <boolean: 0 or 1>
Default Value: False
IDE Extension Scripting
Auto-Reload Scripts on Save
When enabled, Wing will automatically reload scripts that extend the IDE when they are edited and saved from the IDE. This makes developing extension scripts for the IDE very fast, and should work in most cases. Disable this when working on extension scripts that do not reload properly, such as those that reach through the scripting API extensively.
Internal Name: main.auto-reload-scripts
Data Specification: <boolean: 0 or 1>
Default Value: True
Search Path
Specifies the directories in which Wing will look for user-defined scripts that extend the functionality of the IDE itself. The directory names may contain environment variables in the $(envname) form. Use $(WING:PROJECT_DIR) for the project directory.For each directory, Wing will load all found Python modules and packages, treating any function whose name starts with a letter (not _ or __) as a script-provided command. Extension scripts found in files within directories later in the list will override scripts of the same name found earlier, except that scripts can never override commands that are defined internally in Wing itself (these are documented in the Command Reference in the users manual). See the Scripting and Extending chapter of the manual for more information on writing and using extension scripts.
Internal Name: main.script-path
Data Specification: [list of: <type str>]
Default Value: ['USER_SETTINGS_DIR/scripts']
Network
Use HTTPS to wingware.com
Whether to use secure https (port 443) when accessing wingware.com for license activation, update checks, and submitting feedback or bug reports. When disabled, http (port 80) is used instead.
Internal Name: main.secure-http-to-wingware
Data Specification: <boolean: 0 or 1>
Default Value: True
HTTP Proxy Server
Allows manual configuration of an http proxy to be used for feedback, bug reports, and license activation, all of which result in Wing connecting to wingware.com via http. Leave user name and password blank if not required.
Internal Name: main.http-proxy
Data Specification: [None or [tuple length 4 of: <type str>, <type int>, <type str>, <type str>]]
Default Value: None
Internal Preferences
Core Preferences
main.autocheck-remote-agent-version
When enabled, Wing will show a dialog offerring to update any remote agent that does not match Wing’s version.
Internal Name: main.autocheck-remote-agent-version
Data Specification: <boolean: 0 or 1>
Default Value: True
main.debug-break-on-critical
If True and a gtk, gdk, or glib critical message is logged, Wing tries to start a C debugger and break at the current execution point
Internal Name: main.debug-break-on-critical
Data Specification: <boolean: 0 or 1>
Default Value: False
main.extra-mime-type-comments
This is a map from mime type to tuple of start/end comment characters for each mime type. One entry should be added for each new mime type added with the main.extra-mime-types preference.
Internal Name: main.extra-mime-type-comments
Data Specification: [dict; keys: <type str>, values: [tuple length 2 of: <type str>, <type str>]]
main.extra-mime-type-names
This is a map from mime type to displayable name for that mime type; one entry should be added for each new mime type added with the main.extra-mime-types preference.
Internal Name: main.extra-mime-type-names
Data Specification: [dict; keys: <type str>, values: <type str>]
main.help-font-zoom
The amount by which to zoom font sizes in or out in the documentation viewer.
Internal Name: main.help-font-zoom
Data Specification: <type float>
Default Value: 1.0
main.ignored-update
Used internally to keep track of latest version the user is not interested in
Internal Name: main.ignored-update
Data Specification: [tuple of: <type int>]
Default Value: (0, 0, 0, 0)
main.last-prefs-page
Used internally to select the most recently used prefs page.
Internal Name: main.last-prefs-page
Data Specification: [tuple length 2 of: <type int>, <type int>]
main.last-properties-pages
Used internally to select the most recently used properties dialog pages.
Internal Name: main.last-properties-pages
Data Specification: [dict; keys: <type str>, values: <type int>]
main.non-font-scale-factor
Scale factor for icons, windows, and other graphical elements other than fonts. Can either be a single number or a ; (semicolon) separated list of per-screen scale factors in the format used by the QT_SCREEN_SCALE_FACTORS environment variable. This has no effect if the QT_SCREEN_SCALE_FACTORS environment variable is set before Wing is started Wing must be restarted before this value takes effect.
Internal Name: main.non-font-scale-factor
Data Specification: <type str>
main.plugin-overrides
Defines which plugins are enabled or disabled.
Internal Name: main.plugin-overrides
Data Specification: [dict; keys: <type str>, values: <boolean: 0 or 1>]
main.prefs-version
Used internally to identify prefs file version
Internal Name: main.prefs-version
Data Specification: [None or <type int>]
Default Value: None
.main.set-auto-screen-scale-factor
Automatically set scale factor based on screen dpi.
Internal Name: .main.set-auto-screen-scale-factor
Data Specification: <boolean: 0 or 1>
Default Value: False
main.sassist-allow-pep287-errors
Whether to render docstrings even if they contain parse errors at or above the threshold set by Source Assistant PEP 287 Error Threshold. When disabled, failing docstrings are shown as plain text instead. When enabled, a best effort is made to display the formatted docstring while suppressing errors.
Internal Name: main.sassist-allow-pep287-errors
Data Specification: <boolean: 0 or 1>
Default Value: False
main.sassist-always-show-docstrings
Whether to always show docstrings in the Source Assistant. When disabled, only the docstring for the last displayed symbol is shown.
Internal Name: main.sassist-always-show-docstrings
Data Specification: <boolean: 0 or 1>
Default Value: False
main.sassist-pep287-error-level
The error level at or above which the source assistant will display parse errors in PEP287 docstrings (if showing PEP287 errors) or will fall back to showing plain text (if not showing PEP287 errors). For errors below this threshold, a best attempt is made to achieve a reasonable rendering.
Internal Name: main.sassist-pep287-error-level
Data Specification: [0, 1, 2, 3, 4]
Default Value: 2
main.sassist-tries-rewrap
Whether to rewrap plain text docstrings for display in the Source Assistant. This may destroy formatting of some docstrings.
Internal Name: main.sassist-tries-rewrap
Data Specification: <boolean: 0 or 1>
Default Value: True
main.sassist-show-validity
Whether show docstring type and validity in the Source Assistant.
Internal Name: main.sassist-show-validity
Data Specification: <boolean: 0 or 1>
Default Value: True
main.sassist-tries-pep287
Whether to try parsing docstrings as ReST format for display in the Source Assistant. This may destroy formatting of some docstrings.
Internal Name: main.sassist-tries-pep287
Data Specification: <boolean: 0 or 1>
Default Value: True
main.suggest-non-font-scale-factor
Whether to suggest per-screen scale factors at startup, based on inspection of font size on each attached display.
Internal Name: main.suggest-non-font-scale-factor
Data Specification: <boolean: 0 or 1>
Default Value: True
main.update-history
History of updates used diagnostically
Internal Name: main.update-history
Data Specification: <type list>
User Interface Preferences
gui.alphabetize-tabs
Whether to keep tabs in alphabetical order.
Internal Name: gui.alphabetize-tabs
Data Specification: <boolean: 0 or 1>
Default Value: True
gui.feedback-email
Email address to use by default in the Feedback and Bug Report dialogs
Internal Name: gui.feedback-email
Data Specification: <type str>
gui.last-feedback-shown
Used internally to avoid showing the feedback dialog on exit over and over again.
Internal Name: gui.last-feedback-shown
Data Specification: <type float>
Default Value: 0.0
guimgr.last-wingtips-size
Internal preference used to remember the last size of the Wing Tips window
Internal Name: guimgr.last-wingtips-size
Data Specification: [any value]
Default Value: (500, 450)
gui.more-controls-for-search-in-files
Controls whether "Search in Files" dialog has an extra row of visible options as buttons.
Internal Name: gui.more-controls-for-search-in-files
Data Specification: <boolean: 0 or 1>
Default Value: 0
gui.new-tabs-on-left
Whether to add new tabs on the left side instead on the right.
Internal Name: gui.new-tabs-on-left
Data Specification: <boolean: 0 or 1>
Default Value: False
gui.prefered-symbol-order
Control preferred order in source index displays such as the editor browse menus. Either sort in the order found in the file or alphabetical order.
Internal Name: gui.prefered-symbol-order
Data Specification: [file-order, alpha-order]
Default Value: alpha-order
gui.reported-exceptions
Used internally to remember which unexpected exceptions have already been reported so we only show error reporting dialog once for each.
Internal Name: gui.reported-exceptions
Data Specification: [dict; keys: <type str>, values: [dict; keys: <type str>, values: <boolean: 0 or 1>]]
gui.set-win32-foreground-lock-timeout
Controls whether or not to set the foreground lock timeout on Windows, where normally Wing will be unable to bring source windows to front whenever the debug process has windows in the foreground. When this preference is true, the system-wide value that prevents background applications from raising windows is cleared whenever Wing is running. This means that other apps will also be able to raise windows without these restrictions while Wing is running. Set the preference to false to avoid this, but be prepared for windows to fail to raise in some instances. Note: If Wing is terminated abnormally or from the task manager, the changed value will persist until the user logs out.
Internal Name: gui.set-win32-foreground-lock-timeout
Data Specification: <boolean: 0 or 1>
Default Value: 1
gui.show-report-error-dialog
Whether the error bug reporting dialog (also available from the Help menu) is shown automatically when an unexpected exception is encountered inside Wing.
Internal Name: gui.show-report-error-dialog
Data Specification: <boolean: 0 or 1>
Default Value: False
gui.show-feedback-dialog
Whether feedback dialog is shown to user on quit.
Internal Name: gui.show-feedback-dialog
Data Specification: <boolean: 0 or 1>
Default Value: 1
guimgr.show-menu-bar
Whether to show the menu bar in the window. When this is False, a menu icon is added to the top right.
Internal Name: guimgr.show-menu-bar
Data Specification: <boolean: 0 or 1>
Default Value: True
gui.startup-show-wingtips
Controls whether or not the Wing Tips tool is shown automatically at startup of the IDE.
Internal Name: gui.startup-show-wingtips
Data Specification: <boolean: 0 or 1>
Default Value: 1
gui.work-area-rect
Rectangle to use for the IDE work area on screen. All windows open within this area. Format is (x, y, width, height), or use None for full screen.
Internal Name: gui.work-area-rect
Data Specification: [None or [tuple length 4 of: <type int>, <type int>, <type int>, <type int>]]
Default Value: None
Editor Preferences
consoles.auto-clear
Automatically clear the OS Commands consoles each time the command is re-executed
Internal Name: consoles.auto-clear
Data Specification: <boolean: 0 or 1>
Default Value: False
edit.fold-mime-types
Selects the mime types for which folding should be allowed when folding in general is enabled.
Internal Name: edit.fold-mime-types
Data Specification: [list of: <type str>]
Default Value: ['text/x-python', 'text/x-python-interface', 'text/x-c-source', 'text/x-cpp-source', 'text/x-java-source', 'text/x-javascript', 'text/html', 'text/x-mako', 'text/x-django', 'text/xml', 'text/x-zope-pt', 'text/x-eiffel', 'text/x-lisp', 'text/x-ruby', 'text/x-cython', 'text/x-yaml', 'application/json']
consoles.wrap-long-lines
Wrap long output lines in OS Commands tool to fit within available display area.
Internal Name: consoles.wrap-long-lines
Data Specification: <boolean: 0 or 1>
Default Value: False
consoles.python-prompt-after-execution
Drop into Python shell after executing any Python file in the OS Commands tool
Internal Name: consoles.python-prompt-after-execution
Data Specification: <boolean: 0 or 1>
Default Value: False
edit.shared-bookmark-categories
Bookmark categories that are shared with all projects.
Internal Name: edit.shared-bookmark-categories
Data Specification: [dict; keys: <type str>, values: <type str>]
edit.sassist-font-zoom
The amount by which to zoom font sizes in or out in the Source Assistant.
Internal Name: edit.sassist-font-zoom
Data Specification: <type float>
Default Value: 1.0
edit.symbol-find-alpha-sort
Controls whether to sort Find Symbol dialog alphabetically or in natural file order
Internal Name: edit.symbol-find-alpha-sort
Data Specification: <boolean: 0 or 1>
Default Value: True
edit.symbol-find-include-args
Controls whether to include argument specs in the searchable text used in the Find Symbol dialog
Internal Name: edit.symbol-find-include-args
Data Specification: <boolean: 0 or 1>
Default Value: False
Project Manager Preferences
proj.follow-editor
Controls whether or not the IDE will follow the current editor by expanding the project tree to show the file open in the editor.
Internal Name: proj.follow-editor
Data Specification: <boolean: 0 or 1>
Default Value: 0
proj.follow-selection
Controls whether or not the IDE will follow the current project manager selection by opening the corresponding source file in a non-sticky (auto-closing) editor. In either case, the project manager will always open a file in sticky mode when an item is double clicked or the Goto Source context menu item is used.
Internal Name: proj.follow-selection
Data Specification: <boolean: 0 or 1>
Default Value: 0
proj.last-anaconda
Used internally to store the last successfully used Anaconda installationfor New Project.
Internal Name: proj.last-anaconda
Data Specification: <type str>
proj.last-new-project-dir-type
Used internally to store the last used new project directory type.
Internal Name: proj.last-new-project-dir-type
Data Specification: <type str>
Default Value: existing
proj.last-new-project-env-type
Used internally to store the last used new project environment type.
Internal Name: proj.last-new-project-env-type
Data Specification: <type str>
Default Value: existing
proj.last-new-project-python-type
Used internally to store the last used new project Python type.
Internal Name: proj.last-new-project-python-type
Data Specification: <type str>
Default Value: existing
proj.last-new-project-type
Used internally to store the last used new project type.
Internal Name: proj.last-new-project-type
Data Specification: <type str>
Default Value: generic
proj.open-from-project-full-paths
Match fragments to full path of the file name, rather than just the file name. Full path matching still occurs when the path separation character is included in the search pattern.
Internal Name: proj.open-from-project-full-paths
Data Specification: <boolean: 0 or 1>
Default Value: 1
proj.auto-correct-pyexec
Whether to automatically correct Python Executable in Project Properties when it does not match the virtualenv created by pipenv.
Internal Name: proj.auto-correct-pyexec
Data Specification: <boolean: 0 or 1>
Default Value: 0
Debugger Preferences
debug.auto-clear-debug-io
Enable to automatically clear the Debug I/O tool each time a new debug session is started
Internal Name: debug.auto-clear-debug-io
Data Specification: <boolean: 0 or 1>
Default Value: 1
debug.auto-show-debug-io
Controls whether and when to automatically show the Debug I/O tool when it receives output.
Internal Name: debug.auto-show-debug-io
Data Specification: [False, first, True]
Default Value: first
debug.array-search-all-columns
Controls whether searching in the debug array view searchs all columns or just the visible columns
Internal Name: debug.array-search-all-columns
Data Specification: <boolean: 0 or 1>
Default Value: False
debug.array-search-case
Selects whether search in the array view is case sensitive
Internal Name: debug.array-search-case
Data Specification: <boolean: 0 or 1>
Default Value: False
debug.array-search-type
Selects the type of search to perform in the array view of debug data: text, wildcard, or regex
Internal Name: debug.array-search-type
Data Specification: [text, wildcard, regex]
Default Value: text
debug.debug-data-vertical
Controls whether the debugger shows value details in data views verticallyor horizontally.
Internal Name: debug.debug-data-vertical
Data Specification: <boolean: 0 or 1>
Default Value: 1
debug.debug-io-focus-for-input
Enable to raise the Debug I/O tool and place focus into the I/O buffer whenever the debug process is waiting for keyboard input.
Internal Name: debug.debug-io-focus-for-input
Data Specification: <boolean: 0 or 1>
Default Value: False
debug.debug-io-history
Enable to maintain a history of Debug I/O, up to the number configured in the Files > Max Recent Items preference.
Internal Name: debug.debug-io-history
Data Specification: <boolean: 0 or 1>
Default Value: False
debug.debug-io-history
Enable to include child processes in the process selector popup.
Internal Name: debug.debug-io-history
Data Specification: <boolean: 0 or 1>
Default Value: True
debug.default-python-exec
Sets the default Python Executable to use for debugging and source code analysis. This can be overridden on a project by project basis in Project Properties.
Internal Name: debug.default-python-exec
Data Specification: [None or <type str>]
Default Value: None
main.launch-shared-file
Selects the file to use for storing and retrieving shared launch configurations. By default the file ‘launch’ in the user settings directory is used.
Internal Name: main.launch-shared-file
Data Specification: [one of: <type NoneType>, <type str>]
Default Value: None
debug.shell-pasted-line-threshold
The number of lines after which the Python Shell will just print a summary rather than the actual lines of code pasted, dragged, or other transferred to the shell.
Internal Name: debug.shell-pasted-line-threshold
Data Specification: <type int>
Default Value: 30
debug.show-debug-data-details
Controls whether the debugger shows value details in data views.
Internal Name: debug.show-debug-data-details
Data Specification: <type float>
Default Value: 0.0
debug.show-exceptions-tip
Used internally to show information about exception handling to new users. Once turned off, it is never turned on again
Internal Name: debug.show-exceptions-tip
Data Specification: <boolean: 0 or 1>
Default Value: 1
debug.stop-timeout
Number of seconds to wait before the debugger will stop in its own code after a pause request is received and no other Python code is reached.
Internal Name: debug.stop-timeout
Data Specification: <type int>, <type float>
Default Value: 3.0
debug.use-members-attrib
Set this to true to have the debug server use the __members__ attribute to try to interpret otherwise opaque data values. This is a preference because some extension modules contain bugs that result in crashing if this attribute is accessed. Note that __members__ has been deprecated since Python version 2.2.
Internal Name: debug.use-members-attrib
Data Specification: <boolean: 0 or 1>
Default Value: 1
debug.warn-stale-shell
Enable to display a dialog when the Python Shell state no longer matches the configured Python Executable and/or Python Path.
Internal Name: debug.warn-stale-shell
Data Specification: <boolean: 0 or 1>
Default Value: 0
debug.wrap-debug-io
Enables line wrapping in the integrated Debug I/O tool.
Internal Name: debug.wrap-debug-io
Data Specification: <boolean: 0 or 1>
Default Value: 0
debug.wrap-debug-probe
Enables line wrapping in the Debug Console.
Internal Name: debug.wrap-debug-probe
Data Specification: <boolean: 0 or 1>
Default Value: 0
debug.wrap-python-shell
Enables line wrapping in the Python Shell.
Internal Name: debug.wrap-python-shell
Data Specification: <boolean: 0 or 1>
Default Value: 0
Source Analysis Preferences
pysource.analyze-in-background
Whether Wing should try to analyze python source in the background.
Internal Name: pysource.analyze-in-background
Data Specification: <boolean: 0 or 1>
Default Value: 1
pysource.use-helper-process
Whether to use a helper process to analyze disk files. (Currently experimental)
Internal Name: pysource.use-helper-process
Data Specification: <boolean: 0 or 1>
Default Value: False
pysource.use-sqllite-dotfile-locking
Use slower, dotfile locking for sqllite databases to work around buggy remote file servers. Only needed if the user cache directory is on a remote file system or can be accessed via a remote file system. It is recommended that the user cache directory be on the local file system for performance reasons.