Use Python to build project in Visual Studio
From Vim Tips Wiki
(Redirected from VimTip719)
Tip 719 Previous Next created May 14, 2004 · complexity intermediate · author Jens Berlips · version 6.0
[edit] tip 1
This tip has some similarities with script#864.
If you want to rebuild the entire project in Visual Studio 6++:
function! RebuildAllVC()
python << EOF
import win32com.client
obj = win32com.client.GetActiveObject('MSDev.Application')
obj.RebuildAll()
EOF
endfunction
There are a lot more things you can do, check out: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vcug98/html/_asug_application_object.asp the application in that link is the "obj" in the code.
[edit] tip 2
Using VisVim and the new VIM6.3 *-P* option you can get vim to be your default editor inside VS6.
Example:
"gvim -P Microsoft Visual C++"
Note: If VS6 hangs Vim won't close, as a consequence there will still be an instance in the taskbar. Kill it if you wan't to restart VS6 and use VIM!
