
jpayne@69: # IDLE reads several config files to determine user preferences.  This
jpayne@69: # file is the default config file for general idle settings.
jpayne@69: #
jpayne@69: # When IDLE starts, it will look in
jpayne@69: # the following two sets of files, in order:
jpayne@69: #
jpayne@69: #     default configuration files in idlelib
jpayne@69: #     --------------------------------------
jpayne@69: #     config-main.def         default general config file
jpayne@69: #     config-extensions.def   default extension config file
jpayne@69: #     config-highlight.def    default highlighting config file
jpayne@69: #     config-keys.def         default keybinding config file
jpayne@69: #
jpayne@69: #     user configuration files in ~/.idlerc
jpayne@69: #     -------------------------------------
jpayne@69: #     config-main.cfg         user general config file
jpayne@69: #     config-extensions.cfg   user extension config file
jpayne@69: #     config-highlight.cfg    user highlighting config file
jpayne@69: #     config-keys.cfg         user keybinding config file
jpayne@69: #
jpayne@69: # On Windows, the default location of the home directory ('~' above)
jpayne@69: # depends on the version.  For Windows 10, it is C:\Users\<username>.
jpayne@69: #
jpayne@69: # Any options the user saves through the config dialog will be saved to
jpayne@69: # the relevant user config file. Reverting any general or extension
jpayne@69: # setting to the default causes that entry to be wiped from the user
jpayne@69: # file and re-read from the default file.  This rule applies to each
jpayne@69: # item, except that the three editor font items are saved as a group.
jpayne@69: #
jpayne@69: # User highlighting themes and keybinding sets must have (section) names
jpayne@69: # distinct from the default names.  All items are added and saved as a
jpayne@69: # group. They are retained unless specifically deleted within the config
jpayne@69: # dialog. Choosing one of the default themes or keysets just applies the
jpayne@69: # relevant settings from the default file.
jpayne@69: #
jpayne@69: # Additional help sources are listed in the [HelpFiles] section below
jpayne@69: # and should be viewable by a web browser (or the Windows Help viewer in
jpayne@69: # the case of .chm files). These sources will be listed on the Help
jpayne@69: # menu.  The pattern, and two examples, are:
jpayne@69: #
jpayne@69: # <sequence_number = menu item;/path/to/help/source>
jpayne@69: # 1 = IDLE;C:/Programs/Python36/Lib/idlelib/help.html
jpayne@69: # 2 = Pillow;https://pillow.readthedocs.io/en/latest/
jpayne@69: #
jpayne@69: # You can't use a semi-colon in a menu item or path.  The path will be
jpayne@69: # platform specific because of path separators, drive specs etc.
jpayne@69: #
jpayne@69: # The default files should not be edited except to add new sections to
jpayne@69: # config-extensions.def for added extensions.  The user files should be
jpayne@69: # modified through the Settings dialog.
jpayne@69: 
jpayne@69: [General]
jpayne@69: editor-on-startup= 0
jpayne@69: autosave= 0
jpayne@69: print-command-posix=lpr %%s
jpayne@69: print-command-win=start /min notepad /p %%s
jpayne@69: delete-exitfunc= 1
jpayne@69: 
jpayne@69: [EditorWindow]
jpayne@69: width= 80
jpayne@69: height= 40
jpayne@69: cursor-blink= 1
jpayne@69: font= TkFixedFont
jpayne@69: # For TkFixedFont, the actual size and boldness are obtained from tk
jpayne@69: # and override 10 and 0.  See idlelib.config.IdleConf.GetFont
jpayne@69: font-size= 10
jpayne@69: font-bold= 0
jpayne@69: encoding= none
jpayne@69: line-numbers-default= 0
jpayne@69: 
jpayne@69: [PyShell]
jpayne@69: auto-squeeze-min-lines= 50
jpayne@69: 
jpayne@69: [Indent]
jpayne@69: use-spaces= 1
jpayne@69: num-spaces= 4
jpayne@69: 
jpayne@69: [Theme]
jpayne@69: default= 1
jpayne@69: name= IDLE Classic
jpayne@69: name2=
jpayne@69: # name2 set in user config-main.cfg for themes added after 2015 Oct 1
jpayne@69: 
jpayne@69: [Keys]
jpayne@69: default= 1
jpayne@69: name=
jpayne@69: name2=
jpayne@69: # name2 set in user config-main.cfg for keys added after 2016 July 1
jpayne@69: 
jpayne@69: [History]
jpayne@69: cyclic=1
jpayne@69: 
jpayne@69: [HelpFiles]




