Use the VSLinux plug-in for detailed development and debugging.
I. Preface
When I was engaged in C ++ development on Windows platform, visual studio was used for development and debugging. It didn't feel much about VS's strength. After being engaged in the development of the Linux platform, I had to configure Vim, install various plug-ins such as YCM, code prompts, function lists, and other functions. Now I can smoothly develop them, however, after using it for a while, I always felt that it was almost the same as. As the saying goes, there will be no harm without comparison. in a twinkling of an eye, we can see VS + VAssistX. We feel that vim is instantly blurred by seconds. It is undeniable that vim is very customizable, but it is helpless.
Source Insight + Samba has also been tried. First, it is difficult to get used to si operations. Second, it has been developed on windows and compiled on linux.
Using visual studio's VSLinux plug-in is a compromise (maybe not the best, or certainly not the best) solution.
Ii. VSLinux Functions
The VSLinux plug-in can automatically copy code to a remote linux directory, customize remote compilation commands for compilation, and customize remote debugging commands.
Iii. Preparations
Install IDE: Visual Studio 2015. VSLinux only supports vs2015 and later versions. Install the VS plug-in VAssistX and install the vim extension as needed.
4. Start Development
Create a linux makefile project.
Compile the configuration.
Debugging.
Perform the preceding configuration and press F5 to debug the configuration.