|
-
Jul 6th, 2007, 12:02 AM
#1
Thread Starter
Hyperactive Member
[2005] Add Intellisense To Class
What do I add to the code (which is part of a class) below...
Code:
Public Score(0 To 4, 0 To MaxStudentCount) As String
So that when I'm coding in my main program and I type the following...
Code:
Course.Student(i).Score(
VB's intellisense will pop up and suggest something other than....
How do I add the "suggestion"?
I'd like to see something more like
Code:
Score(Quarter as integer, GradeIndex as integer) As String
-
Jul 6th, 2007, 12:17 AM
#2
Re: [2005] Add Intellisense To Class
Just on top of the method you press the Quotes key three times and it will place the xml code on top of the method. Then you just add a summary and the parameter discriptions.
-
Jul 6th, 2007, 12:22 AM
#3
Thread Starter
Hyperactive Member
Re: [2005] Add Intellisense To Class
Um, where? I tried Quotes three times in several places. No luck.
-
Jul 6th, 2007, 12:26 AM
#4
Re: [2005] Add Intellisense To Class
it hase to be right on top of the method and single quotes. Here is an example:
vb Code:
''' <summary>
'''
''' </summary>
''' <param name="keyComb"></param>
''' <remarks></remarks>
Public Sub Reset(ByVal keyComb As Keys)
Me._alt = Keys.None
Me._control = Keys.None
Me._shift = Keys.None
Me._key = Keys.None
Me._format = String.Empty
Me.SetKeys(keyComb)
End Sub
-
Jul 6th, 2007, 12:32 AM
#5
Thread Starter
Hyperactive Member
Re: [2005] Add Intellisense To Class
Ok, I got the XML to show up, but I don't know what to do with it¡!
vb Code:
''' <summary>
''' Quarter as integer, ScoreIndex as integer
''' </summary>
''' <remarks></remarks>
Public Score(0 To 4, 0 To MaxGradeCount) As String
-
Jul 6th, 2007, 12:45 AM
#6
Re: [2005] Add Intellisense To Class
Ah, you can't show discription of a variable, I was whowing for a method.
-
Jul 6th, 2007, 12:48 AM
#7
Re: [2005] Add Intellisense To Class
You can show the arguments int he description if you add them to the description text.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 6th, 2007, 12:51 AM
#8
Thread Starter
Hyperactive Member
Re: [2005] Add Intellisense To Class
How would I do that? Can you post an example from my code (in my 3rd post)?
-
Jul 6th, 2007, 01:18 AM
#9
Re: [2005] Add Intellisense To Class
Was this what you wanted?
VB.NET Code:
''' <summary>
''' This is a summary!
''' </summary>
''' <param name="Animal">Argument1: Animal as Cat. They rule, Meow!</param>
Public Sub Whatever(ByVal Animal As String)
MessageBox.Show("Meow!")
End Sub

VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|