473,804 Members | 3,081 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1476
Yes, you have to use the code model:

There are 2 entry points:

- Project.CodeMod el
- ProjectItem.Fil eCodeModel

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******** *****@TK2MSFTNG P10.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*****@NOSPAM sogecable.com> ha scritto nel
messaggio news:OQ******** ******@tk2msftn gp13.phx.gbl...
Yes, you have to use the code model:

There are 2 entry points:

- Project.CodeMod el
- ProjectItem.Fil eCodeModel

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******** *****@TK2MSFTNG P10.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******** *****@TK2MSFTNG P10.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******** *****@TK2MSFTNG P11.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******** *****@TK2MSFTNG P10.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*********@sy mpatico.ca> wrote in message
news:%2******** ********@tk2msf tngp13.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******** *****@TK2MSFTNG P11.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******** *****@TK2MSFTNG P10.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
2053
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 problems so wanted to clear it up for sure. I have Windows XP Pro. Already have installed Office 2003 and Visual Studio .net 2003 trial.
19
3558
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 to find the _current_ reporting page... #include <vector> #include <iostream>
1
2547
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 Special Edition Visual Studio .NET 2003 Enterprise Architect Visual Studio .NET 2003 Enterprise Developer Visual Studio .NET 2002 Professional Edition
5
2470
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 Visual Studio .NET 2003 toolbox and I've got some serious problems with it. Problem looks like this:
0
2291
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 RELEASE NOTES
6
972
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 I've read says I can load VS.Net onto the same machine as VS and they happily coexist. What's the news from the trenches? Is this correct or should I get another server for VS.Net?
1
1433
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 then i found the following text.... it says "Visual Studio&reg; 2005 Beta 2 Setup" as banner name value Ver=8.0
1
2231
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 2003? I am having major problems trying to port/build my application under Visual Studio.NET 2003 using the unmanaged/native C++ compiler. I was told that Visual Studio.NET 2003 had native C++ compiler support. I am aware about the new C++ 1999...
0
6690
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, and started using the Microsoft Platform SDK for XP SP2, the errors disappeared, but I am now getting numerous warnings (macro redefinitions) as follows: StdAfx.cpp WINVER not defined. Defaulting to 0x0502 (Windows Server 2003) C:\Program...
7
2472
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 32 bit application as .NET 2.0 is supported on Microsoft Visual studio 2005. And if yes How .NET 1.0 is to be upgraded to 2.0 on Microsoft visual studio 2002.
0
9711
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9591
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10594
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10087
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7631
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5667
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4306
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3831
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.