Anonymous avatar Anonymous committed 4779a1b

Using yes-or-no-p for committing the preview

Comments (0)

Files changed (4)

 returned back to the base prompt.  Finally, you can ask rope to
 perform, preview or cancel the refactoring.
 
+
 See keybinding_ section and try the refactorings yourself.
 
 
+Finding Files
+-------------
+
+By using ``rope-find-file`` (``C-x p f`` by default), you can search
+for files in your project.  When you complete the minibuffer you'll
+see all files in the project; files are shown as their reversed paths.
+For instance ``projectroot/docs/todo.txt`` is shown like
+``todo.txt<docs``.  This way you can find files faster in your
+project.
+
+
+
 Keybinding
 ==========
 
 * including pymacs in ropemacs?
 * change pymacs to accept unicode strings
 * saving the old values of refacturing config
+* find occurrences
 
 > Public Release 0.2
 

ropemacs/__init__.py

         lisp.display_buffer(new_buffer)
         lisp.goto_line(1)
 
-def _y_or_n_p(prompt):
-    return lisp.y_or_n_p(prompt)
+def _yes_or_no(prompt):
+    return lisp.yes_or_no_p(prompt)
 
 
 DEFVARS = """\

ropemacs/refactor.py

             ropemacs._make_buffer('*rope-preview*',
                                   str(changes.get_description()),
                                   mode='diff')
-            if ropemacs._y_or_n_p('Do the changes? '):
+            if ropemacs._yes_or_no('Do the changes? '):
                 self._perform(changes)
 
     @property
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.