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

Add dprint to devcontainer #6722

Open
AlCalzone opened this issue Apr 4, 2024 · 1 comment
Open

Add dprint to devcontainer #6722

AlCalzone opened this issue Apr 4, 2024 · 1 comment

Comments

@AlCalzone
Copy link
Member

          I tried this on Arm mac and still needs the prettier arm version. There is a [PR](https://github.com/dprint/dprint-plugin-prettier/pull/75) to add it. 

We might want to add dprint install to the devcontainer for use with the vscode extensoin drpint.

Extensions install steps: Install dprint's CLI

I don't think it comes installed. or it's not on the path.
curl -fsSL https://dprint.dev/install.sh | sh

and need to add some lines to the .zshrc file:

export DPRINT_INSTALL="/home/node/.dprint"
export PATH="$DPRINT_INSTALL/bin:$PATH"

Edit: we might be able to add this to vscode settings:
"dprint.path":"./node_modules/dprint/dprint",

Originally posted by @zackbcom in #6656 (comment)

@AlCalzone
Copy link
Member Author

@zackbcom can you confirm whether this is fixed now? I just tried the devcontainer and dprint seems to be available immediately.

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

1 participant