Problem with XML comments in VBNET

Intellisense does not show the parameter names in blue, as I saw in other xml comments from third-party projects, where Intellisense prints all the information, this is what I see:

enter image description here

What changes do I need to make in my comments to allow intellisense to print parameter comments in blue as "returns"?

''' <summary> ''' Function to pause a thread. ''' </summary> ''' ''' <param name="Process_Name">The name of the process, ex: cmd.exe</param> ''' <param name="Thread_Number">The thread to pause, ex: 0</param> ''' <param name="Recursive"> <value name="True">Pause the thread in all processes recursively</value></param> ''' <returns>True if the process is found; otherwise, False.</returns> Public Shared Function Pause_Thread(ByRef Process_Name As String, _ Optional ByVal Thread_Number As Int32 = 0, _ Optional ByVal Recursive As Boolean = False) As Boolean 
+4
source share
2 answers

enter image description here Try installing additional tools to increase productivity.

From what I see, you are looking for Help Colorized Parameter.

Color parameter help This extension improves consistency with the editor by applying syntax highlighting to the contents of the parameter help window for C # & VB. Please note: syntax highlighting colors can be adjusted using display elements with the prefix "Signature Help" in the "Fonts and Colors" menu.

Try Tools-> Options-> Environment-> Fonts and Colors-> Background Tooltip Help.

+6
source

Your XML comments are properly configured. You will begin to see them when you put the first "(" in your code. You can see all the comments through "View", "Object Browser". It looks like this:

 Public Shared Function Pause_Thread(ByRef Process_Name As String, Optional Thread_Number As Integer = 0, Optional Recursive As Boolean = False) As Boolean Member of VB_NET_TEST.WebForm1 Summary: Function to pause a thread. Parameters: Process_Name: The name of the process, ex: cmd.exe Thread_Number: The thread to pause, ex: 0 Recursive: Pause the thread in all processes recursively Return Values: True if the process is found, otherwise, False. Remarks: 
+2
source

Source: https://habr.com/ru/post/1485147/


All Articles