# Resyntax now uses fmt to format suggestions

**URL:** <https://racket.discourse.group/t/resyntax-now-uses-fmt-to-format-suggestions/3120>\
**Category:** Show & Tell\
**Created:** [August 22, 2024, 7:02am UTC](https://racket.discourse.group/t/resyntax-now-uses-fmt-to-format-suggestions/3120 "2024-08-22T07:02:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![notjack](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@notjack](https://racket.discourse.group/u/notjack)\
**Post date:** [August 22, 2024, 7:02am UTC](https://racket.discourse.group/t/resyntax-now-uses-fmt-to-format-suggestions/3120/1 "2024-08-22T07:02:23Z")

</div>

[Resyntax](https://docs.racket-lang.org/resyntax/), the macro-powered refactoring tool I created (and [announced previously](https://racket.discourse.group/t/resyntax-a-macro-powered-refactoring-tool/835)), now uses Sorawee's [`fmt`](https://docs.racket-lang.org/fmt/) autoformatter to format its suggested fixes to your code. This eliminates Resyntax's dependency on the GUI framework and makes it much easier to use in various environments, including CI systems, editors, and eventually Discord bots. If you're already a Resyntax user, you may notice some changes to the formatting decisions it makes in its suggestions.

---

<div class="post-metadata">

**Author:** ![notjack](https://avatars.discourse-cdn.com/v4/letter/n/e47774/32.png) [@notjack](https://racket.discourse.group/u/notjack)\
**Post date:** [August 22, 2024, 7:38am UTC](https://racket.discourse.group/t/resyntax-now-uses-fmt-to-format-suggestions/3120/2 "2024-08-22T07:38:08Z")

</div>

For an example of the new and improved Resyntax in action, see [this Scribble pull request](https://github.com/racket/scribble/pull/432), which I generated with Resyntax.

---

<div class="post-metadata">

**Author:** ![BNAndras](https://yyz2.discourse-cdn.com/free1/user_avatar/racket.discourse.group/bnandras/32/1188_2.png) [@BNAndras](https://racket.discourse.group/u/BNAndras)\
**Post date:** [August 28, 2024, 4:41pm UTC](https://racket.discourse.group/t/resyntax-now-uses-fmt-to-format-suggestions/3120/3 "2024-08-28T16:41:26Z")

</div>

Cool. I think this might be useful for automated feedback on student solutions on Exercism’s Racket track before they interact with a human mentor. I’ll have to play with this.
