123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- def set_prefs(prefs):
- """This function is called before opening the project"""
-
-
-
-
-
-
-
-
-
- prefs['ignored_resources'] = ['*.pyc', '*~', '.ropeproject',
- '.hg', '.svn', '_svn', '.git', '.tox']
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- prefs['save_objectdb'] = True
- prefs['compress_objectdb'] = False
-
- prefs['automatic_soa'] = True
-
- prefs['soa_followed_calls'] = 0
-
-
- prefs['perform_doa'] = True
-
- prefs['validate_objectdb'] = True
-
- prefs['max_history_items'] = 32
-
- prefs['save_history'] = True
- prefs['compress_history'] = False
-
-
-
- prefs['indent_size'] = 4
-
-
- prefs['extension_modules'] = []
-
- prefs['import_dynload_stdmods'] = True
-
-
-
- prefs['ignore_syntax_errors'] = False
-
-
- prefs['ignore_bad_imports'] = False
-
-
- prefs['prefer_module_from_imports'] = False
-
-
-
- prefs['split_imports'] = False
-
-
- prefs['pull_imports_to_top'] = True
-
-
-
- prefs['sort_imports_alphabetically'] = False
-
-
-
-
-
-
-
- prefs['type_hinting_factory'] = (
- 'rope.base.oi.type_hinting.factory.default_type_hinting_factory')
- def project_opened(project):
- """This function is called after opening the project"""
-
|