NomicFoundation / hardhat-vscode

Solidity and Hardhat support for Visual Studio Code
https://hardhat.org
MIT License
163 stars 36 forks source link

[LSP] Add support for range formatting #528

Open ndavd opened 7 months ago

ndavd commented 7 months ago

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 ❤️

kanej commented 7 months ago

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