blob: 7e23fb0a73d1d540c92b7a43715f0041a581ef1d [file] [log] [blame]
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +00001# config-extensions.def
2#
wohlganger58fc71c2017-09-10 16:19:47 -05003# The following sections are for features that are no longer extensions.
4# Their options values are left here for back-compatibility.
5
6[AutoComplete]
7popupwait= 2000
8
9[CodeContext]
Cheryl Sabella29996a12018-06-01 19:23:00 -040010maxlines= 15
wohlganger58fc71c2017-09-10 16:19:47 -050011
12[FormatParagraph]
13max-width= 72
14
15[ParenMatch]
16style= expression
17flash-delay= 500
18bell= True
19
Kurt B. Kaiser282f1222003-05-18 02:21:55 +000020# IDLE reads several config files to determine user preferences. This
Kurt B. Kaisercca91222003-07-16 03:10:43 +000021# file is the default configuration file for IDLE extensions settings.
Steven M. Gava72c3bf02002-01-19 10:41:51 +000022#
Terry Jan Reedy00bdce32014-10-14 18:55:20 -040023# Each extension must have at least one section, named after the
24# extension module. This section must contain an 'enable' item (=True to
25# enable the extension, =False to disable it), it may contain
26# 'enable_editor' or 'enable_shell' items, to apply it only to editor ir
27# shell windows, and may also contain any other general configuration
28# items for the extension. Other True/False values will also be
29# recognized as boolean by the Extension Configuration dialog.
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000030#
Terry Jan Reedy00bdce32014-10-14 18:55:20 -040031# Each extension must define at least one section named
32# ExtensionName_bindings or ExtensionName_cfgBindings. If present,
33# ExtensionName_bindings defines virtual event bindings for the
34# extension that are not user re-configurable. If present,
35# ExtensionName_cfgBindings defines virtual event bindings for the
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000036# extension that may be sensibly re-configured.
37#
Terry Jan Reedy00bdce32014-10-14 18:55:20 -040038# If there are no keybindings for a menus' virtual events, include lines
wohlganger58fc71c2017-09-10 16:19:47 -050039# like <<toggle-code-context>>=.
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000040#
Terry Jan Reedy00bdce32014-10-14 18:55:20 -040041# Currently it is necessary to manually modify this file to change
42# extension key bindings and default values. To customize, create
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000043# ~/.idlerc/config-extensions.cfg and append the appropriate customized
44# section(s). Those sections will override the defaults in this file.
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000045#
Terry Jan Reedy00bdce32014-10-14 18:55:20 -040046# Note: If a keybinding is already in use when the extension is loaded,
47# the extension's virtual event's keybinding will be set to ''.
Kurt B. Kaiser4d5bc602004-06-06 01:29:22 +000048#
Kurt B. Kaiser54d1a3b2004-04-21 20:06:26 +000049# See config-keys.def for notes on specifying keys and extend.txt for
50# information on creating IDLE extensions.
Steven M. Gavac11ccf32001-09-24 09:43:17 +000051
wohlganger58fc71c2017-09-10 16:19:47 -050052# A fake extension for testing and example purposes. When enabled and
53# invoked, inserts or deletes z-text at beginning of every line.
54[ZzDummy]
Terry Jan Reedyd384a812017-09-14 18:51:51 -040055enable= False
wohlganger58fc71c2017-09-10 16:19:47 -050056enable_shell = False
57enable_editor = True
58z-text= Z
59[ZzDummy_cfgBindings]
60z-in= <Control-Shift-KeyRelease-Insert>
61[ZzDummy_bindings]
62z-out= <Control-Shift-KeyRelease-Delete>