1. 20
  1.  

  2. 3

    This is a great page. I hope more tips are added over time. I’ve definitely found VS Code to be an incredibly rich and powerful development environment. If writing extensions in javascript isn’t an idea that scares you, it could easily be as or more powerful than emacs.

    1. 3

      Visual studio code is amazing. There are tons of reasons here, but even without them I think the consistent performance in both Windows and Mac says a lot.

      1. 10

        Consistent performance on Windows, Mac, AND LINUX! I’ve been using it for Go Development on arch for a while and it’s extremely good. To the point where I’m thinking of switching from Sublime Text entirely. I was really resistant to trying it (M$) but it’s probably the nicest GUI Editor/semi-IDE-thing that I’ve used.

        1. 4

          Does it have good vim emulation yet? Haven’t tried it as my main editor in a few months now.

          1. 4

            It’s not perfect (my comparison is evil-mode in Emacs which is close to perfect) but it’s good enough. Basic editing/movement is great, but it runs into trouble with things like multiple-cursor support (it tries to implement block-visual mode with multiple cursors and sometimes gets into a…situation).

            1. 5

              heretical statement: i prefer evil-mode in Emacs to Vim.

              1. 2

                Oh, me too, and maybe I should have mentioned I do miss Spacemacs terribly in VS Code. But most people wouldn’t file that under “vim emulation”. :) [Edit: and also it occurs to me that macros run really, really slow, so I switch back to Emacs for complex editing.]

                1. 1

                  Same

            2. 3

              It has “fine” vim emulation, but not good enough to feel natural when I’m pairing with my coworker who uses it.

              1. 2

                It has some okay keystroke emulation, but I miss a lot of the more niche features of vim, like page marks, bufdo, and good macros. I realize it’s all of the stuff that makes vim “vim” to me, and not just modal editing.

          2. 3

            I was curious about VS Code but then read about the privacy policy. It can send your file contents to remote servers. There is a discussion about it here.

            1. 8

              As noted in the very thread you linked, that’s only done on crash, and can trivially be disabled if you wish with a toggle in settings. This isn’t meaningfully different from Firefox and Chrome sending memory dumps when they crash. I can see your argument it should be opt-in, and I think I’d agree, but it’s not nefarious.

              1. 8

                Well, the meaningful difference is that Firefox prompts before sendig crash reports.

                1. 6

                  Yup. What @gecko said. Our InfoSec group has blessed it for internal use provided said feature is disabled, and they’re pretty damn hard core about such things. To me if this is your only blocker you should look again.

                  1. 0

                    Considering MS’s history on that topic, I don’t trust them and wouldn’t install it myself.

                    1. 4

                      Don’t trust. Verify. It’s an open source project. Go read the source code yourself, build it yourself, etc. https://github.com/Microsoft/vscode

                      1. 4
                        git clone https://github.com/Microsoft/vscode.git
                        cd vscode && find . -name '*.ts' | xargs wc -l
                        [...]
                        482114 total
                        

                        Be my guest.

                        Not even counting dependencies here. You can’t realistically verify that kind of software by yourself.

                        Even if you manage to read and carefully inspect this codebase (rogue commits tends to be quite hard to spot, you wont spot it with a simple distracted read), you’ll have to still read the ~100 daily commits every day.

                        My point is: nowadays, ultimately, you’ll always rely on trust to some extent when it comes to your security, even when using open source sotware.

              2. 1

                VS Code is very close to what I want. I just wish it’d somehow stop tempting me to use my mouse. I have a hard time learning keyboard-only interaction with any GUI editor it seems.

                I’m normally on ViM, but tried VS Code for a good month at work. In that time I got RSI symptoms back.

                I like my ViM setup, but it is dog slow. I really appreciated the speed in VS Code and editing in variable width font is awesome.

                1. 3

                  editing in variable width font is awesome.

                  Could you expand on this? I’ve only ever worked with fixed width fonts, what are the benefits of a variable width font for programming?

                  1. 2

                    It’s entirely subjective, and I only did so for a month, but it just felt nice to read. It works well for code styles that don’t align stuff (like variable assignments, or ObjC messaging.)