Home > Development Tools > VSCode > How to use vscode on ubuntu

How to use vscode on ubuntu

angryTom
Release: 2019-11-07 14:21:01
Original
8574 people have browsed it

How to use vscode on ubuntu

How to use vscode in ubuntu

VS Code is a lightweight editor with the following advantages:

Cross-platform, supports lightweight support for multiple languages ​​​​on windows, macos, and linux, such as C, C#, JAVA, PYTHON, PHP, etc.

VS Code installation

1. Go to the official website to download the installation package. Download address: https://code.visualstudio.com/Download

According to Need to choose download. What I downloaded is the .deb file of the ubuntu system.

deb is the installation format of debian linus. The most basic installation command is:

dpkg -i file.deb
Copy after login

2. So go to the directory where the .deb file is located and execute the above statement.

3. After the installation is complete, enter the code on the command line to call the software.

The following is the interface that opens for the first time:

How to use vscode on ubuntu

4. Install the development language support tools you need.

I use it to compile python. Find Tools and languages ​​as shown below and click

How to use vscode on ubuntu

. The plug-ins for each tool will appear on the left as follows:

How to use vscode on ubuntu

Just choose what you need and install it. After installation, you can support python development.

VS Code basically uses

to create a new file and name it test.py.

Test code:

import numpy as np
a=np.ones(5)print a
print ("hello")
Copy after login

The default shortcut key for running is F5, and there may be differences. Try it yourself~

The results are as follows:

How to use vscode on ubuntu

This completes the installation and basic usage.

Related recommendations: "vscode usage tutorial"

The above is the detailed content of How to use vscode on ubuntu. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template