[英]Issue about XML summary comments in VBNET
Intellisense沒有顯示我的藍色參數名稱,就像我在第三方項目的其他xml評論中看到的那樣Intellisense打印了所有信息,這就是我所看到的:
我需要做什么修改才能讓intellisense以藍色打印參數注釋作為“返回”?
''' <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
嘗試安裝Productivity Power Tools插件
從我看到你正在尋找彩色參數幫助。
Colorized Parameter幫助此擴展通過將語法突出顯示應用於C#和VB的Parameter Help窗口的內容,提高了與編輯器的一致性。 請注意:可以使用“字體和顏色”菜單中帶有“簽名幫助”前綴的顯示項目自定義突出顯示顏色的語法。
嘗試工具 - >選項 - >環境 - >字體和顏色 - >簽名幫助工具提示背景。
您的XML注釋已正確配置。 當您在代碼中放置第一個“(”)時,您將開始看到它們。您可以通過View;對象瀏覽器查看所有注釋。它看起來像這樣:
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:
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.