sponsor Vim development Vim logo Vim Book Ad

IDL/ATL Helper : Create/modify (win32) idl files and ATL projects

 script karma  Rating 8/4, Downloaded by 2990  Comments, bugs, improvements  Vim wiki

created by
Michael Geddes
 
script type
ftplugin
 
description
NB: This is designed for Microsoft idl files.  Suggestions for extending it are welcome.

* Create idl files - adds guids (using guidgen)
   - Add interfaces,enums (with guids)
   - Coclass wizard to create cpp files for ATL  (some support for comet)
* Easy Method and property creation
   change  
        long MyFunc( string arg1, bool *arg2)
  to
        HRESULT MyFunc( [in] BSTR arg1, [in,out] VARIANT_BOOL *arg2, long *ret);
* Convert IDL functions to their c++ equivalents.
    - Change helpstring() to comments

* Modify guids quickly!
* add a unique id()  to methods and properties.

 
install details
Recommend using buffermenu vimscript #246 for menus
Add as a filetype plugin for both cpp and idl files.
(Source it from after/ftplugin/cpp.vim and after/ftplugin/idl.vim)
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
idl.vim 1.5 2003-02-18 6.0 Michael Geddes Remove dependence on external function GetComment (woops)
Fix up some of the ATL functionality (I haven't used them for yonks)
Add maps for modify Guid, adding library definitions and addling coclasses
Remove absolute dependence on SourceSafe script.
idl.vim 1.4 2003-02-18 6.0 Michael Geddes Fixed default MSDEV path.
Cleaned up handling of functions
Cleaned up handling of id() for 3 part properties.
idl.vim 1.3 2003-02-02 6.0 Michael Geddes Fixed support for adding [in] [in,out] to parameters (broken in 1.1 & 1.2)
idl.vim 1.2 2003-02-02 6.0 Michael Geddes Fixed up adding of id() attributes.
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github