Skip to content

Commit d1bc566

Browse files
Fix lint issue in Javadoc hover whitespace normalization
1 parent 50948cc commit d1bc566

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,8 @@ export function fixJdtLinksInDocumentation(oldDocumentation: MarkdownString): Ma
125125
return `${group1}${uri})`;
126126
});
127127

128-
// Normalize excessive whitespace in large Javadoc content to help
129-
// large hovers render more completely within VS Code's limits.
128+
// Normalize excessive whitespace in large Javadoc content
129+
// so large hover popups render more compactly.
130130
content = content
131131
.replace(/[ \t]{2,}/g, ' ') // Collapse multiple spaces/tabs to a single space
132132
.replace(/\n{3,}/g, '\n\n') // Collapse 3 or more newlines to exactly 2

0 commit comments

Comments
 (0)