vscode-solidity | Visual Studio Code language support extension for Solidity | Cryptocurrency library
kandi X-RAY | vscode-solidity Summary
kandi X-RAY | vscode-solidity Summary
Visual Studio Code language support extension for Solidity smart contracts in Ethereum
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of vscode-solidity
vscode-solidity Key Features
vscode-solidity Examples and Code Snippets
Community Discussions
Trending Discussions on vscode-solidity
QUESTION
When I save my solidity file in VSCode it adds additional tabs (additional 2 spaces) to all single tabs (2 spaces). Where can I override this? This only happens to my solidity (.sol) files. Format on save
works correctly for other files e.g. js
extensions
VSCode settings.json
...ANSWER
Answered 2022-Jan-12 at 13:15The vscode-solidity extension uses Prettier for formatting(link)
To achieve formatting with 2 spaces:
- Create a file .prettierrc
- The contents should be
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install vscode-solidity
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page