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 Prettier Support #164

Open
timscodebase opened this issue Oct 7, 2023 · 1 comment
Open

VSCode Prettier Support #164

timscodebase opened this issue Oct 7, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@timscodebase
Copy link

timscodebase commented Oct 7, 2023

VSCode Prettier Support

It would be great if there was an easy way to formate .abell files on save with .prettierrc

Describe the solution you'd like

VSCode settings.json

"[javascriptabell]": {
  "editor.formatOnSave": true
}

.prettierrc

{
  "semi": false,
  "singleQuote": true,
  "trailingComma": "all",
  "tabWidth": 2,
  "useTabs": false,
  "bracketSpacing": true
}
@timscodebase timscodebase added the enhancement New feature or request label Oct 7, 2023
@saurabhdaware
Copy link
Member

oh yes this is definitely something we need. Before that we'll have to create a prettier-abell-plugin to make prettier understand how to format abell files. After that we can add prettierrc to our create-abell templates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants