Vim errorformat for Visual Studio

后端 未结 7 1247
南方客
南方客 2021-01-30 17:18

I want to use Vim\'s quickfix features with the output from Visual Studio\'s devenv build process or msbuild.

I\'ve created a batch file called build.bat which executes

7条回答
  •  旧时难觅i
    2021-01-30 17:37

    As Simon Buchan mentioned you can use this in your project to generate the full paths in the output:

    True
    

    But you can make it more portable by adding /property:GenerateFullPaths=true to you makeprg instead of adding the above to your project files.

    :set makeprg=msbuild\ /nologo\ /v:q\ /property:GenerateFullPaths=true\
    

提交回复
热议问题