Sublime Text
For the full settings schema, see Setup Overview.
Required package
- LSP — Language Server Protocol client for Sublime Text
Install via Package Control: Ctrl+Shift+P → Package Control: Install Package → LSP.
LSP configuration
Add the following to LSP.sublime-settings:
LSP.sublime-settings
{
"clients": {
"solidity-language-server": {
"command": ["solidity-language-server", "--stdio"],
"selector": "source.solidity",
"settings": {
"solidity-language-server": {
"inlayHints": {
"parameters": true,
"gasEstimates": true
},
"lint": {
"enabled": true,
"severity": [],
"only": [],
"exclude": []
},
"fileOperations": {
"templateOnCreate": true,
"updateImportsOnRename": true,
"updateImportsOnDelete": true
},
"projectIndex": {
"fullProjectScan": true,
"cacheMode": "v2",
"incrementalEditReindex": false
}
}
}
}
}
}Lint options reference
Lint options (severity, rule IDs, only, exclude) are documented in Setup Overview → Lint values.