Skip to content

Commit 3f15e3c

Browse files
committed
feat(vscode): release v1.3.0
1 parent 3348128 commit 3f15e3c

29 files changed

+2555
-3295
lines changed

.github/workflows/nodejs-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: nodejs
33
on:
44
push:
5-
paths:
5+
paths:
66
- "**/**"
77
- "!**/*.md/**"
88

@@ -18,8 +18,8 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
node: ['14']
22-
os: ['ubuntu-latest']
21+
node: ["14"]
22+
os: ["ubuntu-latest"]
2323

2424
steps:
2525
- name: Clone repository

.prettierrc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"bracketSpacing": true,
55
"jsxBracketSameLine": false,
66
"jsxSingleQuote": false,
7-
"printWidth": 80,
7+
"printWidth": 100,
88
"proseWrap": "always",
99
"quoteProps": "as-needed",
1010
"semi": true,
11-
"singleQuote": true,
11+
"singleQuote": false,
1212
"tabWidth": 2,
13-
"trailingComma": "all",
13+
"trailingComma": "es5",
1414
"useTabs": false
1515
}

.vscode/extensions.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["coenraads.bracket-pair-colorizer-2"]
3+
}

.vscode/launch.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@
33
// Hover to view descriptions of existing attributes.
44
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
55
{
6-
"version": "0.2.0",
7-
"configurations": [
8-
{
9-
"name": "Extension",
10-
"type": "extensionHost",
11-
"request": "launch",
12-
"args": [
13-
"--extensionDevelopmentPath=${workspaceFolder}"
14-
]
15-
}
16-
]
17-
}
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"]
13+
}
14+
]
15+
}

.vscode/settings.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"files.trimTrailingWhitespace": true,
3-
"gitlens.advanced.blame.customArguments": ["--ignore-revs-file", ".gitignore-revs"],
2+
"files.trimTrailingWhitespace": true,
3+
"gitlens.advanced.blame.customArguments": ["--ignore-revs-file", ".gitignore-revs"]
44
}

CHANGELOG.md

Lines changed: 0 additions & 18 deletions
This file was deleted.

DEVELOPMENT.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

README.md

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
1-
21
<p align="center">
32
<img src='assets/icon.png' width=64>
43
<h1 align="center">solidity-lang</h1>
54
<h3 align="center"> visual studio code syntax highlight </h3>
65
<p align="center">
76
<align="center">
87

9-
-------------
10-
<br>
8+
---
119

10+
<br>
1211

1312
![](https://badgen.net/vs-marketplace/v/contractshark.solidity-lang)
1413
[![solidity - v0.6.12](https://img.shields.io/badge/solidity-v0.9.0-2ea44f?logo=solidity)](https://github.com/manifoldfinance)
1514

1615
## Motivation
1716

18-
Every Solidity extenstion on Visual Studio Code's Marketplacce contain multiple plugins. This can lead
19-
to an inconssistent developer environment, or worse create conflicting configurations that, under the
20-
pretense of `helping` you, do things in the background to your files wihtout your explicit knowledge.
17+
Every Solidity extenstion on Visual Studio Code's Marketplacce contain multiple plugins. This can
18+
lead to an inconssistent developer environment, or worse create conflicting configurations that,
19+
under the pretense of `helping` you, do things in the background to your files wihtout your explicit
20+
knowledge.
2121

22-
Hence why this extenstion exists: only to provide syntax highlighting so that you can decided what to add without
23-
having to give up basic functionality.
22+
Hence why this extenstion exists: only to provide syntax highlighting so that you can decided what
23+
to add without having to give up basic functionality.
2424

2525
## Features
2626

@@ -33,29 +33,28 @@ having to give up basic functionality.
3333

3434
- [Visual Studio Marketplace](https://marketplace.visualstudio.com/items?itemName=ContractShark.solidity-lang)
3535

36-
3736
## Extension Settings
3837

3938
This extension contributes the following settings:
4039

41-
* `solidity-lang.enable`: enable/disable this extension
42-
40+
- `solidity-lang.enable`: enable/disable this extension
4341

4442
## Development
4543

4644
## What's in the folder
4745

48-
* This folder contains all of the files necessary for your extension.
49-
* `package.json` - this is the manifest file in which you declare your language support and define the location of the grammar file that has been copied into your extension.
50-
* `syntaxes/solidity.tmLanguage.json` - this is the Text mate grammar file that is used for tokenization.
51-
* `language-configuration.json` - this is the language configuration, defining the tokens that are used for comments and brackets.
52-
46+
- This folder contains all of the files necessary for your extension.
47+
- `package.json` - this is the manifest file in which you declare your language support and define
48+
the location of the grammar file that has been copied into your extension.
49+
- `syntaxes/solidity.tmLanguage.json` - this is the Text mate grammar file that is used for
50+
tokenization.
51+
- `language-configuration.json` - this is the language configuration, defining the tokens that are
52+
used for comments and brackets.
5353

5454
## Issues / Support
5555

5656
[github.com/contractshark](https://github.com/contractshark)
5757

58-
5958
## License
6059

6160
SPDX-License-Identifier: MIT

index.js

Lines changed: 0 additions & 93 deletions
This file was deleted.

index.mjs

Lines changed: 0 additions & 8 deletions
This file was deleted.

language-configuration.json

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
{
2-
"comments": {
3-
"lineComment": ["///", "//"],
4-
"blockComment": [ "/**", "*/" ]
5-
},
6-
"brackets": [
7-
["{", "}"],
8-
["[", "]"],
9-
["(", ")"]
10-
],
11-
"autoClosingPairs": [
12-
["{", "}"],
13-
["[", "]"],
14-
["(", ")"],
15-
["\"", "\""],
16-
["'", "'"]
17-
],
18-
"surroundingPairs": [
19-
["{", "}"],
20-
["[", "]"],
21-
["(", ")"],
22-
["\"", "\""],
23-
["'", "'"]
24-
]
2+
"comments": {
3+
"lineComment": "//",
4+
"blockComment": ["/*", "*/"]
5+
},
6+
"brackets": [
7+
["{", "}"],
8+
["[", "]"],
9+
["(", ")"]
10+
],
11+
"autoClosingPairs": [
12+
{ "open": "{", "close": "}" },
13+
{ "open": "[", "close": "]" },
14+
{ "open": "(", "close": ")" },
15+
{ "open": "/**", "close": " */", "notIn": ["string"] }
16+
],
17+
"surroundingPairs": [
18+
["{", "}"],
19+
["[", "]"],
20+
["(", ")"]
21+
]
2522
}

language/.vscode/launch.json

Lines changed: 0 additions & 17 deletions
This file was deleted.

language/.vscodeignore

Lines changed: 0 additions & 4 deletions
This file was deleted.

language/CHANGELOG.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)