VS Code is a code editor. It has IntelliSense (not text-matched autocomplete, IntelliSense), debugging support, git integration, parameter hints, go to definition, code peek, etc. (http://code.visualstudio.com/docs/editor/editingevolved). The goal is to give you code editing features with the speed and simplicity of a text editor.
They're both free and lightweight, so I use them both pretty much daily.
I find Notepad++ is great for handling really large files and changing UTF encoding or line endings. VS is good for pretty print formatting code/XML to be more readable, among many other non-text things such as debugging.
If you need to do those things often, there are specialized tools, including in the command line, and for batch processing.
No need to do it in an editor.
In OS X and Linux (and Windows with Cygwin etc) there are several command line programs such as unix2dos (line ending conversion), iconv (encoding conversions) etc for doing just that, so that you don't need to do it in an editor and can even automate the work.
That said, I use too many editors for my own good. (I'm active in both main churches.) Neither Notepad++ nor TextMate are competitive with VS Code, Emacs, or Vim, IMO, and I use all five regularly.
Also, do Windows editors have that Alt+drag rectangular text selection feature that most/some OS X apps have?
On the contrary we have mostly consistent ctrl/shift + arrow behaviour over the last 15 or more years(I don't know before that). :-)
Are you saying Windows has consistent Control/Shift + arrow behavior?
OS X is pretty consistent about this too, though Control+Arrow moves between Desktop Spaces, not related to text, but you can modify a lot of system/app shortcuts from Preferences -> Keyboard -> Shortcuts.
Mac using colleagues explained that it was because the applications where written using different toolkits.
Problem is: until at least 2012 not even Apple was consistent about it.
Not sure if other editors do this too.
It may be that the customisation is a bit less polished (eg, no way to quickly set themes) and the user community is less developed. But it really does everything and much better than the others IMHO.
[1] - http://www.pspad.com/en/
edit: words
And if you can believe it, Adobe actually produces a decent code editor: Brackets.
Wikipedia: "Visual Studio Code is an open source source code editor"
For the 1% of devs working on system level stuff we provide VMs or separate physical servers that aren't joined to the corporate domain and don't have sensitive information on them.
But honestly, giving a developer non-admin privileges of their own (as in their work environment) computer is like giving a carpenter a rubber hammer to hammer nails. I find it insulting.
Consider the irony of that, when one of the approved pieces of software is a compiler. We can make our own programs, hello!?
Really? This question from a security engineer on Hacker News? I can tell you've never developed on Windows because (as pointed out) Visual Studio needs root level permissions to operate. The level of access a user needs to run my program has nothing to do with the level of access I need to build the program. They are completely disjoint.
I can't even imagine writing a kernel hardware driver in a corporate setup if they at subjecting development environments to strict lockdown.
I don't recall needing it for debugging though, even when attaching to a running process (was your process started as a different user?)
Thing is, why do developers create software that needs administrative access to the os? I wish that I could simply download a zip of the software, extract it and run.
And already this wouldn't work: most software is distributed only through an installer. Heck, even PortableApps website distribute their portable products using an installer!
This applies to any OS being used.
If you are an external, might additionally need to have an employee sitting with you in case you are trying to use something business critical.
Why? Tell me, if you were a system's administrator in charge of 10.000+, would you risk it? That's everything that's bad in corporate culture, but as you get big, it happens.
Atom has Sumblime-Text-style column selection using (on Win) CTRL-ALT; it works very well and feels familiar for people coming from Sublime Text (which has been very popular for years now).
Actually, column selection is one of the things where I prefer Atom to VS Code (I love both editors for different reasons).
But maybe you needed some particular style of column selection?
My last attempt at this was to install kdiff on a corporate machine
I used Notepad++ for a few years before Sublime, I eventually switched because of the lack of Notepad++ support on Linux. I didn't want to have to remember the commands/shortcuts for two editors (and I avoid using Vim if I can).
I'm not really sure how a half-IDE/half-editor intersects with corporate concerns, to be honest.
What do you mean by python mode? Just syntax highlighting or something more advanced like an integrated REPL?
There's a few other nice-to-haves, but those are the big ones.
FWIW since you mention Notepad++, Zeus is another Windows based programmer's editor with those three features.
Sounds like an undeserving environment for a developer. Why not vote with your feet?
To vote with my feet I'd have to accept an income downgrade of about 30%, higher risk of unemployment, and even then (heck, I'm looking for something like this right now) it's hard to find.
It's a tradeoff, for sure.
But also most companies are waking up to the notion that trusted network models are not effective. It just takes time to change.
1) Making it so that employees can't take vacation at times that are particularly bad for a project because they're 'entitled' to it. This was already frowned upon (we always did get to use our vacation eventually, so it wasn't so bad), but now it's in writing -- which is good, rules should be written.
and, more importantly to the megacorp: 2) Eliminating owed vacation from their books & marginally reducing cost. Now if somebody quits or is canned, they're not owed a payout. I'm guessing the average employee will probably also take a couple of days less than they did under the old system, yielding a further savings.
https://groups.google.com/forum/#!topic/msysgit/B31LNftR4BI
https://github.com/abbr/NodeSSPI/issues/10
https://github.com/abbr/NodeSSPI/issues/9
(Note that I've since found out it's better to support SSPI and NEGOTIATE)
That's before we even get started with SSL interception -npm/node and possibly Ruby's gem don't use the system cert list.
The answer is not to vote with my feet (because there are lots of reasons to stay) but work to make things better for developers in more restricted environments. Geez, wait til you startup kids go work for the Government one day ;)
>Why not just set up atom to use your existing corporate proxy?
"Many of these text editors support proxy servers, but none of them that I have tried support NTLM for authentication and if your corporate proxy is using NTLM they simply cannot connect to it. Or lets say not directly! Actually the only solution I have found is to use a software called CNTLM that can act as a proxy server itself and behind the scene it can connect to another proxy server that is using NTLM." [1]
As to what needed a compiler, that part I'm not sure about. Aren't Atom extensions generally in javascript? Could it have been the CNTLM installer that wanted a compiler?
[1] https://devinthefastlane.wordpress.com/2015/12/24/how-to-ins...
In my previous job, the company runs a MITM proxy, it broke SSL checks for package managers. You ended up having to disable SSL checks and load up company-issued certs.
I asked whether we can find a solution to this issue on the company forum, as there are other developers and data analyst whose life can be made easier if this just works, the response I get was: "just download them manually", I kid you not.
The first difficult thing is to discover that I have to install the sublime-style-column-selection package. So it failed and didn't researched more.
It's not just me -- we had a trainer giving a class, & this guy lived and breathed Atom and he couldn't install an updated version of an existing package from our network either. His solution was to tether his phone.
I'll probably have a pretty easy time getting the MSFT Visual Studio Code approved for machine installation for devs on my team, even though we're an Eclipse/Java shop. I've been trying to get everyone normalized on a JavaScript editor, since the tools we have in Eclipse are severely lacking.
Sure, you all have root password in your computer. Unfortunately, I belong to a lower race: the corporate developer. I work in a Windows 7 machine, don't have root password and there's a big wall called proxy around me.
I didn't know about VSCode before this HN post, but I was trying to use a new editor instead of Notepad++. In my 5 minutes comparison match between Atom and VSCode, Atom was knocked out in the first minute. To quickly test a new general code editor I just want 3 "simple" things: column selection, regexp search and replace, and a python mode.
Atom: got the regex, must install a column mode extension, need to install a ntlm proxy authentication downloaded from (argh!) Sourceforge, configured it after some google searches, failed to install the extension because it needs a compiler. Ops, just spent 30 min for my 5 min test. Can't spend more time playing with a code editor, must go back to work.
VSCode: Download the portable version https://code.visualstudio.com/docs?dv=winzip and unpack it. Just works.
You've got a new fan VSCode!