Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 1 | # config-extensions.def |
| 2 | # |
wohlganger | 58fc71c | 2017-09-10 16:19:47 -0500 | [diff] [blame] | 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] |
| 7 | popupwait= 2000 |
| 8 | |
| 9 | [CodeContext] |
Cheryl Sabella | 29996a1 | 2018-06-01 19:23:00 -0400 | [diff] [blame] | 10 | maxlines= 15 |
wohlganger | 58fc71c | 2017-09-10 16:19:47 -0500 | [diff] [blame] | 11 | |
| 12 | [FormatParagraph] |
| 13 | max-width= 72 |
| 14 | |
| 15 | [ParenMatch] |
| 16 | style= expression |
| 17 | flash-delay= 500 |
| 18 | bell= True |
| 19 | |
Kurt B. Kaiser | 282f122 | 2003-05-18 02:21:55 +0000 | [diff] [blame] | 20 | # IDLE reads several config files to determine user preferences. This |
Kurt B. Kaiser | cca9122 | 2003-07-16 03:10:43 +0000 | [diff] [blame] | 21 | # file is the default configuration file for IDLE extensions settings. |
Steven M. Gava | 72c3bf0 | 2002-01-19 10:41:51 +0000 | [diff] [blame] | 22 | # |
Terry Jan Reedy | 00bdce3 | 2014-10-14 18:55:20 -0400 | [diff] [blame] | 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. |
Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 30 | # |
Terry Jan Reedy | 00bdce3 | 2014-10-14 18:55:20 -0400 | [diff] [blame] | 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 |
Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 36 | # extension that may be sensibly re-configured. |
| 37 | # |
Terry Jan Reedy | 00bdce3 | 2014-10-14 18:55:20 -0400 | [diff] [blame] | 38 | # If there are no keybindings for a menus' virtual events, include lines |
wohlganger | 58fc71c | 2017-09-10 16:19:47 -0500 | [diff] [blame] | 39 | # like <<toggle-code-context>>=. |
Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 40 | # |
Terry Jan Reedy | 00bdce3 | 2014-10-14 18:55:20 -0400 | [diff] [blame] | 41 | # Currently it is necessary to manually modify this file to change |
| 42 | # extension key bindings and default values. To customize, create |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 43 | # ~/.idlerc/config-extensions.cfg and append the appropriate customized |
| 44 | # section(s). Those sections will override the defaults in this file. |
Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 45 | # |
Terry Jan Reedy | 00bdce3 | 2014-10-14 18:55:20 -0400 | [diff] [blame] | 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 ''. |
Kurt B. Kaiser | 4d5bc60 | 2004-06-06 01:29:22 +0000 | [diff] [blame] | 48 | # |
Kurt B. Kaiser | 54d1a3b | 2004-04-21 20:06:26 +0000 | [diff] [blame] | 49 | # See config-keys.def for notes on specifying keys and extend.txt for |
| 50 | # information on creating IDLE extensions. |
Steven M. Gava | c11ccf3 | 2001-09-24 09:43:17 +0000 | [diff] [blame] | 51 | |
wohlganger | 58fc71c | 2017-09-10 16:19:47 -0500 | [diff] [blame] | 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] |
Terry Jan Reedy | d384a81 | 2017-09-14 18:51:51 -0400 | [diff] [blame] | 55 | enable= False |
wohlganger | 58fc71c | 2017-09-10 16:19:47 -0500 | [diff] [blame] | 56 | enable_shell = False |
| 57 | enable_editor = True |
| 58 | z-text= Z |
| 59 | [ZzDummy_cfgBindings] |
| 60 | z-in= <Control-Shift-KeyRelease-Insert> |
| 61 | [ZzDummy_bindings] |
| 62 | z-out= <Control-Shift-KeyRelease-Delete> |