Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tintinweb committed Feb 8, 2019
0 parents commit f6b2372
Show file tree
Hide file tree
Showing 5 changed files with 1,059 additions and 0 deletions.
33 changes: 33 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Solidity language support for Visual Studio Code - Auditors Edition

This extension provides **security conscious** syntax highlighting support for Visual Studio Code.

## Features

Syntax highlighting for security auditors.

## Requirements

* install language extension `vscode-solidity`
* install this extension (extends `vscode-solidity`)

## Extension Settings

None

## Known Issues

None

## Acknowledgements

* Theme: `Atom One Dark Theme`
* Base Grammar for Solidity: `vscode-solidity`

## Release Notes

None

### 0.0.3

first alpha
25 changes: 25 additions & 0 deletions language-configuration.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"comments": {
// symbol used for single line comment. Remove this entry if your language does not support line comments
"lineComment": "//",
// symbols used for start and end a block comment. Remove this entry if your language does not support block comments
"blockComment": [ "/*", "*/" ]
},
// symbols used as brackets
"brackets": [
["{", "}"],
["[", "]"],
["(", ")"]
],
"autoClosingPairs": [
{ "open": "{", "close": "}" },
{ "open": "[", "close": "]" },
{ "open": "(", "close": ")" },
{ "open": "/**", "close": " */", "notIn": ["string"] }
],
"surroundingPairs": [
["{", "}"],
["[", "]"],
["(", ")"]
]
}
50 changes: 50 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
{
"name": "solidity-visual-auditor",
"description": "Ethereum Solidity Language customized for auditors using Visual Studio Code",
"keywords": [
"solidity",
"ethereum",
"blockchain",
"compiler",
"security"
],
"version": "0.0.3",
"publisher": "tintinweb",
"engines": {
"vscode": "^1.20.2"
},
"categories": [
"Programming Languages"
],
"bugs": {
"url": "https://github.com/tintinweb/vscode-solidity-auditor/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/tintinweb/vscode-solidity-auditor"
},
"contributes": {
"languages": [{
"id": "solidity",
"aliases": ["solidity", "solidity"],
"extensions": [".sol"],
"configuration": "./language-configuration.json"
}],
"grammars": [{
"language": "solidity",
"scopeName": "source.solidity.security",
"path": "./syntaxes/solidity.tmLanguage.json",
"injectTo": [
"source.solidity"
]

}],
"themes": [
{
"label": "Solidity Visual Auditor Dark",
"uiTheme": "vs-dark",
"path": "./themes/OneDark.json"
}
]
}
}
Loading

0 comments on commit f6b2372

Please sign in to comment.