Live data from Hacker News

Turning Sublime Text into a Lightweight Python IDE

cewing.github.io

71–80 of 154 posts

Re: Turning Sublime Text into a Lightweight Python IDE

#71
post #60
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…

That's because your definition is flawed. When it's all said and done, all that matters is that you're able to get the work done. Take vim, for example. You can quite often use CLI tools to get the work done due to vim's integration into the surrounding ecosystem, and this includes things such as debuggers. For a language like C#, you're never going to find as integrated an experience as you will with Visual Studio.…

Of course you can done the work. The question is how effectively you will do it and how much time will be wasted on working around ide flaws.

Re: Turning Sublime Text into a Lightweight Python IDE

#72
post #47
post #41

Earlier quoted context omitted.

I think it got really popular, especially in the Rails community, because of the flashy multi-cursor demos on the site. I believe it was the first CUA/mainstream editor with multiple cursors.

Pretty sure you're thinking of TextMate. RailsCasts probably sold thousands of TextMate licenses, and DHH's screencasts thousands more. No doubt some Rails devs use Sublime but it's nowhere near as popular as Vim.

I could be mixing them up, it's been a while. But I do remember some spiffy videos demoing the multi-cursor thing and I don't think TextMate supports (supported?) those.

I also vaguely remember that most of these demos were on Macs and they were showing off editing of Ruby code.

But as I was saying, it's been a while :)

Re: Turning Sublime Text into a Lightweight Python IDE

#73

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.

Re: Turning Sublime Text into a Lightweight Python IDE

#74

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…

Did you try sublime on OS X? I like notepad++ too, I'd say it's pretty interchangeable with sublime on Windows - but I'd be surprised if it on wine is better than sublime native.

No I didn't try it on OS X - I didn't have a license and, because I was going to use OS X for some months (not permanently) I'd bitten the bullet and went the wine-way.

Probably you are right though, if I was using OSX as my main OS I'd definitely consider buying a sublime license since there were some problems with the Notepad++ (mainly with its filesystem integration).

Re: Turning Sublime Text into a Lightweight Python IDE

#75
I'm confused. I've been using Jupyter as my go-to Python IDE. It has auto-code completion, nice charting abilities and even nice tools to convert my notebooks into presentations for execs.

What am I missing by not having PyCharm or the other IDEs mentioned here? Thanks

Re: Turning Sublime Text into a Lightweight Python IDE

#76

I'm confused. I've been using Jupyter as my go-to Python IDE. It has auto-code completion, nice charting abilities and even nice tools to convert my notebooks into presentations for execs. What am I missing by not having PyCharm or the other IDEs mentioned here? Thanks

Jupyter is probably much better if you're doing what it's suited for. I work on web application development in Python and Jupyter is not suited to that at all, however my colleagues who work on business intelligence/analytics/data-science/etc love it.

Re: Turning Sublime Text into a Lightweight Python IDE

#77

Earlier quoted context omitted.

True.. I have never bothered to find out how the ST community grew so much. It's a paid product and somehow people have built plugins for a package manager that is not even part of the core IDE. Does anyone know the history here?

When Textmate stalled between versions for years on end, Sublime came in with Textmate compatibility and simply scooped up a huge userbase who wanted something like Textmate on other platforms or were tired of waiting on Textmate to release a new version. Sublime is a Textmate clone that outdid the thing it was cloning but worked with all the existing Textmate bundles. That's how.

Yep, I think this hits the nail on the head. I'd add that on Windows there wasn't a good, native, option past Notepad++ (which is fairly limited in comparison).

Re: Turning Sublime Text into a Lightweight Python IDE

#78
post #33

Earlier quoted context omitted.

5 minutes to start

I've never had it take 5 minutes on a ~3 year old Intel i5 with a cheap SSD. Maybe 10 seconds. Scanning a large project might take 30-60 seconds. 5 minutes would be painful. What kind of set up do you have and what size project?

I find startup time of PyCharm to be really stochastic. Sometimes it's 10-20 seconds and sometimes it takes a couple of minutes, even on relatively tiny projects.

That being said I think PyCharm is good enough that I'm willing to put up with that.

Re: Turning Sublime Text into a Lightweight Python IDE

#79

No mentioning of Anaconda for Sublime? It has many of this features out of the box. But the best IDE experience (beside PyCharm) is really using VSCode + the most popular Python extension https://github.com/DonJayamanne/pythonVSCode This setup is a total replacement for PyCharm for me. Code Refactoring, code definition jump, IntelliSense suggestions and help, linting, virtualenv support, code formatting etc. etc. And…

My biggest problem with VSCode was the loss of ST's support for working across multiple project folders. When I'm working with Django I'll break code out into reusable apps but find it difficult to work concurrently on these separate folders of code.

Would love to hear if there's a setting I was missing as I'd like all the other features in VSC.

Re: Turning Sublime Text into a Lightweight Python IDE

#80

I'm confused. I've been using Jupyter as my go-to Python IDE. It has auto-code completion, nice charting abilities and even nice tools to convert my notebooks into presentations for execs. What am I missing by not having PyCharm or the other IDEs mentioned here? Thanks

Jupyter is probably much better if you're doing what it's suited for. I work on web application development in Python and Jupyter is not suited to that at all, however my colleagues who work on business intelligence/analytics/data-science/etc love it.

Makes sense. I use it for analytics and data-science projects.

Will check PyCharm out though; this thread's got me curious about what it can do.

Post reply on HN