Live data from Hacker News

Python in Visual Studio Code

blogs.msdn.microsoft.com

141–150 of 202 posts

Re: Python in Visual Studio Code

#141

Earlier quoted context omitted.

Following up on that - Shooting from the hip, though, if the desire is for funding, I'm guessing Microsoft wouldn't see much strategic value in putting money into a Ruby extension. The Ruby ecosystem has largely congealed around an ASP.NET competitor, some devops tools that don't really work on Windows, and not much else. Python, on the other hand, is widely used in Microsoft shops. Windows shops need data scientists…

Maybe that might change now that they bought github (heavy users of ruby) but I doubt it ;)

Maybe the GitHub people would do it independently?

There's also just a question of which way the winds are blowing. I know the TIOBE index needs to be taken with a dose of salt, but it is interesting to see that Python is entering the top 3 at the same time that Ruby is falling behind Object Pascal.

Re: Python in Visual Studio Code

#142

I love using VSCode and find that I have less need for any other IDE with each new release. This one might finally eliminate one of my remaining needs for pycharm. I can't help but feel sorry for Jetbrains though, who seem to be in a similar position to Opera back in the late 2000s, a small software company up against a behemoth that can afford to subsidize the development of an open-source alternative to their bread…

JetBrains still has some areas where they excel compared to VSCode, specifically Ruby for me right now. Maybe that will change as Solargraph[1] improves?

[1] https://github.com/castwide/solargraph

Re: Python in Visual Studio Code

#143
post #73

What I'm hoping for, for all langauges and runtimes, is some global opt-in to WSL. If I have node or python installed on WSL, I would love it if the Windows version of VSCode could act as if it were the Linux version.

Not a Windows users but curious about WSL - could you run Linux VSCode under WSL?

Yes, you can!

Setting up UI under WSL is a bit of a pain, because there's nothing out of the box - so you need to set up X on Windows, or use VNC or RDP. RDP is the easiest by far right now - just install xrdp in WSL, edit the config so that it uses a different port, and connect to localhost from Windows. The result looks like this:

https://i.imgur.com/DSmLjUM.png

Re: Python in Visual Studio Code

#144
post #24

I've been using VI since the 90's and VIM since... well the 90's. VSCode is the first IDE I've been able to live, and happily. It blows my mind. I have a tonne of tooling around automated python environments, vim plugins (now vscode plugins), tasks - and it's made the whole thing significantly more 'unixy' than it was before. And to think - MSFT! I have git hooks for my homedir's dotfiles that automatically look to s…

What vim plugin(s) do you use? I remember installing one but the emulation did not quite work for jumping into code definitions and back (it'd jump, but going back wouldn't work correctly), so I moved back to pycharm for the time being (vim emulation worked better there for me).

Hi, I'm the guy who coded that part of VSCodeVim, and I specifically made it work for that case. gd and ctrl minus should always work to go to definition and back. It's possible you tried it when it wasn't working as well as it does now.

Re: Python in Visual Studio Code

#145

I love using VSCode and find that I have less need for any other IDE with each new release. This one might finally eliminate one of my remaining needs for pycharm. I can't help but feel sorry for Jetbrains though, who seem to be in a similar position to Opera back in the late 2000s, a small software company up against a behemoth that can afford to subsidize the development of an open-source alternative to their bread…

TeamCity in particular is loved by many enterprise shops, as well as IntelliJ and Resharper. None of those (even IntelliJ) are particularly threatened by VSCode.

Iunno. I'm finding that VSCode is rapidly approaching parity with IntelliJ in terms of features that I actually use, while at the same time being quite noticeably faster and less buggy.

Re: Python in Visual Studio Code

#146
post #24

I've been using VI since the 90's and VIM since... well the 90's. VSCode is the first IDE I've been able to live, and happily. It blows my mind. I have a tonne of tooling around automated python environments, vim plugins (now vscode plugins), tasks - and it's made the whole thing significantly more 'unixy' than it was before. And to think - MSFT! I have git hooks for my homedir's dotfiles that automatically look to s…

How does Sublime Text compare to VScode for you? I am curious about the choice between the two, and why one would be better.

Re: Python in Visual Studio Code

#147
post #24

I've been using VI since the 90's and VIM since... well the 90's. VSCode is the first IDE I've been able to live, and happily. It blows my mind. I have a tonne of tooling around automated python environments, vim plugins (now vscode plugins), tasks - and it's made the whole thing significantly more 'unixy' than it was before. And to think - MSFT! I have git hooks for my homedir's dotfiles that automatically look to s…

Interesting how many people have switched from vi/vim to vscode. Does anyone have stories of making a similar switch from emacs? I currently use intellij for java work (because my employer pays for the license) but for most any other type of editing I use emacs. I'd be interested to see what other emacs users think of vscode.

I am currently switching from emacs to VS Code. I am using an emacs keymap and I must say, it is wonderful. For Python, I can per project easily select the right virtual environment, the "intellisense" like system is working very well, it is pretty fast and you can customize a lot of it.

I am expecting to slowly move out of emacs for my coding in the next few months.

Emacs will be kept because I have a lot of org-mode files to manage my company at a higher level (lot of tables with formulas to calculate several key indicators). On the longer term, they could be moved as Python notebooks with the rendering in VS Code.

So yes, I do think this is the editor which is going to move a lot of old coders out of emacs/vi/vim.

PS: The added bonus is that I easily get support of Go, Typescript, etc. without the need to "debug my editor". Just install the right extension, done.

Re: Python in Visual Studio Code

#148
post #2

Wish MS would also offer an own Ruby extension. Solargraph and the vscode-ruby extensions are pretty good though

Solargraph is pretty good, but RubyMine is still much better at least in my experience. Hopefully Solargraph gets there eventually and I can go back to using VSCode for everything.

Re: Python in Visual Studio Code

#149
post #24

I've been using VI since the 90's and VIM since... well the 90's. VSCode is the first IDE I've been able to live, and happily. It blows my mind. I have a tonne of tooling around automated python environments, vim plugins (now vscode plugins), tasks - and it's made the whole thing significantly more 'unixy' than it was before. And to think - MSFT! I have git hooks for my homedir's dotfiles that automatically look to s…

Interesting how many people have switched from vi/vim to vscode. Does anyone have stories of making a similar switch from emacs? I currently use intellij for java work (because my employer pays for the license) but for most any other type of editing I use emacs. I'd be interested to see what other emacs users think of vscode.

I am still faithful to my Emacs, but Visual Studio Code is this beautiful thing I can't take my eyes off.

As an editor, VSCode is still inferior (but improving at lightspeed). As an out-of-the-box experience, it blows almost everything else out of the water. Against my customized Spacemacs, it's still struggling.

But that renderer is gorgeous!

Re: Python in Visual Studio Code

#150
post #48

Earlier quoted context omitted.

I've used Intellij for the Java, Python, Ruby, PHP, JavaScript, TypeScript. I can say that in no way I found VSCode be able to to take on it, even the JavaScript support and they way they have integration with many JavaScript frameworks and other languages frameworks is something I cannot find in VSCode. Intellij IDEs are really fast, very well integrated and made to get me productive, I couldn't find that in VSCode.…

> Intellij IDEs are really fast I would strongly dispute this. I love the JetBrains IDEs and have been using IntelliJ IDEA for many years, but performance in general is definitely not one of its strong suits (though it has improved significantly over the years). IntelliJ just feels very sluggish to me, and regularly lags and hangs on our (rather large) work codebase. Anything that causes the IDE to start indexing tak…

Are you sure you're not just running out of heap space? That problem appeared really quickly when we migrated our devs to IntelliJ, and slowed it down to a crawl. The default 750MB are just not enough for projects with 5000+ Classes.
Post reply on HN