hardhat-vscode icon indicating copy to clipboard operation
hardhat-vscode copied to clipboard

[LSP] Add support for range formatting

Open ndavd opened this issue 2 years ago • 1 comments
trafficstars

The lack of range formatting capabilities make the LSP incompatible with several formatting tools such as https://github.com/stevearc/conform.nvim. It would be nice if it could be added since no formatter is complete without supporting range formatting ❤️

ndavd avatar Nov 20 '23 00:11 ndavd

Agreed. We use prettier to power our formatting. I will need to investigate whether prettier + the prettier solidity extension provide range formatting.

kanej avatar Nov 21 '23 10:11 kanej