visual studio plug-in

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi
I'm developing a plug-in for visual studio.
There's a way to obtain the list of the classes defined in the project?
And from this list can I obtain the set of properties implemented by the
classes?

Thanks
 
Yes, you have to use the code model:

There are 2 entry points:

- Project.CodeModel
- ProjectItem.FileCodeModel

You navigate the code elements recursively (.Members property of CodeXXX
objects, not .Children property). Read the docs about the code model.

--

Carlos J. Quintero (Visual Developer - .NET MVP)

FAQs, Knowledge Base, Files, Docs, Articles, Utilities, etc. for .NET
addins:
http://groups.yahoo.com/group/vsnetaddin/ (free join)
 
thanks!

Carlos J. Quintero said:
Yes, you have to use the code model:

There are 2 entry points:

- Project.CodeModel
- ProjectItem.FileCodeModel

You navigate the code elements recursively (.Members property of CodeXXX
objects, not .Children property). Read the docs about the code model.

--

Carlos J. Quintero (Visual Developer - .NET MVP)

FAQs, Knowledge Base, Files, Docs, Articles, Utilities, etc. for .NET
addins:
http://groups.yahoo.com/group/vsnetaddin/ (free join)



<Pallet> escribió en el mensaje news:[email protected]...
 
I also suggest you to have a look at CodeObject
www.CodeObject.com



Miha Markic said:
Hi Pallet,

You might take a look at CodeRush for the excellent plugin framework
(framework or engine is free).
http://www.devexpress.com/?section=/products/NET/Coderush

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

Hi
I'm developing a plug-in for visual studio.
There's a way to obtain the list of the classes defined in the project?
And from this list can I obtain the set of properties implemented by the
classes?

Thanks
 
Hi Jack,

Just a note here. I just browsed through CodeObject features and there is
one huge difference:
CodeRush allows you to built your *own* plugins (acutally most CodeRush
fetaures are built in plugins) with *incredible* ease.
And what is even more beautiful (CodeRush features aside) - the engine is
free (you pay for the plugins if you wish to).

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

Jack Peters said:
I also suggest you to have a look at CodeObject
www.CodeObject.com



Miha Markic said:
Hi Pallet,

You might take a look at CodeRush for the excellent plugin framework
(framework or engine is free).
http://www.devexpress.com/?section=/products/NET/Coderush

--
Miha Markic [MVP C#] - RightHand .NET consulting & development
miha at rthand com
www.rthand.com

Hi
I'm developing a plug-in for visual studio.
There's a way to obtain the list of the classes defined in the project?
And from this list can I obtain the set of properties implemented by the
classes?

Thanks
 
Back
Top