Live data from Hacker News

Python in Visual Studio Code

blogs.msdn.microsoft.com

131–140 of 202 posts

Re: Python in Visual Studio Code

#131
post #72

Earlier quoted context omitted.

I could never get used to NERDTree for navigating through my project. What plugin do you use for project navigation?

not op, but i use ctrlp.vim for everything. feels a lot better than most things.

Yeah, exactly. I use NERDTree for discovering new projects, but other than that, I use a fuzzy matcher for files and buffers. I used ctrlp for years, but recently switched to fzf because it's just faster.

Re: Python in Visual Studio Code

#132
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?

It's not really supported, but you can run GUI programs with some amount of success by setting up X forwarding. Some programs work better than others, but I probably wouldn't want to run my code editor in it.

Re: Python in Visual Studio Code

#133
post #60
post #13

Earlier quoted context omitted.

> can benefit one a lot. What are those benefits? I tried to switch from vim to VSCode, and it just felt like it confined me. To be fair, I don't "run vim", per say, I run a shell with tmux inside, split horizontally in two, with vim on top, and two shells (a vertical split) underneath. The left shell on the bottom being used for miscellaneous things, and the right one running some kind of live code checking (with vi…

> it felt like it wanted me to do things "its way", instead of letting me decide what I have found out works through years of experimentation. Arguably that's not "your way" either but "vim's way", which you've adopted over those years of experimentation by force. Only now that there are alternative options which are equally as powerful is it apparent that there are other ways of doing those things.

I'd rather say it's the unix way. Check out this[1] screenshot. tmux, and inside is vim, git, and cargo visible. My work environment is based on simple primitives that are all able to be composed and set up to ones preferences.

[1]: https://imgur.com/a/A9b3izE

Re: Python in Visual Studio Code

#134
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…

Same here ! Long time vim user, I switched to vscode 2 years ago an early adopter ! I absolutly love it! It still blows my mind that it's a JS app running in a browser !

Re: Python in Visual Studio Code

#135
post #107
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 Not on my Core Duo without turning lots of plugins off. Eclipse and VS 2017 still manage to outperform it, without disabling anything. And that continuous indexing that we cannot disable. :(

> And that continuous indexing that we cannot disable. :(

You can turn off the continuous indexing by "File > Power Save Mode"

Re: Python in Visual Studio Code

#136

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.

No, but Visual Studio (not Code) is rapidly integrating R# features into VS. Many people are disabling R# because it slows down VS so badly and Microsoft has been closing the gap (see recent 15.8 release with EditorConfig features).

Re: Python in Visual Studio Code

#138
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.

Re: Python in Visual Studio Code

#139
post #125
post #105

Earlier quoted context omitted.

Back in the 90's Borland seemed to have no match for developer tools, then their management went astray. And to be honest I never understood the complaint about lack of quality of their documentation vs what Microsoft, Zortech, Watcom, Nantucket and others used to have on those days. Currently JetBrains is segmenting their products, for example native code languages are only supported in Clion/AppCode, even if you bu…

then their management went astray. That, and Microsoft actively worked to kill them. I don't think JetBrains position is nearly as precarious.

HN loves to hate Microsoft, but they haven't anything to do with Imprise and CodeGear, nor with the internal management issues.

Yes, Anders and a few others eventually moved into Microsoft, but that was a side effect of how bad things were at Borland. Anders refused the offer multiple times from previous team mates that went to Microsoft before he did, until he though that was time to finally leave Borland.

Check this interview.

https://behindthetech.libsynpro.com/001-anders-hejlsberg-a-c...

Re: Python in Visual Studio Code

#140
post #118

I'm using VSCode for developing in Elixir and (because I had the license anyway I guess) my Python code in PyCharm. But perhaps I should re-evaluate VSCode for Python as well as it works fantastic (including quite advanced code warnings and errors) for Elixir.

Have you tried the elixir plugin for pycharm?
Post reply on HN