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

VSCode extension cannot find dprint on PATH (it is there) #28

Open
jasonkuhrt opened this issue Mar 4, 2022 · 1 comment
Open

VSCode extension cannot find dprint on PATH (it is there) #28

jasonkuhrt opened this issue Mar 4, 2022 · 1 comment

Comments

@jasonkuhrt
Copy link

CleanShot 2022-03-04 at 16 20 28@2x

Not sure what's wrong. The messages says to ensure that dprint is globally installed, but it is already.

@dsherret
Copy link
Member

dsherret commented Mar 4, 2022

This is a common problem we've had in deno. Basically the environment of vscode is most likely different than the shell in the terminal window.

You can get around it by manually specifying a path in your user vscode settings:

"dprint.path": "/home/debian/.linuxbrew/bin/dprint"

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

No branches or pull requests

2 participants