Centos 7 Installation Visual stdio Code

Source: Internet
Author: User

Recently, Microsoft officially released. NET code and ASP. Tried to use under Linux. NET Code and ASP.

Specifically, how to use. NET code and ASP. Read "How to feel. NET core's new development experience through a few Hello World" written by old A. Here is mainly written in CentOS 7 installation of Visual stdio Code.

Environmental parameters:

Operating system version: centos-7-x86_64-1511

Software version: Visual Stdio code 1.2

Operation Steps:

1. Download vscode_x86_64.rpm

2. Install RPM in root or normal user.

Method 1 is installed directly

Method 2 download to the file directory, right-click Install or use the command (yum install)

3. Verify Installation Success

In the Command window, enter "code--version" to display the installation successfully

or see if visual Stdio code is installed in the application's setup program

4, pay attention to the use of ordinary users open Vscode

No response when clicking Launch with the root user. In the Command window, enter "code--version", output
"It's recommended to start Vscode as a normal user. To run as root, you must specify a alternate user data directory with the--user-data-dir argument. "

In general, it is recommended to use a normal user to open the Vscode, if under root, you need to specify a user's data directory.

How to open the root under the need to re-study, currently under the ordinary user, can already use Vscode

Open in the way:

Mode 1 Enter "code" in the command window

Mode 2 opens in the application's setup program with visual actions

Refer to Microsoft Official address: Https://code.visualstudio.com/docs/setup/linux

Centos 7 Installation Visual stdio Code

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.