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

feat: Use toolchain's swift-format as a formatting provider #1193

Closed
wants to merge 1 commit into from

Conversation

MahdiBM
Copy link

@MahdiBM MahdiBM commented Nov 3, 2024

resolves #1190

Inspired by https://github.com/vknabel/vscode-apple-swift-format

Checklist:

  • Create and register a formatting provider that calls swift format.
  • Test the PR locally.
  • Proper error handling.
  • Make sure user toolchain has swift-format bundled with it.

I'm not a typescript dev, maintainer folks you can feel free to show the obvious problems, or even nit pick.

@MahdiBM
Copy link
Author

MahdiBM commented Nov 5, 2024

Looks like sourcekit-lsp is the proper place for this implementation to go to: #1190 (comment)

@MahdiBM MahdiBM closed this Nov 5, 2024
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 this pull request may close these issues.

Formatter situation?
1 participant