|
I gave it a spin but decided I liked Sublime better. Maybe it was because I only found one plugin that let me FTP-sync with the actual code base running on an Ubuntu VM, and I didn't want to be bothered with configuring yet another editor.
But there was also something definitely klunky about it. It was sort of the whole gestalt of the tool. But again, by that time, I was probably used to Sublime's quirks and didn't want to learn new quirks, I mean, how to deal with new quirks, in the editor that is.
Marc
|
|
|
|
|
VS Code definitely has some quirks and takes some time getting used to but I guess it's that way with any editor.
I use Nodepad++ for most of my none programming needs and I'm used to it and have pretty well discovered all the quirks and such. It's kind of like a pair of boots/shoes once you break them in they are comfortable and going to a new pair is a PITA because you have that break in period and you know it's going to hurt.
New version: WinHeist Version 2.2.2 Beta I told my psychiatrist that I was hearing voices in my head. He said you don't have a psychiatrist!
|
|
|
|
|
I'm really interested in what you found klunky about VS Code. I'm on the VS Code team and we are working on removing adoption blockers. If you can spare the time to describe what put you off the product, we'd really appreciate it. Then we can work on it and improve the experience.
Thanks,
Steven
|
|
|
|
|
Steven_Clarke wrote: I'm on the VS Code team and we are working on removing adoption blockers.
Sure -- I'll fire it up again and let you know, if I get sidetracked (by work) ping me again either here or directly to remind me.
Marc
|
|
|
|
|
SlOT:
I have interacted with VS Code and since you (Steven Clarke) are on that team, the perfect opportunity to ask a question I can't seem to find an answer:
Where is the Run command in VS Code? I typed in an exercise in Python 3.51 to learn some more of the language and could not get the program to execute to the output window. What I'm missing? TIA
Free your mind and the rest will follow,
Don't be colorblind, don't be so shallow!
|
|
|
|
|
Hi,
Right out of the box, VS Code doesn't know how to run Python programs. There are two ways to tell it how to do so though.
First, you can install a Python extension. We have some documentation that describes how to do this: Python documentation
[^]
Alternatively, you can set up a task to run the currently opened file. We have documentation on tasks here: Tasks in visual Studio Code[^]
To set up a task, press Ctrl-Shift-B. If you don't have any tasks defined, VS Code will show a message box saying that no task runner has been configured. Click the button at the right hand side of the message box to configure a task runner.
You'll see a drop down offering a list of different task runners. Choose the 'Others' option at the bottom. This will generate a file in the .vscode folder that shows how to configure VS Code to run an external program (e.g., python.exe).
You can modify the example that is generated for you to look like this:
{
"version": "0.1.0",
"command": "python",
"isShellCommand": true,
"args": ["${file}"],
"showOutput": "always"
}
This tells VS Code to run the python command (make sure your environment is set up to find python.exe in your path, otherwise specify the full path to python.exe as the value for the command field). The args attribute specifies that the current open file should be passed as an argument to the python command.
Save any changes you make to this file, open the python file you want to run then press Ctrl-Shift-B. This will run the task you just specified on the currently open file.
If this all works properly you should see the output from your python program in the Output window.
In this example I've given above, the task assumes that the executable it launches won't seek any input from the user on the command line. There is a workaround for this posted here: Running python script in Visual Studio Code; how to get `input ()` to work? - Stack Overflow[^]
I hope this helps.
Thanks,
Steven
|
|
|
|
|
Thanks for the answer. Right now my head hurts with all of what's required for what should be a straightforward command. I will revisit VS Code, but for now, it's Notepad ++ and repl.it online.
Free your mind and the rest will follow,
Don't be colorblind, don't be so shallow!
|
|
|
|
|
Sorry, didn't mean to make your head hurt
Give the extension a try. It is simple to setup and not only does it allow you to run your Python code from inside VS Code it allows you to debug the code too. You can place breakpoints, step through the code, inspect variables etc.
VS Code is a rich code editor that aims to support all sorts of different languages and runtimes. So there is going to be a little bit of configuration required to get it to do exactly what you want with a specific language and runtime. We're always looking for ways to make this easier though.
|
|
|
|
|
Tried it, thought it sucked.
|
|
|
|
|
Yep, using it and loving it. It's great for a lot of things including editing markdown
Eagles may soar, but weasels don't get sucked into jet engines
|
|
|
|
|
I think it fits in quite well along side notepad++ and Full featured VS.
I tend to only use it for small/non-complex projects
Compared to Full VS it does all the basics and I find it quite a bit quicker, also it's less busy and makes it easier to focus. I still use Full VS for large projects since you have more context of the individual projects and more powerful plugins.
Notepad++ still has it's place for random edits of individual files, VS code seems over kill for that.
I've also used atom and quite a few online editors, they seem closer to the Notepad++ end of the spectrum, VS code seems to fit my needs better, being that it has tight DotNet integratiion.
|
|
|
|
|
I replaced notepad++ with it
It has a bunch of great features and the current list of extensions are great. Even though NP++ has more functionality, what made me change was
the design and colours, viewing C++ is extremely pleasing on the eyes
Open folders -> so you have a directory of code files to easily navigate
I've gotten used to the package manager (F1) and I think it's fun and quicker than many tasks I did in NP++
Being a bit of an IDE was fascinating though, I was totally surprised when it could connect to Unity to debug my code
|
|
|
|
|
Using it as a main tool at work and for home project. Tried VS and atom before, but for js/ts projects like VS Code more
What disappoints a little is that lately it started to crash several times a week. But that's not critical. It starts fast and restores last opened files
|
|
|
|
|
I recently switched from Sublime to VSC. The 'killer feature' for me was that it has typings build in. It can read typescript typings for third-party libraries while you can still write Javascript.
A big win-win in my book: the strong type advantages with regards to tooling, without losing the flexibility of loosely typed JS.
(also: build-in Node.js debugger)
That said, for C# in the back-end, it's still VS2015 all the way.
|
|
|
|
|
I use it for programming in Google's Go language. There is no better IDE for Go.
|
|
|
|
|
I use it for writing html5 apps on my mac. I also have been helping get it running on a project that is developing .net applications on windows with linux as the target.
I think it is great - but I don't do any real development on windows anymore.
I use it for more than just html5, it's pretty much replaced my editor(s) all around. I use it for system scripts, etc. I really like it.
Elephant elephant elephant, sunshine sunshine sunshine
|
|
|
|
|
It's like Sublime Text but free. I use Sublime and VS Code alternatively and I have found that Sublime is a bit faster but that VS Code has native Git support.
I still haven't decided which one to keep.
|
|
|
|
|
I've never used Sublime, I use Notepad++ instead but I'm finding, at least for the web stuff I'm doing that VS Code is pretty OK.
Yeah I like the native GIT support also. I tried to learn GIT several time, using several GUIs on several OSs and found it to be tedious and counter intuitive but on VS Code it's drop dead simple.
New version: WinHeist Version 2.2.2 Beta I told my psychiatrist that I was hearing voices in my head. He said you don't have a psychiatrist!
|
|
|
|
|
I'm using it for Python. I was previously using Notepad++, but I'm finding the intellisense and code marking to be so much better than Notepad++, which, in turn, was better than Idle.
|
|
|
|
|
Daryl Shockey wrote: which, in turn, was better than Idle.
ANYTHING is better then Idle. I tried it on the Raspberry Pi and ended up with Geany but think I'll see if VS Code will run on the Pi...wouldn't that be a kick!
New version: WinHeist Version 2.2.2 Beta I told my psychiatrist that I was hearing voices in my head. He said you don't have a psychiatrist!
|
|
|
|
|
Mike Hankey wrote: think I'll see if VS Code will run on the Pi
Looks like Scott Hanselman has already done that[^] - you have to build from source, but that's relatively simple on Linux...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
Stuart thanks for the link, was going to look into that today.
It works great on Ubuntu without doing anything special and was using it yesterday to do some Node.js coding.
New version: WinHeist Version 2.2.2 Beta I told my psychiatrist that I was hearing voices in my head. He said you don't have a psychiatrist!
|
|
|
|
|
it's also a must have for Powershell editing... way better than the ISE and better than other powershell-oriented IDEs out there. also in this week's insiders build (now daily builds) you can now launch powershell as the integrated terminal too
|
|
|
|
|
Pretty productive on Linux. I use it to write Node.js and Python.
But the Vim plugin is like a toy
|
|
|
|
|
I have spent hours today clearing out cr@p, taking it to the tip, jet washing the patio, and so forth.
And the worst bit? I'll need to do it all over again fairly soon!
Why can't it be like development? At least there you know that if you put in the effort to do a proper job, you won't have to do the same thing again, and again, and again, and ....
I ache in places I didn't know I used!
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|