You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(docs): improve xml docs hover display and version bump
- Remove unnecessary separator when only XML docs are present
- Ignore common XML tags already covered by Dot Rush
- Change section headers from ## to ### for better hierarchy
- Update version to 1.0.3 and add changelog entry
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,13 @@
1
1
# Changelog
2
2
3
+
## [1.0.3] - 2025-07-07
4
+
5
+
### 🔧 Improvements & Bug Fixes
6
+
7
+
### Fixed
8
+
- 🛠️ **Documentation Hover** - Fixed unnecessary separator display in hover tooltips when only XML documentation is present without documentation links.
9
+
- 🛠️ **Documentation Hover** - Now ignoring summary, returns, param, and exception tags from XML docs in hover display because Dot Rush already covered these.
Copy file name to clipboardExpand all lines: docs/ToDo.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@
28
28
-[x]28. For links for official Unity site(not packages), we should specify the Unity version of the project there, eg. "https://docs.unity3d.com/2020.3/Documentation/ScriptReference/Debug.html"
29
29
-[x]29. Add a search bar for Unity Console to filter logs
30
30
-[x]30. The line break in xml docs are not proper in output markdown(they are still in the same line)
31
-
-[]31. Dot Rush just is about to release a new version that shows XML docs, try it out and determine should we remove our xml docs feature?
31
+
-[x]31. Dot Rush just is about to release a new version that shows XML docs, try it out and determine should we remove our xml docs feature?
32
32
-[x]32. Should we add analyzers of Dot Rush to Unity pacakge's detection?
33
33
-[x]33. Debugger, there seems to be too many threads, that's unrelated to the user shown.
34
34
-[x]34.~~Now that we do include analyzers in our package, but it is not working as expected, roslyn from Dot Rush doesn't seem to use it. Should I report an issue?~~
Thrown when one parameter is greater than MaxValue and the other is greater than 0.
111
111
</exception>`;
112
112
constresult=xmlToMarkdown(input);
113
-
// Single exception now uses "## Exceptions" with list format
114
-
assert.ok(result.includes('## Exceptions'));
113
+
// Single exception now uses "### Exceptions" with list format
114
+
assert.ok(result.includes('### Exceptions'));
115
115
assert.ok(result.includes('- **`System.OverflowException`**: Thrown when one parameter is greater than MaxValue'));
116
116
});
117
117
@@ -121,7 +121,7 @@ The <c>Label</c> property represents a label
121
121
for this instance.
122
122
</value>`;
123
123
constresult=xmlToMarkdown(input);
124
-
assert.ok(result.includes('## Value'));
124
+
assert.ok(result.includes('### Value'));
125
125
assert.ok(result.includes('The `Label` property represents a label'));
126
126
});
127
127
@@ -154,7 +154,7 @@ This is the first line.<br/>This is the second line.<br/>This is the third line.
154
154
constresult=xmlToMarkdown(input);
155
155
156
156
// Verify the summary section is created
157
-
assert.ok(result.includes('## Summary'));
157
+
assert.ok(result.includes('### Summary'));
158
158
159
159
// Verify that each <br/> tag produces double newlines for proper markdown line breaks
160
160
assert.ok(result.includes('This is the first line.\n\nThis is the second line.\n\nThis is the third line.'));
@@ -178,16 +178,16 @@ Thrown when one parameter is
178
178
<see cref="Int32.MaxValue">MaxValue</see> and the other is
179
179
greater than 0.
180
180
</exception>`;constresult=xmlToMarkdown(input);
181
-
assert.ok(result.includes('## Summary'));
181
+
assert.ok(result.includes('### Summary'));
182
182
assert.ok(result.includes('Adds two integers and returns the result.'));
183
-
// Returns should be "## Return Value" format
184
-
assert.ok(result.includes('## Return Value'));
183
+
// Returns should be "### Return Value" format
184
+
assert.ok(result.includes('### Return Value'));
185
185
assert.ok(result.includes('The sum of two integers.'));
186
-
// Parameters should be grouped into "## Parameters" section
187
-
assert.ok(result.includes('## Parameters'));
186
+
// Parameters should be grouped into "### Parameters" section
187
+
assert.ok(result.includes('### Parameters'));
188
188
assert.ok(result.includes('- **`left`**: The left operand of the addition.'));assert.ok(result.includes('- **`right`**: The right operand of the addition.'));
189
-
// Single exception now uses "## Exceptions" with list format
190
-
assert.ok(result.includes('## Exceptions'));
189
+
// Single exception now uses "### Exceptions" with list format
190
+
assert.ok(result.includes('### Exceptions'));
191
191
assert.ok(result.includes('- **`System.OverflowException`**: Thrown when one parameter is'));
192
192
assert.ok(result.includes('`Int32.MaxValue`'));
193
193
});
@@ -224,8 +224,8 @@ This is typically a more detailed description of the class or member
0 commit comments