blob: 7e23fb0a73d1d540c92b7a43715f0041a581ef1d [file] [log] [blame]
xf.li86118912025-03-19 20:07:27 -07001# config-extensions.def
2#
3# 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]
10maxlines= 15
11
12[FormatParagraph]
13max-width= 72
14
15[ParenMatch]
16style= expression
17flash-delay= 500
18bell= True
19
20# IDLE reads several config files to determine user preferences. This
21# file is the default configuration file for IDLE extensions settings.
22#
23# 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.
30#
31# 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
36# extension that may be sensibly re-configured.
37#
38# If there are no keybindings for a menus' virtual events, include lines
39# like <<toggle-code-context>>=.
40#
41# Currently it is necessary to manually modify this file to change
42# extension key bindings and default values. To customize, create
43# ~/.idlerc/config-extensions.cfg and append the appropriate customized
44# section(s). Those sections will override the defaults in this file.
45#
46# 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 ''.
48#
49# See config-keys.def for notes on specifying keys and extend.txt for
50# information on creating IDLE extensions.
51
52# 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]
55enable= False
56enable_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>