46 |
48 |
47 # You can extend python path for looking up modules |
49 # You can extend python path for looking up modules |
48 # prefs.add('python_path', '~/python/') |
50 # prefs.add('python_path', '~/python/') |
49 |
51 |
50 # Should rope save object information or not. |
52 # Should rope save object information or not. |
51 prefs["save_objectdb"] = True |
53 prefs["save_objectdb"] = False |
52 prefs["compress_objectdb"] = False |
54 prefs["compress_objectdb"] = False |
53 |
55 |
54 # If `True`, rope analyzes each module when it is being saved. |
56 # If `True`, rope analyzes each module when it is being saved. |
55 prefs["automatic_soa"] = True |
57 prefs["automatic_soa"] = True |
56 # The depth of calls to follow in static object analysis |
58 # The depth of calls to follow in static object analysis |
59 # If `False` when running modules or unit tests "dynamic object |
61 # If `False` when running modules or unit tests "dynamic object |
60 # analysis" is turned off. This makes them much faster. |
62 # analysis" is turned off. This makes them much faster. |
61 prefs["perform_doa"] = True |
63 prefs["perform_doa"] = True |
62 |
64 |
63 # Rope can check the validity of its object DB when running. |
65 # Rope can check the validity of its object DB when running. |
64 prefs["validate_objectdb"] = True |
66 prefs["validate_objectdb"] = False |
65 |
67 |
66 # How many undos to hold? |
68 # How many undos to hold? |
67 prefs["max_history_items"] = 32 |
69 prefs["max_history_items"] = 32 |
68 |
70 |
69 # Shows whether to save history across sessions. |
71 # Shows whether to save history across sessions. |
129 # the search type-hinting in a class hierarchy, etc. |
131 # the search type-hinting in a class hierarchy, etc. |
130 prefs[ |
132 prefs[ |
131 "type_hinting_factory" |
133 "type_hinting_factory" |
132 ] = "rope.base.oi.type_hinting.factory.default_type_hinting_factory" |
134 ] = "rope.base.oi.type_hinting.factory.default_type_hinting_factory" |
133 |
135 |
|
136 # Minimum python version to target |
|
137 prefs["py_version"] = None |
|
138 |
134 |
139 |
135 def project_opened(project): |
140 def project_opened(project): |
136 """This function is called after opening the project""" |
141 """This function is called after opening the project""" |
137 # Do whatever you like here! |
142 # Do whatever you like here! |