bollu / sublimeBookmark

a better bookmark system for SublimeText
Apache License 2.0
133 stars 29 forks source link

Removing sourcecode and bookmark #10

Closed dragonito closed 10 years ago

dragonito commented 10 years ago

Hi bollu,

is it possible to remove the bookmark when its sourcecode is deleted? In my case when I remove the lines from code the bookmark is still there.

Cu

Robin

bollu commented 10 years ago

Sure thing. I could add this as an option :)

bollu commented 10 years ago

I just pushed an update with this enabled. Tell me if it works!

dragonito commented 10 years ago

Hi Bollu,

is it possible to upgrade the extension with package manager? Or is it only available with a direct clone of your repository? My package manger dont find any changed packages in this time.

bollu commented 10 years ago

did you run "upgrade packages" ? I have pushed the change and you can update through Package Control.

EDIT - I just checked - I'm able to download the latest version. Can you try and run "upgrade / overwrite all packages" ?

dragonito commented 10 years ago

I removed the whole package und installed new. But now I´m not able to add bookmarks. It asks for a bookmark name but its not saved.

"bookmark emtpy not creating bookmark" while saving

bollu commented 10 years ago

Are you creating a bookmark on an empty string ? Cause it emits that error if you create a bookmark without any characters in it. If you're creating it on a proper string , then there is a bug.

dragonito commented 10 years ago

No I´m direct on an method name, no empty string. Seems to be a bug. Is it possible to active a special debug for more console information?

bollu commented 10 years ago

Can you post the string you're using?

Also,could you try it on a different line?

bollu commented 10 years ago

Pess Ctrl + ~, run add boobookmark.that's the console.any errors suould be logged there

dragonito commented 10 years ago

There is no error / info logging from plugin :(

It doesn´t work on every code i use.

dragonito commented 10 years ago

Ive cloned the project and looked for the _save method. It saves to sublimeBookmarks.pickle, after removing this file it works again. :) But removing bookmark when removing sourcelinke doesnt work

bollu commented 10 years ago

Hmm, looks like I need to version the savefiles... Thanks for the lesson!