Wikia

Vim Tips Wiki

Changes: Use Python to build project in Visual Studio

Edit

Back to page

(Adding categories)
(adjust previous/next navigation + minor manual clean)
 
Line 3: Line 3:
 
|id=719
 
|id=719
 
|previous=718
 
|previous=718
|next=724
+
|next=725
|created=May 14, 2004
+
|created=2004
 
|complexity=intermediate
 
|complexity=intermediate
 
|author=Jens Berlips
 
|author=Jens Berlips
 
|version=6.0
 
|version=6.0
 
|rating=1/1
 
|rating=1/1
|category1=Windows
+
|category1=Integration
|category2=
+
|category2=Windows
 
}}
 
}}
 
 
''See also [[Integrate gvim with Visual Studio]].''
 
''See also [[Integrate gvim with Visual Studio]].''
   
Line 18: Line 17:
   
 
If you want to rebuild the entire project in Visual Studio 6++:
 
If you want to rebuild the entire project in Visual Studio 6++:
 
 
<pre>
 
<pre>
 
function! RebuildAllVC()
 
function! RebuildAllVC()
Line 29: Line 27:
 
</pre>
 
</pre>
   
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.
+
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 MSDN]; the application in that link is the "obj" in the code.
   
 
==Comments==
 
==Comments==
[[Category:Integration]]
 

Latest revision as of 05:25, August 11, 2011

Tip 719 Printable Monobook Previous Next

created 2004 · complexity intermediate · author Jens Berlips · version 6.0


See also Integrate gvim with Visual Studio.

This tip's functionality is also provided by visual_studio.vim: 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 MSDN; the application in that link is the "obj" in the code.

CommentsEdit

Around Wikia's network

Random Wiki