Live data from Hacker News

Turning Sublime Text into a Lightweight Python IDE

cewing.github.io

131–140 of 154 posts

Re: Turning Sublime Text into a Lightweight Python IDE

#131
post #117

Earlier quoted context omitted.

Yes, and the reply is the same. I just quoted that one whopper for effect. Editors (serious ones) aren't just equivalent bags of commands, they're work paradigms people literally spend years learning and customizing.

I program pretty much the same regardless of editor. The main difference seems to just be how they navigate the ui and the features. I feel like the guy without a hat in this ( https://xkcd.com/915/ ) XKCD

It boggles my mind that people like the one in the hat exist. I am aware of their existence, but find them so insufferable to interact and have a conversation with that it's easier to pretend they don't.

One wonders what leads someone to become such a snob and how to prevent it.

And before someone accuses me of being a human-snob, well, we don't really have a choice, do we?

Re: Turning Sublime Text into a Lightweight Python IDE

#132
post #67

Earlier quoted context omitted.

Completely agree. I can't use even the best editor if it doesn't provide basic navigation, and debugging functions. 20 years ago, people claimed that IDEs were bad, but now the situation have changed. PyCharm has almost everything that Sublime has, and even more, there's vim mode, which moved editing to a new level.

> 20 years ago, people claimed that IDEs were bad, but now the situation have changed. PyCharm has almost everything that Sublime has Whether "PyCharm has almost everything that Sublime has" is not really relevant to whether people claimed IDEs were bad -- seeing that people didn't claim IDEs were bad for lack of features. It's the slugginess and especially the "take it or leave it" bundle of stuff that comes built-i…

Anyone who thinks PyCharm is sluggish, needs to reevaluate. I use it inside of VM as my daily driver, the startup is the only "sluggish" thing about it, and even that is negligible. They introduced "zero-latency typing" a while ago.

Also, I'd argue PyCharm has much more than sublime.

Re: Turning Sublime Text into a Lightweight Python IDE

#133

A lot of unjustified negative comments. Sublime Text is a nice fast IDE for python. So is PyCharm. CWWFY (Choose what works for you)

Sublime Text is a nice text-editor with bolted on pieces that bring it closer to an IDE, but it's not really "integrated" -- PyCharm does this all much better.

Re: Turning Sublime Text into a Lightweight Python IDE

#134
post #3

Wait — People are actually still using ST in 2017? And here I was thinking Atom and VSCode had dominated the IDE/Editor environment

I like Atom and VSCode, I wouldn't REALLY call them an IDE.. Try Jetbrain's stuff out.

despite it being an electron application, I prefer Atom over Sublime, because 1) It's FOSS 2) it was easier to configure for Python 3) It takes the best parts of Sublime without requiring C#

Re: Turning Sublime Text into a Lightweight Python IDE

#135
post #65
post #48

> The final requirement for a reasonable IDE experience is to be able to follow a debugging session in the file where the code exists. > There is no plugin for SublimeText that supports this. But there is a Python package you can install into the virtualenv for each of your projects that does it. This drives me batty whenever I see "turn XYZ into an IDE for (foo)." The author of this post at least lists debugger inte…

> I haven't seen one article for turning Atom/ST/Vim/etc into an "IDE" that comes close capability-wise. Well, then again, I've never seen an IDE that comes close to ST/Vim/etc in their lightness, speed of opening, editing, switching files, and pleasantness of the core editing experience, much less one without a heavy beast of a UI. Or one that you can setup exactly as you want, as heavy or as light as you like, plug…

PyCharm has ideavim with zero-latency typing. It's pretty fantastic.

Re: Turning Sublime Text into a Lightweight Python IDE

#136
post #121

Earlier quoted context omitted.

Atom is slower than VS Code, sure. However, if you end up in a file of any significant size in VS Code, you're pretty much toast. https://github.com/jhallen/joes-sandbox/tree/master/editor-p...

Good link. Really appreciated. I would be interested in seeing how that 3GB looked like though. For instance Emacs has no issues with huge files (logs with many lines), but can completely choke when the lines are really long (like a minified JS-file without lineshifts). I guess similar constraints may exist in other editors too. Without knowing how those 3GBs looks, it's hard to make a decent judgement of what the "l…

From the link:

> huge 3 GB file (3M 1K lines)

So, somewhat long lines, but not unreasonably huge.

For me, working on a nasty legacy codebase with 10-15k LOC classes - VS Code is slow enough with syntax highlighting that I pretty much need to use something else.

Re: Turning Sublime Text into a Lightweight Python IDE

#137
post #121

Earlier quoted context omitted.

Atom is slower than VS Code, sure. However, if you end up in a file of any significant size in VS Code, you're pretty much toast. https://github.com/jhallen/joes-sandbox/tree/master/editor-p...

Good link. Really appreciated. I would be interested in seeing how that 3GB looked like though. For instance Emacs has no issues with huge files (logs with many lines), but can completely choke when the lines are really long (like a minified JS-file without lineshifts). I guess similar constraints may exist in other editors too. Without knowing how those 3GBs looks, it's hard to make a decent judgement of what the "l…

[deleted]

Re: Turning Sublime Text into a Lightweight Python IDE

#138

Maybe I'm the exception, but I can't see why people, why programmers , bother investing their editing-skills in a closed-source editor and toolkit. Sublime is closed source. When it croaks up and dies, all the skills you've built up will be wasted, and you'll have to rebuild them elsewhere. Why not invest in something open instead? There's more options than ever before, and they're all good. For me, VS Code seems to…

A different, yet very simple additional benefit of open source software dawned on me when I tried if I could use a chromebook for development tasks:

Astoundingly few text editors run on ARM CPUs.

Open source means you can compile them yourself if necessary (if they're written in a proper platform-independent fashion). That I couldn't use it on every device I own was the reason I left Sublime for good, although I quite liked it so far.

Re: Turning Sublime Text into a Lightweight Python IDE

#139

My path with Python IDEs has been: - Visual Studio (when I was a student) - Emacs (when I ceased to be a student) - PyCharm (when my job paid for a license) - Sublime Text (when I wanted something comparable to Emacs with some niceties thrown in and a single license cost) All in all I think PyCharm is the most productive I have used. Minimal setup, the best code inspection I have used, nice integrations with things l…

I have had a similar path, except for VS. I have been happy (and still am) with Emacs for a very long time (in particular, I really like how easy it is to have some code in the left window, which I can easily send to an IPython REPL in the right window), but recently, for a new job, I picked up PyCharm Pro, and I must say that it's been pretty transformative. Three aspects stand out IMO: - It's a fantastic tool to ex…

> I really like how easy it is to have some code in the left window, which I can easily send to an IPython REPL in the right window

This sounds pretty great. Would you mind explaining how that works? Is it specific to Emacs?

Re: Turning Sublime Text into a Lightweight Python IDE

#140

I am using Notepad++ (I'm a windows user) for more than 5 years for python/django development. Never regreted it - never found something better. I stuck to Notepad++ even when I was using a Mac for some months (through Wine) - I couldn't find something better or faster. Everything else is way too slow (Atom, VS Code, pycharm) or way too inefficient (Vim / Emacs - inefficient for me they may be great for you) to repla…

Only if you haven't worked on Pycharm, you can say this. Try the latest Pycharm on a medium/big size project and you will understand. It is the best Python IDE out there, right now. Nothing even comes close.

Pycharm is good, but it really depends on the project size - I'd use Pycharm for larger projects, but at the same time I'll open smaller separate scripts in Sublime even if I have Pycharm already open.
Post reply on HN