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

How to use type enhancement without typingscript

Preface Due to the weak typing of JS, loose writi...

Install mysql offline using rpm under centos 6.4

Use the rpm installation package to install mysql...

How to set npm to load packages from multiple package sources at the same time

Table of contents 1. Build local storage 2. Creat...

Detailed explanation of Linux DMA interface knowledge points

1. Two types of DMA mapping 1.1. Consistent DMA m...

HTML embedded in WMP compatible with Chrome and IE detailed introduction

In fact, there are many corresponding writing met...

How to prevent Flash from covering HTML div elements

Today when I was writing a flash advertising code,...

Use of MySQL SHOW STATUS statement

To do MySQL performance adjustment and service st...

Vue implements Tab tab switching

This article example shares the specific code of ...

Ubuntu basic settings: installation and use of openssh-server

Record the installation and use of openssh-server...

Detailed explanation of Nginx timeout configuration

I recently used nginx in a project, and used Java...

Vue+echarts realizes progress bar histogram

This article shares the specific code of vue+echa...

Control the light switch with js

Use js to control the light switch for your refer...

How to use the dig/nslookup command to view DNS resolution steps

dig - DNS lookup utility When a domain name acces...

Vue implements the countdown component for second kills

This article shares the specific code of Vue to i...