Skip to content

Commit

Permalink
improved completion, fixed .gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianEberius committed May 25, 2010
1 parent ba12cc2 commit e53e282
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
.DS_Store
*.pyc
Support/lib/pydevd
23 changes: 23 additions & 0 deletions Commands/Find Imports.tmCommand
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>beforeRunningCommand</key>
<string>nop</string>
<key>command</key>
<string>refactor.py find_imports
</string>
<key>input</key>
<string>document</string>
<key>keyEquivalent</key>
<string>@I</string>
<key>name</key>
<string>Find possible Imports</string>
<key>output</key>
<string>replaceDocument</string>
<key>scope</key>
<string>source.python</string>
<key>uuid</key>
<string>60BA84AA-EDE8-41A5-9EB4-FB34B1E2A36C</string>
</dict>
</plist>
4 changes: 1 addition & 3 deletions Support/bin/refactor.py
Expand Up @@ -11,14 +11,12 @@

from tm_helpers import to_plist, from_plist, current_word

import rope.base.simplify
import rope
from rope.base import project,libutils
from rope.contrib import codeassist, autoimport
from rope.refactor.extract import ExtractMethod
from rope.refactor.importutils import ImportOrganizer
from rope.refactor.rename import Rename
import rope.base.simplify
import rope.base.simplify

TM_DIALOG = os.environ['DIALOG_1']
TM_DIALOG2 = os.environ['DIALOG']
Expand Down

0 comments on commit e53e282

Please sign in to comment.