Implementation of remote Linux development using vscode

Implementation of remote Linux development using vscode

Say goodbye to the past

Before vscode had remote ssh, most Linux server developers usually used vs remote Linux, or xshell with vim, for server development. Although vs is very powerful and debugging is very clear, the time to open vs and start debugging is relatively long. Although xshell is also very convenient to use vim, there are still some sensory deficiencies. I am tired of opening multiple tabs and switching back and forth, and I am also tired of the same old command line interface, so I chose vscode remote Linux server to learn Linux development.

Looking to the future


  • Quick development, start vscode in one second
  • The upper part is page editing, and the lower part uses the command line, no longer needing to switch tabs back and forth
  • Connect to the Linux server via ssh to debug the Linux environment

How to get

1. Download vscode insider address

2. Download the ssh remote extension

3. Configure ssh username and IP

4. Connect to Linux server

5. Perform development and install the required extensions (taking C++ as an example)

6. Notes

C/C++ Clang Command Adapter If you need to develop c++11 or above, you need to configure setting.json

You're done!

This is the end of this article about the implementation of remote Linux development using vscode. For more relevant vscode remote Linux development content, please search for previous articles on 123WORDPRESS.COM or continue to browse the following related articles. I hope everyone will support 123WORDPRESS.COM in the future!

You may also be interested in:
  • Solve the problem of VScode configuration remote debugging Linux program
  • Use VSCode's Remote-SSH to connect to Linux for remote development
  • Solution to the error problem of Vscode remotely connecting to Ubuntu

<<:  Native js to realize the upload picture control

>>:  In-depth study of vue2.x--Explanation of the h function

Recommend

Detailed process of decompressing and installing mysql5.7.17 zip

1. Download address https://dev.mysql.com/downloa...

Solution to IDEA not being able to connect to MySQL port number occupation

I can log in to MYSQL normally under the command ...

Introduction to the B-Tree Insertion Process

In the previous article https://www.jb51.net/arti...

Why does your height:100% not work?

Why doesn't your height:100% work? This knowl...

Vue3 navigation bar component encapsulation implementation method

Encapsulate a navigation bar component in Vue3, a...

Loading animation implemented with CSS3

Achieve results Implementation Code <h1>123...

HTML+CSS implementation code for rounded rectangle

I was bored and suddenly thought of the implementa...

How to reduce the memory and CPU usage of web pages

<br />Some web pages may not look large but ...

Summary of clipboard.js usage

Table of contents (1) Introduction: (2) The ways ...

Life cycle and hook functions in Vue

Table of contents 1. What is the life cycle 2. Th...

Detailed explanation of nginx configuration file interpretation

The nginx configuration file is mainly divided in...

How to install iso file in Linux system

How to install iso files under Linux system? Inst...

Centos8 builds nfs based on kdc encryption

Table of contents Configuration nfs server (nfs.s...