(The default installation path under Windows:c:\users\< Current user >\appdata\local\code\app-0.1.0)
Official website: https://code.visualstudio.com
Microsoft's first cross-platform editor, Visual Studio Code, was officially launched today in San Francisco. After the tool was launched, a lot of discussion was raised. This is the trial experience summarized at @ Alex Ma 2333:
"Bole Online Note:" The Microsoft Build Developer Conference officially began today in San Francisco, Microsoft launched its first cross-platform editor Visual Studio Code. After the tool was launched, a lot of discussion was raised.
- Official Document Introduction: Web Links
- Download Link: Web link (free)
The following is the knowledge of the Netizen Alex Ma "How to evaluate Visual Studio Code?" "To share the reply, Bole online has been asked to reprint permission. If reproduced again, please consult your own permission.
I did not see the scene of the conference, I was sleeping suddenly woke up directly to see the micro-BO brush screen information, jump down from bed, download trial, and then risk sudden death to write the answer. (Get up in the morning and fix the answers and revise some details)
Let's start with a general introduction to visual Studio code. First of all, this visual Studio code (hereinafter referred to as Vscode) is an editor with a GUI, which can only complete simple code editing functions, not an integrated development environment (IDE). The development tools such as visual Studio and Webstorm are IDE-powerful, and these two are different concepts.
Some of the answers in the discussion configuration file are in JSON format, which is already standard for the sublime, Atom editor. In addition, the first version has no related features for web cloud development support. It's just an editor, and it's nothing to do with the back-end cloud service that connects Microsoft. Of course, future versions may be added to the direct connection to the cloud for development.
Some of the most common GUI editor products on the market are: Sublime, notepad++, Atom, H5 Builder, brackets, and so on, including Vim, Emacs, etc. under the terminal, all of which are the vscode of the competition. I personally more commonly used sublime,atom less, so can only compare the sublime.
The following is a brief discussion of the unique location of the editor from a recent trial, for reference only.
1. Appearance:
A typical VS-style UI that supports light and dark two kinds of theme switches. The next buttons are new, search, Git, and Debug. However, the layout of the function is exactly like atom.
2. Performance:
MacBook air on nearly 3 million lines of code files, open need 5, 6 seconds, browse no lag, no crashes, continue to coding also not lag, go to line also does not lag, paste code will lag, the problem is not big. Sublime3 's latest version even open this file, it will take nearly 2 minutes, no comparison.
3. User Experience Details
I'll say this at 1.1.
(1) You can directly click on the GUI button or the right button to create a new file, folder, such operations. (Previous sublime This aspect is relatively poor)
(2) Directly separate tab and Close tab
The left button can split the window directly. It's much more convenient than sublime. The X on the right can close the label directly.
Then the left side can also see a large blue button, you can directly open Folder, but also relatively cool. This is also a direct hint of the folder as the project, or many novice do not know how to open files, open folder or something.
(3) No Plug-in code diff
A very powerful feature that currently finds two ways to start the diff feature.
The first is on the left, right-click File Select to compare, and then right-click a file compare with ' xx ', you can appear diff. The second is in git mode, click Switch to changes file in the upper right corner to start diff.
Then click on the upper left corner ... button, it appears
Then click Switch to Inline View, and you can go to a tab diff.
(4) Code completion support angular tag, support function description prompt
Then a simple test of the HTML and JS code completion (C # Try to look like there is no completion, specific again)
The completion of the HTML is good, but also support the angular label completion.
JS code complement is too handsome, directly look at the picture bar, each function property has a description. Support Node completion.
(5) Auto Prompt overlay profile & Hover Tips
It is also common for this editor to change its own configuration file. Currently, independent configuration of different languages is not supported, it is integrated in a configuration file, but supports different configuration files for different projects and supports shortcut key configuration.
There are two nice points to configure:
- 1. Default Settings and user Settings are automatically opened, prompting you to modify your profile on the right. This is very friendly and convenient for beginners.
- 2. In addition, the mouse is placed in the configuration file (JSON format) on the key, will automatically hover the hint.
(6) Syntax error hints & formatting codes & no Plug-in code debug
Built-in syntax error hints, very convenient.
Right-click Code area to support automatic formatting code, very good.
The editor also has native debug functionality.
For now, the configuration file is primarily a front-end development configuration, and debug supports node and mono (. Net).
Turn on the debug function, must be Mono3.0 installed, I light debugging node also to install, not clear why.
http://www.mono-project.com/download/
Click the Debug button on the left to automatically generate the Debug configuration file in the directory
Modify it as you want, then select the configuration to debug on the left and then run.
(7) Support for simple multi-line selection
Right-click on the word change all occurrences, then you can select multiple lines.
Now the only problem is not to support the most concern of the plug-in, but this is just the beginning, just the first version, plug-in for Microsoft should be just minutes. And the first version of the support plug-in meaning is not very big, because the developers also do not know that Microsoft to do this thing, the first version of the release and no plug-ins. If I were Microsoft, the first version is not put, follow-up version hurriedly add in good, as long as the user more, is not a thing. and the lower right corner directly has a smiley face can be used to feedback information, so we have what to feedback, direct point that button.
In conclusion, I have finished some attractive feature and put on my own preliminary evaluation of it, an expectation.
- First of all, the free open is certainly very good news, Sublime after all is charged, Sublime 3 even unlimited free trial is not.
- Second, the plug-in, language independent configuration to quickly add to the agenda, make out, this is the cannon. However, at Microsoft's level, this should not be a problem at all, and the official documents have already said, this is on the agenda thing.
- Second, the details of the user experience, Microsoft is certainly the end of the explosion sublime, see above.
- Finally, the front-end development, Node, C # is more friendly. Before the development of the front-end, especially the Mac and Linux developers, should be more inclined to this, it is estimated that many will use the common editor from Sublime to this. C # developers should still use a lot of developers on windows, and for them, being a quick editor is good, and it's much easier to open than vs itself.
Other language directions, if previously used sublime, may be more transferred to this. If this editor Microsoft really attaches importance to the development, promotion, support plug-in, language-independent configuration, should like to use sublime to develop Python, Ruby, go and so on, the batch of developers will switch to Vscode.
If you are more eager, the above words are not bothered to look at, then I concentrate on the main summary of three features:
- Free
- User experience details good, IDE version of the intelligent features;
- Smooth, no card at all. (Atom estimates cry, do not know why Microsoft has changed its own no card)
The launch of this vscode for Microsoft is a sign that they are going to start sweeping, first let you use this editor to say. Of course, for developers, regardless of the likes and dislikes, anyway, do not spend more than a choice, very good.
PS: In terms of atom, it's true that I haven't used it yet. But Microsoft Vscode seems to be the atom shell casing shell, should be self-changed, do not know how to change so fast, specific circumstances dare not to jump to conclusions. But anyway, you may as well change the name of the binary file.
Transferred from: http://blog.jobbole.com/86576/
Visual Studio Code