Anonymous avatar Anonymous committed a25250a

autoimport: adding docs

Comments (0)

Files changed (3)

   Defaults to ``C-x p``.
 * ``ropemacs-enable-shortcuts``: Shows whether to bind ropemacs
   shortcuts keys.  Defaults to ``t``.
+
 * ``ropemacs-enable-autoimport``: Shows whether to enable autoimport.
+* ``ropemacs-autoimport-modules``: The name of modules whose global
+  names should be cached.  The `rope-generate-autoimport-cache' reads
+  this list and fills its cache.
 
 
 Contributing
  Done
 ======
 
+- added support for autoimport : January 25, 2008
 - added introduce method object refactoring : January 25, 2008
 - added use function refactoring : January 25, 2008
 

ropemacs/interface.py

                     'Which module to import: ', modules)
             self._insert_import(name, module)
         else:
-            lisputils.message('Not found!')
+            lisputils.message('Global name %s not found!' % name)
 
     @interactive
     def complete_and_import(self):
             lisp.insert(name[len(starting):])
             self._insert_import(name, module)
         else:
-            lisputils.message('Not found!')
+            lisputils.message(
+                'No global name starting with %s found!' % starting)
 
     @interactive
     def generate_autoimport_cache(self):
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.