Got sick of sublime text’s limited bookmark capability. Decided to write a plugin
Here’s a link. I’d like some feedback.
Thanks!
~Bollu
Got sick of sublime text’s limited bookmark capability. Decided to write a plugin
Here’s a link. I’d like some feedback.
Thanks!
~Bollu
I saw it yesterday. Unfortunately:
reloading plugin sublimeBookmark.addBookmarks
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 869, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "C:\Users\iamntz\AppData\Roaming\Sublime Text 3\Packages\sublimeBookmark\addBookmarks.py", line 4, in <module>
from . import common
File "C:\Users\iamntz\AppData\Roaming\Sublime Text 3\Packages\sublimeBookmark\common.py", line 5, in <module>
from . import fileLock
ImportError: cannot import name fileLock
reloading plugin sublimeBookmark.common
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 869, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "C:\Users\iamntz\AppData\Roaming\Sublime Text 3\Packages\sublimeBookmark\common.py", line 5, in <module>
from . import fileLock
ImportError: cannot import name fileLock
reloading plugin sublimeBookmark.gotoBookmark
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 869, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "C:\Users\iamntz\AppData\Roaming\Sublime Text 3\Packages\sublimeBookmark\gotoBookmark.py", line 4, in <module>
from . import common
File "C:\Users\iamntz\AppData\Roaming\Sublime Text 3\Packages\sublimeBookmark\common.py", line 5, in <module>
from . import fileLock
ImportError: cannot import name fileLock
reloading plugin sublimeBookmark.removeBookmark
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 869, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "C:\Users\iamntz\AppData\Roaming\Sublime Text 3\Packages\sublimeBookmark\removeBookmark.py", line 4, in <module>
from . import common
File "C:\Users\iamntz\AppData\Roaming\Sublime Text 3\Packages\sublimeBookmark\common.py", line 5, in <module>
from . import fileLock
ImportError: cannot import name fileLock
reloading plugin sublimeBookmark.statusMonitors
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 73, in reload_plugin
m = importlib.import_module(modulename)
File "X/importlib/__init__.py", line 88, in import_module
File "<frozen importlib._bootstrap>", line 1577, in _gcd_import
File "<frozen importlib._bootstrap>", line 1558, in _find_and_load
File "<frozen importlib._bootstrap>", line 1525, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper
File "<frozen importlib._bootstrap>", line 1023, in load_module
File "<frozen importlib._bootstrap>", line 1004, in load_module
File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper
File "<frozen importlib._bootstrap>", line 869, in _load_module
File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
File "C:\Users\iamntz\AppData\Roaming\Sublime Text 3\Packages\sublimeBookmark\statusMonitors.py", line 2, in <module>
from . import common
File "C:\Users\iamntz\AppData\Roaming\Sublime Text 3\Packages\sublimeBookmark\common.py", line 5, in <module>
from . import fileLock
ImportError: cannot import name fileLock
found 31 files for base name Default.sublime-keymap
found 28 files for base name Main.sublime-menu
top level value must be an array
(windows 8.1, latest dev sublime, installed both from package control and git clone)
Sorry, I’m an idiot. I forgot to push the file :] This is my first time owning a project that’s used by other people.
Sorry again , and thanks!
Oh, now it’s better! Thanks!
I like how the line is highlighted. There is a way of adding a toggle bookmark?
Btw, when i try to remove a bookmark:
Traceback (most recent call last):
File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 526, in run_
return self.run()
File "removeBookmark in C:\Users\iamntz\AppData\Roaming\Sublime Text 3\Installed Packages\Sublime Bookmarks.sublime-package", line 26, in run
AttributeError: 'RemoveBookmarkCommand' object has no attribute 'threaad'
Probably you are too generous with a
letters?
thanks!
That was a branch of code I’d never had to execute. So I didn’t catch the bug.
Also, this is why I like C++ more than python ^_^. Trivial bugs are easier to catch.
Thanks again!
Bollu