Skip to content
This repository has been archived by the owner on Nov 2, 2019. It is now read-only.

Removal of prefix module name #15

Open
trucnguyenlam opened this issue Apr 21, 2015 · 5 comments
Open

Removal of prefix module name #15

trucnguyenlam opened this issue Apr 21, 2015 · 5 comments

Comments

@trucnguyenlam
Copy link

This is the issue when completing a keyword, the module name also be deleted.
For example, Module_name.some_val -> become some_val while it should be Module_name.some_val

@whitequark
Copy link
Owner

See #7/#8. ST2 or ST3? It should work on ST3.

@trucnguyenlam
Copy link
Author

Mine is ST3, I just made a dirty fix by commenting out these lines:

                    # offset = actual_replacement.find(prefix)
                    # if offset > 0:
                    #     actual_replacement = actual_replacement[offset:]

@whitequark
Copy link
Owner

That will break other behavior from the issues I've mentioned.

@trucnguyenlam
Copy link
Author

Thanks for reminding me this, however, I do not experience these issues #7 and #8 when applying the fix.
Btw, great plugin for ST, I love this. Thanks a lot :).

@whitequark
Copy link
Owner

sublime-text-merlin is probably better.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants