SublimeFoldPython
SublimeFoldPython copied to clipboard
I am to stupid to use Fold Python
disclaimer: ^^^sublime text beginner Hey, I just installed sublime text 3, then the sublime package control, and then Fold Python. Installation seemed to work nicely.
When trying to fold something, simply nothing happens. I was trying to use Ctrl+Alt+Shift+Up, Down, Left or Right... nothing happens. Not sure how to give you better debug information.
However when I pressed Ctrl+Alt+Shift+H I got a traceback on the console, maybe that helps...
Traceback (most recent call last):
File "/opt/sublime_text/sublime_plugin.py", line 549, in run_
return self.run(edit)
File "SublimeFold in /home/dneise/.config/sublime-text-3/Installed Packages/Fold Python.sublime-package", line 58, in run
File "CodeManipulator in /home/dneise/.config/sublime-text-3/Installed Packages/Fold Python.sublime-package", line 464, in documentationRegion
AttributeError: 'NoneType' object has no attribute 'region'
By accident, I hit shift-lock at some time and now, when I pressed Ctrl+Alt+Shift+H it happily folded away the function I wanted to be folded away ... pretty nice. So I guess, when pressing Ctrl+Alt+Shift+H earlier (without shiftlock) I have of course pressed Ctrl+Alt+Shift+h...
Also I found out that Ctrl+Alt+Shift+0, 1 and 2 work fine. Also Ctrl+Alt+Shift+i works fine, it jumps to the import section. (independent of the shift-lock status)
Finally I understood what Ctrl+k, Ctrl+Key means, I tried it and it worked perfectly. However Ctrl+k is inconvenient so I tried to change it to Ctrl+f. How is that suppused to be done? When I go to Preferences > Package Settings > Fold Python I can open a file that shows the current Default key bindings, but I seem not to be able to edit that file. I though it might be a write protected file, but I found the file does not even exist... now I'm lost