473,320 Members | 1,846 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

visual studio plug-in

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
Nov 16 '05 #1
5 1467
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:OW*************@TK2MSFTNGP10.phx.gbl...
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

Nov 16 '05 #2
thanks!

"Carlos J. Quintero [MVP]" <ca*****@NOSPAMsogecable.com> ha scritto nel
messaggio news:OQ**************@tk2msftngp13.phx.gbl...
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:OW*************@TK2MSFTNGP10.phx.gbl...
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


Nov 16 '05 #3
Hi Pallet,

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

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

<Pallet> wrote in message news:OW*************@TK2MSFTNGP10.phx.gbl...
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

Nov 16 '05 #4
I also suggest you to have a look at CodeObject
www.CodeObject.com

"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:es*************@TK2MSFTNGP11.phx.gbl...
Hi Pallet,

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

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

<Pallet> wrote in message news:OW*************@TK2MSFTNGP10.phx.gbl...
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


Nov 16 '05 #5
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" <ja*********@sympatico.ca> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I also suggest you to have a look at CodeObject
www.CodeObject.com

"Miha Markic [MVP C#]" <miha at rthand com> wrote in message
news:es*************@TK2MSFTNGP11.phx.gbl...
Hi Pallet,

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

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

<Pallet> wrote in message news:OW*************@TK2MSFTNGP10.phx.gbl...
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



Nov 16 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Dave Smithz | last post by:
Hi there, Summary: Installing Visual Studio 6 AFTER Visual Studio 2003 trial and Office 2003 - Is it safe? I know this has been asked many times before, but I have seen postings about...
19
by: Alf P. Steinbach | last post by:
// As usual the error message directs one to the report the bug. // // And as usual there is absolutely no way to do so without paying for // the privilege... // // Or using three or four hours...
1
by: Daniel A. Thomas | last post by:
License required Maybe you don't have this but have one of the products that qualifies for the upgrade such as ... Visual Studio .NET 2003 Professional Visual Studio .NET 2003 Professional...
5
by: Slawomir Piotrowski | last post by:
Hello, I'm writing C# code and executing it using InstallUtilLib.dll from custom action during an installation process. It works fine. I've written some code to add an item (component) to...
0
by: tel4 | last post by:
Microsoft Visual Studio Tools for the Microsoft Office System 2003 Microsoft Corp. DATE......: 03-10-2003 TYPE......: Application OS........: WinALL DiSKS.....: xx/02 PROTECTiON : NONE/RETAiL...
6
by: Peter Jones | last post by:
Hi, I'm just about ready to take the plunge. I use Visual Studio SP5 and must keep this so that current systems can be maintained. However I want to load and come up to speed with VS.Net. All...
1
by: micky | last post by:
i've download vs studio team suite but it look like beta 2 CTP versio such as folder structure.. there are msdn, visio, vs ,vss folder and to check version this iso file i opened setup.ini and...
1
by: KevinGPO | last post by:
My application was developed under Visual C++ 6.0, ATL, MFC & PlatformSDK Feb2003 (the last VC6 compatible version). I am wondering if PlatformSDK Feb2003 is compatible with Visual Studio.NET...
0
by: marathoner | last post by:
I am currently migrating my Visual C++ 6.0 applications to Visual Studio 2005. I am getting compiler errors involving the VS2005's platform SDK. When I removed directory references to that SDK,...
7
by: =?Utf-8?B?UHJhamFrdGE=?= | last post by:
We have an application build on Microsoft Visual Studio 2002 .Net 1.0 ie on 32 bit. Can we port the same application for .NET 2.0. Does .NET 2.0 is supported on Microsoft Visual studio 2002 ie for...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.