473,507 Members | 2,389 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

remarks in Intellisense

Hi all, not exactly a asp.net question, but I'm sure you people know this
one. I'm just not sure what to look for in help, because it's sure to be in
there too.

I'm creating a reusable class library and I want to be able to add usage
remarks that would show up in Intellisense when the library was being called
from elsewhere. How does one add these comments? I'm taking about the stuff
that pops in Intellisense that says stuff like "Gets or sets the X
property.".

Thanks!

Matt
Nov 18 '05 #1
6 1732
Matt

Try typing in /// on the line directly above your class, procedure,
property, etc. Visual Studio then fills in the rest you just need to add
some comments

"MattB" <so********@yahoo.com> wrote in message
news:2q************@uni-berlin.de...
Hi all, not exactly a asp.net question, but I'm sure you people know this
one. I'm just not sure what to look for in help, because it's sure to be
in there too.

I'm creating a reusable class library and I want to be able to add usage
remarks that would show up in Intellisense when the library was being
called from elsewhere. How does one add these comments? I'm taking about
the stuff that pops in Intellisense that says stuff like "Gets or sets the
X property.".

Thanks!

Matt

Nov 18 '05 #2
That is not the same thing. (that is just the C# XML auto document feature)

This question has been asked before, and I not sure it is simple to do (if
at all). (Does it involve attributes?)

Greg

"Janaka" <ja****@magicalia.com> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl...
Matt

Try typing in /// on the line directly above your class, procedure,
property, etc. Visual Studio then fills in the rest you just need to add
some comments

"MattB" <so********@yahoo.com> wrote in message
news:2q************@uni-berlin.de...
Hi all, not exactly a asp.net question, but I'm sure you people know this
one. I'm just not sure what to look for in help, because it's sure to be
in there too.

I'm creating a reusable class library and I want to be able to add usage
remarks that would show up in Intellisense when the library was being
called from elsewhere. How does one add these comments? I'm taking about
the stuff that pops in Intellisense that says stuff like "Gets or sets
the X property.".

Thanks!

Matt


Nov 18 '05 #3
Sorry, my bad. I didn't realize that C# /// did the intellisense thing too.

There are some hacks to make this work with VB.

Take a look at this thread:

http://tinyurl.com/5dgao

Greg

"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:uK**************@TK2MSFTNGP11.phx.gbl...
That is not the same thing. (that is just the C# XML auto document
feature)

This question has been asked before, and I not sure it is simple to do (if
at all). (Does it involve attributes?)

Greg

"Janaka" <ja****@magicalia.com> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl...
Matt

Try typing in /// on the line directly above your class, procedure,
property, etc. Visual Studio then fills in the rest you just need to
add some comments

"MattB" <so********@yahoo.com> wrote in message
news:2q************@uni-berlin.de...
Hi all, not exactly a asp.net question, but I'm sure you people know
this one. I'm just not sure what to look for in help, because it's sure
to be in there too.

I'm creating a reusable class library and I want to be able to add usage
remarks that would show up in Intellisense when the library was being
called from elsewhere. How does one add these comments? I'm taking about
the stuff that pops in Intellisense that says stuff like "Gets or sets
the X property.".

Thanks!

Matt



Nov 18 '05 #4
I believe these are just hacks to give VB the same commenting ability as C#.
I don't believe there is currently a way to do this in VB.
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Sorry, my bad. I didn't realize that C# /// did the intellisense thing
too.

There are some hacks to make this work with VB.

Take a look at this thread:

http://tinyurl.com/5dgao

Greg

"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:uK**************@TK2MSFTNGP11.phx.gbl...
That is not the same thing. (that is just the C# XML auto document
feature)

This question has been asked before, and I not sure it is simple to do
(if at all). (Does it involve attributes?)

Greg

"Janaka" <ja****@magicalia.com> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl...
Matt

Try typing in /// on the line directly above your class, procedure,
property, etc. Visual Studio then fills in the rest you just need to
add some comments

"MattB" <so********@yahoo.com> wrote in message
news:2q************@uni-berlin.de...
Hi all, not exactly a asp.net question, but I'm sure you people know
this one. I'm just not sure what to look for in help, because it's sure
to be in there too.

I'm creating a reusable class library and I want to be able to add
usage remarks that would show up in Intellisense when the library was
being called from elsewhere. How does one add these comments? I'm
taking about the stuff that pops in Intellisense that says stuff like
"Gets or sets the X property.".

Thanks!

Matt



Nov 18 '05 #5
No wonder it was hard to find. Thanks for the tips. This seems like a big
oversight in vb. I would have expected it to be in there without having to
resport to using a hack (appears others have had the same thought). Does
anyone know if it's in the next version of vb?

Anyway, THANKS for the info!

Matt

Scott M. wrote:
I believe these are just hacks to give VB the same commenting ability
as C#. I don't believe there is currently a way to do this in VB.
"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:%2***************@TK2MSFTNGP12.phx.gbl...
Sorry, my bad. I didn't realize that C# /// did the intellisense
thing too.

There are some hacks to make this work with VB.

Take a look at this thread:

http://tinyurl.com/5dgao

Greg

"Greg Burns" <greg_burns@DONT_SPAM_ME_hotmail.com> wrote in message
news:uK**************@TK2MSFTNGP11.phx.gbl...
That is not the same thing. (that is just the C# XML auto document
feature)

This question has been asked before, and I not sure it is simple to
do (if at all). (Does it involve attributes?)

Greg

"Janaka" <ja****@magicalia.com> wrote in message
news:OU**************@TK2MSFTNGP09.phx.gbl...
Matt

Try typing in /// on the line directly above your class, procedure,
property, etc. Visual Studio then fills in the rest you just
need to add some comments

"MattB" <so********@yahoo.com> wrote in message
news:2q************@uni-berlin.de...
> Hi all, not exactly a asp.net question, but I'm sure you people
> know this one. I'm just not sure what to look for in help,
> because it's sure to be in there too.
>
> I'm creating a reusable class library and I want to be able to add
> usage remarks that would show up in Intellisense when the library
> was being called from elsewhere. How does one add these comments?
> I'm taking about the stuff that pops in Intellisense that says
> stuff like "Gets or sets the X property.".
>
> Thanks!
>
> Matt


Nov 18 '05 #6
VB XML comments will be added to VB 2005. The intellisense feature? I
would assume so.

Greg

"MattB" <so********@yahoo.com> wrote in message
news:2q************@uni-berlin.de...
Does anyone know if it's in the next version of vb?

Nov 18 '05 #7

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

Similar topics

8
2391
by: andrew.queisser | last post by:
Yesterday I typed in some C++ code that called a function with two ints. Intellisense (auto-complete) helpfully told me that the first formal parameter was called "frontLight" and the second...
6
8070
by: Stefan Kronberg | last post by:
I'm working on a solution containing about 20 projects. Some of the projects contain class definitions that are used in other of the projects. Most of the time intellisense is working ok, i.e. if I...
1
2182
by: Christopher W. Douglas | last post by:
I'm working in VB.Net, using Visual Studio 2003. I have a project, let's call it Foo, that contains common methods, forms, and objects I use in other projects. It compiles as Foo.dll, which I...
1
1885
by: Yaron | last post by:
Hi, I have a custom ListView-type control that I designed a few months ago. The control is completely stable and functional. However, often, the Visual Studio .NET IDE's Intellisense will lose and...
12
4816
by: Peteroid | last post by:
I was creating my application just fine for the last 3 weeks or so. Then, starting this morning, IntelliSense seems to be having problems. It goes into a locked 'Updating IntelliSense..." mode....
1
1451
by: danibecr | last post by:
Hello again all, I'v got a problem that I'm needing help on please. I have a form whos record source is a query. On this form I'v got a drop down error field, a remarks field, a check box and a...
3
3181
by: gil | last post by:
Hi, I'm trying to find the best way to work with compiler warnings. I'd like to remove *all* warnings from the code, and playing around with the warning level, I've noticed that compiling with...
5
3231
by: wal | last post by:
Hello, I'm using __declspec(property) to access get/set methods as properties (like in C# and VB.NET). Now, the problem is that both the property name and the get/set methods show in the...
3
340
by: Travis | last post by:
Hi, I was a user of Visual C# for a while and have gotten used to the Intellisense for that program. I went to try Visual Basic, and the intellisense is so much different. I'll try to make an...
0
7114
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...
1
7034
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7488
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...
0
5623
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4702
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...
0
3191
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1544
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 ...
1
762
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
412
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.