Closed ChiTimesChi closed 2 months ago
The changes involve the addition and modification of .vscode/settings.json
files across multiple directories to configure the Visual Studio Code environment for Solidity development. Key updates include setting "JuanBlanco.solidity" as the default formatter for Solidity files, changing the Solidity formatter from "prettier" to "forge," and specifying mono-repo support settings. These adjustments aim to standardize the development environment for Solidity projects.
Files | Change Summary |
---|---|
.vscode/settings.json |
Added default formatter "JuanBlanco.solidity"; changed Solidity formatter from "prettier" to "forge"; added mono-repo support set to true. |
packages/contracts-core/.vscode/settings.json |
Added settings.json; set default formatter to "JuanBlanco.solidity" and "forge"; mono-repo support set to false. |
packages/contracts-rfq/.vscode/settings.json |
Added settings.json; set default formatter to "JuanBlanco.solidity" and "forge"; mono-repo support set to false. |
packages/solidity-devops/.vscode/settings.json |
Added settings.json; set default formatter to "JuanBlanco.solidity" and "forge"; mono-repo support set to false. |
sequenceDiagram
participant Developer
participant VSCode
participant SolidityFormatter
Developer->>VSCode: Edit Solidity file
VSCode->>SolidityFormatter: Format code using JuanBlanco.solidity
SolidityFormatter-->>VSCode: Return formatted code
VSCode-->>Developer: Display formatted code
🐰 In the garden of code, where Solidity blooms,
A formatter named Juan brings light to the rooms.
With forge by its side, the structure is neat,
In a world of monorepos, our tasks are complete!
Hopping through changes, we celebrate cheer,
For a tidy codebase, we hold dear! 🌼
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
[!TIP]
Early access features: enabled
We are currently testing the following features in early access: - **OpenAI `o1` for code reviews**: OpenAI's new `o1` model is being tested for code reviews. This model has advanced reasoning capabilities and can provide more nuanced feedback on your code. Note: - You can enable or disable early access features from the CodeRabbit UI or by updating the CodeRabbit configuration file. - - Please join our [Discord Community](https://discord.com/invite/GsXnASn26c) to provide feedback and report issues on the [discussion post](https://discordapp.com/channels/1134356397673414807/1279579842131787838).
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 41.33930%. Comparing base (
89907ce
) to head (9049299
). Report is 35 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Latest commit: |
9049299
|
Status: | ✅ Deploy successful! |
Preview URL: | https://2bb189c3.sanguine-fe.pages.dev |
Branch Preview URL: | https://chore-solidity-vscode-settin.sanguine-fe.pages.dev |
Description Adds a reasonable minimum set of settings for Solidity extension within VSCode and its forks.
Reasoning behind having settings files in the monorepo as well as in the packages: it's more convenient to use the package directory as workspace, when the changes are limited to that package. I have found turning off
monoRepoSupport
in this case to be helpful.Summary by CodeRabbit
New Features
Bug Fixes