Skip to content

feat(lsp): add additional logging information#10890

Merged
kitsonk merged 1 commit intodenoland:mainfrom
kitsonk:lsp_enhance_debug
Jun 9, 2021
Merged

feat(lsp): add additional logging information#10890
kitsonk merged 1 commit intodenoland:mainfrom
kitsonk:lsp_enhance_debug

Conversation

@kitsonk
Copy link
Contributor

@kitsonk kitsonk commented Jun 8, 2021

We have had a few issues where users have had strange environment configurations that have lead to confusion when using the LSP. This PR adds some additional logging to provide more information in the extension output channel. It adds the path to the executable and the fully resolved import map and config files.

Copy link
Contributor

@lucacasonato lucacasonato left a comment

Choose a reason for hiding this comment

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

LGTM, is it a feat though?

@kitsonk
Copy link
Contributor Author

kitsonk commented Jun 8, 2021

It is a change to production, user facing code. Is there a more correct semantic commit message? https://gist.github.com/joshbuchea/6f47e86d2510bce28f8e7f42ae84c716

@lucacasonato
Copy link
Contributor

Maybe refactor? I never considered debug logs to be a user facing feature, but I guess it makes sense. Anyway not particularly important

@kitsonk
Copy link
Contributor Author

kitsonk commented Jun 9, 2021

Maybe refactor?

Well it isn't refactoring code... it s a change in behaviour. If the change of output of deno version would be a feature, then this is a feature.

@kitsonk kitsonk merged commit 6b82603 into denoland:main Jun 9, 2021
@kitsonk kitsonk deleted the lsp_enhance_debug branch June 9, 2021 00:00
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.

2 participants