-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: forge fmt respects project's foundry.toml #316
fix: forge fmt respects project's foundry.toml #316
Conversation
* refactor: move server indexing and analysis to `initialize` step * wip * split index into different files * mocha setup * add tests and methods for diagnostics * hardhat test project on protocol tests * reword "integration" to "e2e" * add references test * textDocument/implementation test * add diagnostics test for foundry and projectless * textDocument/definition test * textDocument/typeDefinition test * textDocument/rename tests * migrate codeAction tests * exclude protocol tests from root build * migrate completion tests * remove makeCodeAction helper * definition tests * migrate all diagnostic tests * migrate all textDocument/references tests * migrate remapping integration tests * migrate rename tests * migrate all typeDefinition tests * update all test projects to use solc 0.8.8 * remove linear-related workflows * add build step to CI * increase timeout on waiting for diagnostic because of compiler download * add protocol tests' node_modules to cache * fix indexing workspace folders on windows * use file uris for locations instead of paths * install packages on protocol tests' projects * add linting to protocol tests * send custom/analyzed notification only on test mode
Codecov Report
@@ Coverage Diff @@
## development #316 +/- ##
==============================================
Coverage ? 57.13%
==============================================
Files ? 173
Lines ? 4316
Branches ? 707
==============================================
Hits ? 2466
Misses ? 1618
Partials ? 232 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Thanks @mds1, that is great. We will get it reviewed in the next few days. |
Huh looks like some CI tests failed for |
@mds1 don't worry about that, macOS CI sometimes fails to download and install foundry and then some tests fail. This change is not breaking any tests |
Analogous to juanfranblanco/vscode-solidity#363 (h/t @shekhirin), this PR ensures the formatter respects the
fmt
settings in thefoundry.toml
file