Operation and debugging of Visual Studio code

Source: Internet
Author: User

Microsoft has a new code editor, called Visual Studio Code,vs code can only edit codes, no debugging and other commands, using the compiler, you will find that VS Code a little bit.

VS code opens as shown in the figure:


There are generally two types of debugging methods:

The first: You can directly edit the code you want to enter, and then click "File" for "save". You can see the following image in your saved place, which is a plain text that is opened directly (as in a browser) to see the code statement that you compiled. You can see three words in plain text from the lower-right corner of the image above. Then to this folder to modify the extension, such as HTML and JS, generally generated HTML, the extension is HTML, you can see this file automatically become a Web page file, opened with a browser can see the code is no longer the previous, but the result of running. Modify the statement in VS Code to save, and then refresh the page to come up with new results.



Second: Click on the bottom right corner of the plain text, the top will appear the language lets you choose, choose to compile your code, and then save. Then the browser opens the file you saved, and the result is running. Modify the code, save the page after the refresh, the result of the changes.



The beta version of VS code is not complete, which is a big challenge for people who now rely on code completion, so it's important to remember how the code is spelled when you write your code. However, subsequent versions should have code completion


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.