Live data from Hacker News

Sublime Text 2 plugin to show git commit history for selected line(s) of code

github.com

11–20 of 45 posts

Re: Sublime Text 2 plugin to show git commit history for selected line(s) of code

#11
post #4

Disclaimer: I love ST and use it everyday and this is not against this plugin in particular, just the idea of extending your editor to be an IDE. When people extend their text editor (be it sublime, vim, emacs) with all these (often outdated) plugins i am left wondering why there is still so much hate for IDEs ? I use IDEs from Jetbrains for most of my stuff and they do all these things oob with a consistent UI and a…

IDEs are as good as MS Word is good for text editing. Many are a product of feature packing, not of good design. They pack so much garbage functionality, any feature that could possibly be used gets added. In a clean editor only the ones which are probably going to be used should be available. ST puts us in the management seat, and we choose which features we want on our text editor.

Re: Sublime Text 2 plugin to show git commit history for selected line(s) of code

#12
post #4

Disclaimer: I love ST and use it everyday and this is not against this plugin in particular, just the idea of extending your editor to be an IDE. When people extend their text editor (be it sublime, vim, emacs) with all these (often outdated) plugins i am left wondering why there is still so much hate for IDEs ? I use IDEs from Jetbrains for most of my stuff and they do all these things oob with a consistent UI and a…

IDE's tend to be very... well, 'integrated', or at least they were in the past. Emacs has worked well for me whatever language I happen to be using at the moment, be it C, Erlang, Ruby, Python, Tcl, SQL, HTML, Java, Javascript, Shell scripts, or PHP (fortunately, not lately).

Re: Sublime Text 2 plugin to show git commit history for selected line(s) of code

#13
post #4

Disclaimer: I love ST and use it everyday and this is not against this plugin in particular, just the idea of extending your editor to be an IDE. When people extend their text editor (be it sublime, vim, emacs) with all these (often outdated) plugins i am left wondering why there is still so much hate for IDEs ? I use IDEs from Jetbrains for most of my stuff and they do all these things oob with a consistent UI and a…

Its easier to start from a lightweight text editor and add only what you need as opposed to start with an IDE and trim the fat, and pray it won't break.

Actually, the first time you start IntelliJ, it will walk you through all the plugins per category. If you don't select anything, you will mostly have the same effect.

Of course, the result won't be as light as Sublime text, because it is already a Java IDE :).

Also, I don't really see the point. I start or restart my IDE (IntelliJ) one time a week. So, it's not really the startup time that matters. Once started, IntelliJ is fast on all my machines (including my work iMac, which still has spinning platters).

Re: Sublime Text 2 plugin to show git commit history for selected line(s) of code

#14
post #8

Earlier quoted context omitted.

Its easier to start from a lightweight text editor and add only what you need as opposed to start with an IDE and trim the fat, and pray it won't break.

This is my reason for using ST2 as well. I even bought PyCharm last year (the doomsday sale), but it was just too much. It has so many options that even basic ones had steep learning curve (as in "where the hell is this function?"). Note that I'm talking about personal use. If I were a full time developer, I might force myself into an IDE.

(as in "where the hell is this function?").

Command-shift-a, type some letters. Done :). It's pretty much like Command-shift-p in Sublime Text.

Re: Sublime Text 2 plugin to show git commit history for selected line(s) of code

#15
post #4

Disclaimer: I love ST and use it everyday and this is not against this plugin in particular, just the idea of extending your editor to be an IDE. When people extend their text editor (be it sublime, vim, emacs) with all these (often outdated) plugins i am left wondering why there is still so much hate for IDEs ? I use IDEs from Jetbrains for most of my stuff and they do all these things oob with a consistent UI and a…

> i still use IDEs for most of my coding so i dont have to think about configuring my editor all day.

If coding in a text editor causes you to think about configuring your text editor "all day", then you should definitely use an IDE. (Or see a therapist?)

I tweak my Emacs configuration about once per year.

Re: Sublime Text 2 plugin to show git commit history for selected line(s) of code

#17
post #2

Will this be available for ST 3 too or are there any incompatibilities stopping it from working on ST 3?

I've just tested GitCommitMsg in ST3 and the only problem seems to be the print function. I'll fix this up and send a PR. Scratch that. There are a couple of API changes I believe, but I should be able to fix these too. Edit: I can't even get the command to work for me.

Still going to fix it up?

Re: Sublime Text 2 plugin to show git commit history for selected line(s) of code

#18
post #4

Disclaimer: I love ST and use it everyday and this is not against this plugin in particular, just the idea of extending your editor to be an IDE. When people extend their text editor (be it sublime, vim, emacs) with all these (often outdated) plugins i am left wondering why there is still so much hate for IDEs ? I use IDEs from Jetbrains for most of my stuff and they do all these things oob with a consistent UI and a…

> I love Sublime etc. for what it does best, which is editing text, but i still use IDEs for most of my coding so i dont have to think about configuring my editor all day.

Because Vim ,Emacs or Sublime are easy to extend or hack. Try to extend VisualStudio or any Jetbrain IDE...

Because lightweight editors can open huge files without issues,try to open a 10 mo data/sql file in VS ... no problem with ST or VIM.

Because they run on older hardware.

Now you say some plugins are outdated , but it's easier to fix 20 lines of python than a C# or java project.

To sum up,if I want a new feature in ST or Vim I can code it myself quickly,I dont need to wait/pay for a new version of the editor.

Re: Sublime Text 2 plugin to show git commit history for selected line(s) of code

#19
post #4

Disclaimer: I love ST and use it everyday and this is not against this plugin in particular, just the idea of extending your editor to be an IDE. When people extend their text editor (be it sublime, vim, emacs) with all these (often outdated) plugins i am left wondering why there is still so much hate for IDEs ? I use IDEs from Jetbrains for most of my stuff and they do all these things oob with a consistent UI and a…

I don't know about your experience with Jetbrains IDEs, but I've found them to have very sluggish interfaces. Quite different from Vim or ST.

Re: Sublime Text 2 plugin to show git commit history for selected line(s) of code

#20
post #9

It doesn't seem to exist anymore: https://sublime.wbond.net/search/GitCommitMsg or in package control. Will install it manually, seems a great trick!

In fact it is hasn't yet been accepted: https://github.com/wbond/package_control_channel/pull/2800
Post reply on HN