Live data from Hacker News

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

github.com

41–45 of 45 posts

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

#42
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 like IDEs because they are monolithic beasts that slow down everything that I want to do. There's a big difference between

* a giant that IDE that wants to own my code and my entire workflow and

* a little plugin for a text editor that shows me "git blame" output

Would you say that I should go without syntax highlighting because that's one step on the road to IDEs? No, of course I can pick the features I want a la carte.

Besides, what's it to you? If you like it, use it, if you don't, don't use it. Why criticise in the first place?

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

#43
post #22
post #10

Earlier quoted context omitted.

Extensible editors like Sublime, vim and emacs, amongst others, let you program them easily. As a programmer this is useful. This plugin is maybe 30 lines of code. With 1,988 packages and 1,436 authors(in Sublime's case) they turn into customised IDE's that 2.15 million package users are using. If there is a bug, you can submit a patch, or fork a plugin - and people do. This means plugins can be fixed quickly and eas…

Yeah that sounds sweet in theory. In practice i would first have to learn python and get into the ST api before i could build my own plugin or fix existing ones, so that would probably take some time that i dont have. And while there are lots of plugins i found quite a few areas (C# for example) where plugins are there, but haven't been updated in a long time and don't work for certain aspects of the language etc. Yo…

Visual studio has to be the best ide I've ever had the pleasure of using. Sadly I'm not much of a fan of Microsoft or its technologies (C# is great if you're into that sort of thing.)

For me its all pretty simple, ides in Linux or Mac get in my way. That is the only reason. Sublime, vim. They take learning, yes you have to spend hours configuring over their lifetime of usage, yes you have to have a core understanding about how they work. But its worth it. They're fast - like blistering fast. Once they're setup to my liking: they get right the fuck out my way and take a back seat to writing code. They do exactly what I expect, and they do it exactly how I told them to do it. (Can you tell I'm a developer yet) They dont bug me about my syntax mid thought, they wait till I'm done and save or consciously call on them for a clean up.

Also as a personal opinion and an anecdotal one at that: eclipse and netbeans are pretty ugly, menu systems and configuration is done in XML. Why would any human want anything to do with that kind of thing? BTW I'd have something to say about xcode but its still loading...

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

#44
post #43
post #22

Earlier quoted context omitted.

Yeah that sounds sweet in theory. In practice i would first have to learn python and get into the ST api before i could build my own plugin or fix existing ones, so that would probably take some time that i dont have. And while there are lots of plugins i found quite a few areas (C# for example) where plugins are there, but haven't been updated in a long time and don't work for certain aspects of the language etc. Yo…

Visual studio has to be the best ide I've ever had the pleasure of using. Sadly I'm not much of a fan of Microsoft or its technologies (C# is great if you're into that sort of thing.) For me its all pretty simple, ides in Linux or Mac get in my way. That is the only reason. Sublime, vim. They take learning, yes you have to spend hours configuring over their lifetime of usage, yes you have to have a core understanding…

I am a mac user myself and only use VS with Unity3D on Windows. But man, it has really turned my opinion about IDEs. Yes, even Jetbrains IDEs are slow compared to Sublime/vim but every time i have to explore a huge Api or framework to find out how things work i feel crippled by Sublime. For example in PHP i often need to know

- Which classes implement this interface ?

- What was the namespace of that class again ?

- take me to the definition of this (in a different file)

- show me uses of this function across the entire codebase

Yes you can also do all of that with some nifty search action in Sublime, but i don't think its as efficient.

When you work for example with a node or angular project that doesnt matter, i am happy with Sublime there, but i currently built a huge application on top of symfony2 in php with tons of third party libraries and in that case it just doesnt work well.

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

#45
post #44
post #43

Earlier quoted context omitted.

Visual studio has to be the best ide I've ever had the pleasure of using. Sadly I'm not much of a fan of Microsoft or its technologies (C# is great if you're into that sort of thing.) For me its all pretty simple, ides in Linux or Mac get in my way. That is the only reason. Sublime, vim. They take learning, yes you have to spend hours configuring over their lifetime of usage, yes you have to have a core understanding…

I am a mac user myself and only use VS with Unity3D on Windows. But man, it has really turned my opinion about IDEs. Yes, even Jetbrains IDEs are slow compared to Sublime/vim but every time i have to explore a huge Api or framework to find out how things work i feel crippled by Sublime. For example in PHP i often need to know - Which classes implement this interface ? - What was the namespace of that class again ? -…

Sorry took so long to reply.

I hate to be one of those people who say you're doing it wrong but it sort of sounds like it. I manage just fine with cmd+p and large projects.

I would have to suggest installing a few plugins there are quite a lot of "perfect php sublime setup" blog posts around to give you ideas.

We have a large symfony install and a large api I work on and never really feel "I wish I had an ide" I guess to each their own. Sublime and vim are really what you make it. As for any tech, ides included you have to master them before you can get the most out of them.

Post reply on HN