fmt icon indicating copy to clipboard operation
fmt copied to clipboard

Language server integration?

Open jackfirth opened this issue 4 years ago • 1 comments

Is integration with the racket langserver a goal? I'd really like for the langserver to come with autoformatting support out of the box.

jackfirth avatar Oct 03 '21 20:10 jackfirth

I didn't have racket langserver in mind when I started this project, but I hope my tool will provide an interface that is general enough so that stuff like racket langserver and code formatting aggregators (see #7) can use.

It looks like racket langserver is needed to be modified though, as it's currently hard coded to use framework's autoindenter as a formatter (https://github.com/jeapostrophe/racket-langserver/blob/master/text-document.rkt#L435)

sorawee avatar Oct 03 '21 20:10 sorawee