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