Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use new completion label for imported modules #109842

Merged
merged 1 commit into from
Nov 13, 2020
Merged

Use new completion label for imported modules #109842

merged 1 commit into from
Nov 13, 2020

Conversation

jrieken
Copy link
Member

@jrieken jrieken commented Nov 2, 2020

This PR fixes #98228

@jrieken jrieken requested a review from mjbvz November 2, 2020 12:23
@jrieken jrieken self-assigned this Nov 2, 2020
@jrieken jrieken added this to the November 2020 milestone Nov 2, 2020

// Render "fancy" when source is a workspace path
const qualifierCandidate = vscode.workspace.asRelativePath(tsEntry.source);
if (qualifierCandidate !== tsEntry.source) {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the safe way and prevents ThisProperty/-path

Copy link
Collaborator

@mjbvz mjbvz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's try this out in insiders

@jrieken jrieken merged commit 8f82b02 into master Nov 13, 2020
@jrieken jrieken deleted the joh/98228 branch November 13, 2020 07:39
@github-actions github-actions bot locked and limited conversation to collaborators Dec 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improve TS auto import label
2 participants