Anonymous committed 2b74d75

ropeide: fixed edit_dot_ropeide action

Comments (0)

Files changed (3)

 ``2.4`` and currently rope requires Python ``2.5``.
-.. _pymacs:
 * Using as a library: `library.txt`_
 * Contributing: `contributing.txt`_
-.. _`contributing.txt`: contributing.html
-.. _`library.txt`: library.html
-.. _overview.txt: overview.html
-.. _screenshots: screenshots/screenshots.html
 .. _`rope-dev (at)`:
 .. _pysvn:
 .. _Mercurial:
+.. _`contributing.txt`: contributing.html
+.. _`library.txt`: library.html
+.. _overview.txt: overview.html
+.. _screenshots: screenshots/screenshots.html
+.. _pymacs:


-# The default ~/.rope file for *rope*.
+# The default ~/.ropeide file for *ropeide*.
 # You can edit this file to change some of rope's preferences.  If
 # you like you can edit this file using rope itself.
-# (``edit_dot_rope`` in execute command or ``Edit ~/.rope`` in
-# ``Edit`` menu.)
+# (``edit_dot_ropeide`` in execute command or ``Edit ~/.ropeide``
+# in ``Edit`` menu.)
 # Note: Since this file is not inside a project you cannot perform
 #   refactorings on it.
     core.rebind_action('repeat_last_action', None)
     core.rebind_action('search_forward', 'C-f')
     core.rebind_action('search_backward', 'C-F')
-    core.rebind_action('edit_dot_rope', None)
+    core.rebind_action('edit_dot_ropeide', None)
     core.rebind_action('execute_command', None)
     # source actions


-def edit_dot_rope(context):
+def edit_dot_ropeide(context):
     resource = rope.base.project.get_no_project().get_resource(
-        os.path.expanduser('~%s.rope' % os.path.sep))
+        os.path.expanduser('~%s.ropeide' % os.path.sep))
     editor_manager = context.get_core().get_editor_manager()
     editor_manager.get_resource_editor(resource, mode='python')
 actions.append(SimpleAction('execute_command', execute_command, 'M-x',
                             MenuAddress(['Edit', 'Execute Command'], 'x', 4), ['all', 'none']))
-actions.append(SimpleAction('edit_dot_rope', edit_dot_rope, 'C-x c',
+actions.append(SimpleAction('edit_dot_ropeide', edit_dot_ropeide, 'C-x c',
                             MenuAddress(['Edit', 'Edit ~/.rope'], '.', 4), ['all', 'none']))
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
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.