I'd like to start a separate VSCode extension (entirely open source) that will use jcf-cli.
Right now, jcf-cli reads a file from the filesystem, formats its contents and writes it back.
That's not the best solution for a code formatter running in the background of a code editor. Biggest drawback is the fact that jcf-cli is unable to format dirty files.
That's why I would like to send the current file content via StdIn to jcf-cli and expect to get the formatted result returned in StdOut.
That way we could format dirty files without running into conflicts with the editor.
I'd like to start a separate VSCode extension (entirely open source) that will use jcf-cli.
Right now, jcf-cli reads a file from the filesystem, formats its contents and writes it back.
That's not the best solution for a code formatter running in the background of a code editor. Biggest drawback is the fact that jcf-cli is unable to format dirty files.
That's why I would like to send the current file content via StdIn to jcf-cli and expect to get the formatted result returned in StdOut.
That way we could format dirty files without running into conflicts with the editor.