jpayne@69
|
1 # IDLE reads several config files to determine user preferences. This
|
jpayne@69
|
2 # file is the default config file for general idle settings.
|
jpayne@69
|
3 #
|
jpayne@69
|
4 # When IDLE starts, it will look in
|
jpayne@69
|
5 # the following two sets of files, in order:
|
jpayne@69
|
6 #
|
jpayne@69
|
7 # default configuration files in idlelib
|
jpayne@69
|
8 # --------------------------------------
|
jpayne@69
|
9 # config-main.def default general config file
|
jpayne@69
|
10 # config-extensions.def default extension config file
|
jpayne@69
|
11 # config-highlight.def default highlighting config file
|
jpayne@69
|
12 # config-keys.def default keybinding config file
|
jpayne@69
|
13 #
|
jpayne@69
|
14 # user configuration files in ~/.idlerc
|
jpayne@69
|
15 # -------------------------------------
|
jpayne@69
|
16 # config-main.cfg user general config file
|
jpayne@69
|
17 # config-extensions.cfg user extension config file
|
jpayne@69
|
18 # config-highlight.cfg user highlighting config file
|
jpayne@69
|
19 # config-keys.cfg user keybinding config file
|
jpayne@69
|
20 #
|
jpayne@69
|
21 # On Windows, the default location of the home directory ('~' above)
|
jpayne@69
|
22 # depends on the version. For Windows 10, it is C:\Users\<username>.
|
jpayne@69
|
23 #
|
jpayne@69
|
24 # Any options the user saves through the config dialog will be saved to
|
jpayne@69
|
25 # the relevant user config file. Reverting any general or extension
|
jpayne@69
|
26 # setting to the default causes that entry to be wiped from the user
|
jpayne@69
|
27 # file and re-read from the default file. This rule applies to each
|
jpayne@69
|
28 # item, except that the three editor font items are saved as a group.
|
jpayne@69
|
29 #
|
jpayne@69
|
30 # User highlighting themes and keybinding sets must have (section) names
|
jpayne@69
|
31 # distinct from the default names. All items are added and saved as a
|
jpayne@69
|
32 # group. They are retained unless specifically deleted within the config
|
jpayne@69
|
33 # dialog. Choosing one of the default themes or keysets just applies the
|
jpayne@69
|
34 # relevant settings from the default file.
|
jpayne@69
|
35 #
|
jpayne@69
|
36 # Additional help sources are listed in the [HelpFiles] section below
|
jpayne@69
|
37 # and should be viewable by a web browser (or the Windows Help viewer in
|
jpayne@69
|
38 # the case of .chm files). These sources will be listed on the Help
|
jpayne@69
|
39 # menu. The pattern, and two examples, are:
|
jpayne@69
|
40 #
|
jpayne@69
|
41 # <sequence_number = menu item;/path/to/help/source>
|
jpayne@69
|
42 # 1 = IDLE;C:/Programs/Python36/Lib/idlelib/help.html
|
jpayne@69
|
43 # 2 = Pillow;https://pillow.readthedocs.io/en/latest/
|
jpayne@69
|
44 #
|
jpayne@69
|
45 # You can't use a semi-colon in a menu item or path. The path will be
|
jpayne@69
|
46 # platform specific because of path separators, drive specs etc.
|
jpayne@69
|
47 #
|
jpayne@69
|
48 # The default files should not be edited except to add new sections to
|
jpayne@69
|
49 # config-extensions.def for added extensions. The user files should be
|
jpayne@69
|
50 # modified through the Settings dialog.
|
jpayne@69
|
51
|
jpayne@69
|
52 [General]
|
jpayne@69
|
53 editor-on-startup= 0
|
jpayne@69
|
54 autosave= 0
|
jpayne@69
|
55 print-command-posix=lpr %%s
|
jpayne@69
|
56 print-command-win=start /min notepad /p %%s
|
jpayne@69
|
57 delete-exitfunc= 1
|
jpayne@69
|
58
|
jpayne@69
|
59 [EditorWindow]
|
jpayne@69
|
60 width= 80
|
jpayne@69
|
61 height= 40
|
jpayne@69
|
62 cursor-blink= 1
|
jpayne@69
|
63 font= TkFixedFont
|
jpayne@69
|
64 # For TkFixedFont, the actual size and boldness are obtained from tk
|
jpayne@69
|
65 # and override 10 and 0. See idlelib.config.IdleConf.GetFont
|
jpayne@69
|
66 font-size= 10
|
jpayne@69
|
67 font-bold= 0
|
jpayne@69
|
68 encoding= none
|
jpayne@69
|
69 line-numbers-default= 0
|
jpayne@69
|
70
|
jpayne@69
|
71 [PyShell]
|
jpayne@69
|
72 auto-squeeze-min-lines= 50
|
jpayne@69
|
73
|
jpayne@69
|
74 [Indent]
|
jpayne@69
|
75 use-spaces= 1
|
jpayne@69
|
76 num-spaces= 4
|
jpayne@69
|
77
|
jpayne@69
|
78 [Theme]
|
jpayne@69
|
79 default= 1
|
jpayne@69
|
80 name= IDLE Classic
|
jpayne@69
|
81 name2=
|
jpayne@69
|
82 # name2 set in user config-main.cfg for themes added after 2015 Oct 1
|
jpayne@69
|
83
|
jpayne@69
|
84 [Keys]
|
jpayne@69
|
85 default= 1
|
jpayne@69
|
86 name=
|
jpayne@69
|
87 name2=
|
jpayne@69
|
88 # name2 set in user config-main.cfg for keys added after 2016 July 1
|
jpayne@69
|
89
|
jpayne@69
|
90 [History]
|
jpayne@69
|
91 cyclic=1
|
jpayne@69
|
92
|
jpayne@69
|
93 [HelpFiles]
|