Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Anyone using VS Code?

Anyone using VS Code?

Scheduled Pinned Locked Moved The Lounge
visual-studiocombeta-testingquestionannouncement
34 Posts 22 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Member 11423916

    Notepad++ is only for Windows, so VSCode has the potential to be useful to many more programmers.

    N Offline
    N Offline
    NPowDev
    wrote on last edited by
    #21

    Same opinion here. I like Notepad++, but there is a need for something simimilar on linux and especially for the people from the win-dev-world. Please I know about 'vi', but it's not my 1st choice only tool... please!

    Something about which we often break our head: "In the name of the Compiler, the Stack, and the Bug-Free Code. Amen." (source unknown)

    L 1 Reply Last reply
    0
    • Mike HankeyM Mike Hankey

      VS Code[^] Just found this a little bit ago have downloaded and kicking the wheels! Anyone else using it? Any tips, tricks or complaints?

      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!

      D Offline
      D Offline
      Daryl Shockey
      wrote on last edited by
      #22

      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.

      Mike HankeyM U 2 Replies Last reply
      0
      • C carlospc1970

        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. ;P

        Mike HankeyM Offline
        Mike HankeyM Offline
        Mike Hankey
        wrote on last edited by
        #23

        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!

        1 Reply Last reply
        0
        • D Daryl Shockey

          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.

          Mike HankeyM Offline
          Mike HankeyM Offline
          Mike Hankey
          wrote on last edited by
          #24

          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!

          S 1 Reply Last reply
          0
          • S Steven_Clarke

            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

            M Offline
            M Offline
            Marc Clifton
            wrote on last edited by
            #25

            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

            Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project! Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny

            1 Reply Last reply
            0
            • N NPowDev

              Same opinion here. I like Notepad++, but there is a need for something simimilar on linux and especially for the people from the win-dev-world. Please I know about 'vi', but it's not my 1st choice only tool... please!

              Something about which we often break our head: "In the name of the Compiler, the Stack, and the Bug-Free Code. Amen." (source unknown)

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #26

              Sublime Text is still around for the Mac - shame it never got developed further than it did. TextWrangler (free) is ok(ish) too if you're desperate, but VS Code does a decent enough job too. I tend to use WebStorm on the Mac though.

              I came into this game for the action, the excitement. Go anywhere, travel light, get in, get out, wherever there's trouble, a man alone. Now they got the whole country sectioned off, you can't make a move without a form.

              1 Reply Last reply
              0
              • D Daryl Shockey

                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.

                U Offline
                U Offline
                User 11387807
                wrote on last edited by
                #27

                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

                1 Reply Last reply
                0
                • Mike HankeyM Mike Hankey

                  VS Code[^] Just found this a little bit ago have downloaded and kicking the wheels! Anyone else using it? Any tips, tricks or complaints?

                  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!

                  M Offline
                  M Offline
                  Member 11798183
                  wrote on last edited by
                  #28

                  Pretty productive on Linux. I use it to write Node.js and Python. But the Vim plugin is like a toy :(

                  1 Reply Last reply
                  0
                  • S Steven_Clarke

                    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

                    H Offline
                    H Offline
                    Herbert H Dupree II
                    wrote on last edited by
                    #29

                    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!

                    S 1 Reply Last reply
                    0
                    • H Herbert H Dupree II

                      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!

                      S Offline
                      S Offline
                      Steven_Clarke
                      wrote on last edited by
                      #30

                      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:

                      {
                      // See https://go.microsoft.com/fwlink/?LinkId=733558
                      // for the documentation about the tasks.json format
                      "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[

                      H 1 Reply Last reply
                      0
                      • S Steven_Clarke

                        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:

                        {
                        // See https://go.microsoft.com/fwlink/?LinkId=733558
                        // for the documentation about the tasks.json format
                        "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[

                        H Offline
                        H Offline
                        Herbert H Dupree II
                        wrote on last edited by
                        #31

                        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!

                        S 1 Reply Last reply
                        0
                        • Mike HankeyM Mike Hankey

                          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!

                          S Offline
                          S Offline
                          Stuart Dootson
                          wrote on last edited by
                          #32

                          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

                          Mike HankeyM 1 Reply Last reply
                          0
                          • H Herbert H Dupree II

                            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!

                            S Offline
                            S Offline
                            Steven_Clarke
                            wrote on last edited by
                            #33

                            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.

                            1 Reply Last reply
                            0
                            • S Stuart Dootson

                              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

                              Mike HankeyM Offline
                              Mike HankeyM Offline
                              Mike Hankey
                              wrote on last edited by
                              #34

                              Stuart thanks for the link, was going to look into that today. :thumbsup: 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!

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

                              • Don't have an account? Register

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • World
                              • Users
                              • Groups