Skip to content

Testing links in Quick Input Box: No underline #174962

Closed
@bamurtaugh

Description

Testing #174700 in a simple test extension.

I can click on the link (which I've named link below), but it isn't underlined:

image

The toast displays the hyperlink in blue, but there is also no underline (though I think that's expected here):

image

This is the piece of code I added:

const result = vscode.window.showInputBox({
		value: 'abcdef',
		valueSelection: [2, 4],
		placeHolder: 'For example: fedcba. But not: 123',
		prompt: 'Please enter a value and [link](https://github.com)',
		validateInput: text => {
			vscode.window.showInformationMessage(`Validating [link](https://github.com): ${text}`);
			return text === '123' ? 'Not 123!' : null;
		}
	});
	vscode.window.showInformationMessage(`Got: ${result}`);

Metadata

Labels

bugIssue identified by VS Code Team member as probable buginsiders-releasedPatch has been released in VS Code Insidersquick-pickQuick-pick widget issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions