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

Support formatting (prettier?) #209

Closed
nichochar opened this issue Aug 24, 2024 · 0 comments · Fixed by #231
Closed

Support formatting (prettier?) #209

nichochar opened this issue Aug 24, 2024 · 0 comments · Fixed by #231

Comments

@nichochar
Copy link
Contributor

Add Prettier Support to TypeScript Notebook

Objective

Integrate Prettier (or alternative, maybe biome?) for code formatting in our TypeScript notebook app.

Requirements

  1. Implement Prettier formatting for TypeScript cells
  2. Add auto-format option in app settings
  3. Create a format button in the cell action bar, for doing it manually on a per-cell basis

Implementation Steps

  1. Install Prettier and necessary plugins to default package.json
  2. Integrate Prettier with CodeMirror editor
  3. Implement formatting function for individual cells
  4. Add auto-format toggle to app settings
  5. Design and implement format button in cell action bar
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 a pull request may close this issue.

1 participant