abell icon indicating copy to clipboard operation
abell copied to clipboard

VSCode Prettier Support

Open timscodebase opened this issue 1 year ago • 1 comments

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 avatar Oct 07 '23 03:10 timscodebase

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

saurabhdaware avatar Oct 13 '23 08:10 saurabhdaware