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

Md file link for diagnostic #166

Conversation

ben-zhang-at-salesforce
Copy link
Contributor

Clive finished the md file writeup in this merged pr. here we updated the code to point to the md file when diagnostic is rendered over mouse over.

It looks like below and now it matches what eslint plugin reported problems for vscode now :)
image

const extensionTitle =
context.extension.packageJSON.contributes.configuration.title;

const diagnosticBaseRootUrl = `${repository.url}/blob/v${version}/src/lsp/docs`;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

get the lsp doc md file root url and pass to lsp server.

@ben-zhang-at-salesforce ben-zhang-at-salesforce changed the title Md file link4 diagnostic Md file link 4 diagnostic Dec 17, 2024
@ben-zhang-at-salesforce ben-zhang-at-salesforce changed the title Md file link 4 diagnostic Md file link for diagnostic Dec 17, 2024
Copy link
Contributor

@haifeng-li-at-salesforce haifeng-li-at-salesforce left a comment

Choose a reason for hiding this comment

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

Code is well-organized and polished. Great job!

@ben-zhang-at-salesforce ben-zhang-at-salesforce merged commit 3743909 into salesforce:main Dec 19, 2024
7 checks passed
@ben-zhang-at-salesforce ben-zhang-at-salesforce deleted the mdFileLink4Diagnostic branch December 19, 2024 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants