Veltthe full name isVisual Embedlinuxtools, it is aVisual GdBsimilar toVisual Studioplug-in to assist with the completionLinuxdevelopment. Using this plugin, you will be able toVisual Studioof theIDEconducted inLinuxthe development of the application (including compilation and debugging) can also beUbootand theLinuxthe kernel compiles and correctly locates the source code according to the error information at compile time. The current version is0.2.0, Supportvs2012/vs2013/vs2015.
: http://download.csdn.net/detail/lights_joy/9248823
Velt discussion QQ Group: 375515651
Veltdoes not contain source code analysis tools, but becauseVeltThe use of the standardvcxprojEngineering, sovsof theIntelliSensecan work properly, all we need to do is configurevsenvironment is available.
when we create aWin32the project,vsWill beVCandWindows SDKcontains a path added to theIntelliSensesearch path, but we are developingLinuxapplication, it is obvious that you should use theGCCunder the set of header files.
to achieve this, we first need to makevsable to access these header files, directly copy the required header files toWindowsunder, for exampleLinuxplatform underGCCthe header files are usually placed in the/usr/includedirectory, copy all files under this directory to theWindowsbelow:
then configure vs , in the tools - options, select Visual embedlinux Tools the configuration:
Add this path in.
When we create a new project, Velt This path is automatically written to the project configuration:
this way, vs of the IntelliSense when doing the source analysis, it will not be used VC header file, instead of using the files in our specified directory:
The hints for this function are from here:
the same is true for other platforms, where they are directly cross-compiler include The directory is copied over and points to it.
Another thing to know is that IntelliSense the path configuration in does not affect the compilation of the code. This path will not be added to the gcc compiler command!
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
IntelliSense path Configuration in Velt