We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50948cc commit d1bc566Copy full SHA for d1bc566
src/extension.ts
@@ -125,8 +125,8 @@ export function fixJdtLinksInDocumentation(oldDocumentation: MarkdownString): Ma
125
return `${group1}${uri})`;
126
});
127
128
- // Normalize excessive whitespace in large Javadoc content to help
129
- // large hovers render more completely within VS Code's limits.
+ // Normalize excessive whitespace in large Javadoc content
+ // so large hover popups render more compactly.
130
content = content
131
.replace(/[ \t]{2,}/g, ' ') // Collapse multiple spaces/tabs to a single space
132
.replace(/\n{3,}/g, '\n\n') // Collapse 3 or more newlines to exactly 2
0 commit comments