Hi,
Inspired by Netbeans feture, I’ve created a plugin for highlighting lines changed from the last commit.
Unfortunately, with existing ST2 API it’s impossible to duplicate Netbeans feature
So, what do you think?
What can be improved?
Hi,
Inspired by Netbeans feture, I’ve created a plugin for highlighting lines changed from the last commit.
Unfortunately, with existing ST2 API it’s impossible to duplicate Netbeans feature
So, what do you think?
What can be improved?
Is it possible to show the line Edited and Saved since the file is opened (without using any version control) with one color, and the line Edited but not saved yet with another color? Just like the screenshot I uploaded.
It’s all possible except drawing lines (with existing API you can only draw dots, circles or bookmark icons).
Here is a plugin that highlights unsaved rows: Hightlight changed row
You can use your own icons, look at https://github.com/facelessuser/BracketHighlighter for example.
[quote=“sanya-g”]It’s all possible except drawing lines (with existing API you can only draw dots, circles or bookmark icons).
Here is a plugin that highlights unsaved rows: https://forum.sublimetext.com/t/hightlight-changed-row/3187/1[/quote]
That means your plugin must be used with a VCS?
Yes, that’s the idea of my plugin.
I don’t understand how highlighting of unsaved changes might be useful.
I hit Ctrl+S every time I enter a new word or a sentence.
Why do you need that?
[quote=“sanya-g”]
Yes, that’s the idea of my plugin.
I don’t understand how highlighting of unsaved changes might be useful.
I hit Ctrl+S every time I enter a new word or a sentence.
Why do you need that?[/quote]
“I hit Ctrl+S every time I enter a new word or a sentence.” <- yes, me too.
That’s why I need 2 functions:
as a result, you can see which lines has been edited since it was opened by looking the Green colored mark. That’s what I intended.
Oh, now I see why you need that.
Then you should probably make your own plugin. Is not as hard as it seems.
[quote=“sanya-g”]
Oh, now I see why you need that.
Then you should probably make your own plugin. Is not as hard as it seems.[/quote]
I do not know python programming, so, its quite difficult for me to do that.
This plugin is really nice, I’ve been using for some time now and it’s very useful.
I found 2 issues with it though:
These bugs are a bit annoying but aside from this it’s a very handy plugin
Thanks.
And If you have some issues with plugin it would be better to post it on github.
Hi,
Next reports will be done in github if I have to report.
Edit : just got the case now : THe file is sometimes restored even without asking me about saving the buffer but I can’t reproduce it :\
This is awesome, thank you very much for working on this. I must buy you a coffee!
It seems to be seeking git in /usr/bin/git which triggers an annoying error dialog on OSX.
How can I specify the correct path to git?