Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/nodejs-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: nodejs
on:
push:
paths:
paths:
- "**/**"
- "!**/*.md/**"

Expand All @@ -18,8 +18,8 @@ jobs:
strategy:
fail-fast: false
matrix:
node: ['14']
os: ['ubuntu-latest']
node: ["14"]
os: ["ubuntu-latest"]

steps:
- name: Clone repository
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ cache
.cache/
*.log
*-error.
solidity-lang-*.zip

6 changes: 3 additions & 3 deletions .prettierrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"bracketSpacing": true,
"jsxBracketSameLine": false,
"jsxSingleQuote": false,
"printWidth": 80,
"printWidth": 100,
"proseWrap": "always",
"quoteProps": "as-needed",
"semi": true,
"singleQuote": true,
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "all",
"trailingComma": "es5",
"useTabs": false
}
5 changes: 5 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"recommendations": [
"leodevbro.blockman"
]
}
22 changes: 10 additions & 12 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
]
}
]
}
"version": "0.2.0",
"configurations": [
{
"name": "Extension",
"type": "extensionHost",
"request": "launch",
"args": ["--extensionDevelopmentPath=${workspaceFolder}"]
}
]
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"files.trimTrailingWhitespace": true,
"gitlens.advanced.blame.customArguments": ["--ignore-revs-file", ".gitignore-revs"],
"files.trimTrailingWhitespace": true,
"gitlens.advanced.blame.customArguments": ["--ignore-revs-file", ".gitignore-revs"]
}
47 changes: 40 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,50 @@

All notable changes to this project will be documented in this file. Dates are displayed in UTC.

## [1.1.0](https://github.com/contractshark/vscode-extenstion/compare/v1.0.1...v1.1.0) (2021-07-31)
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).

#### [v1.3.0](https://github.com/contractshark/vscode-solidity-extenstion/compare/v1.2.1...v1.3.0)

### Features
> 1 October 2021

* **release:** v1.1.0 ([efbb953](https://github.com/contractshark/vscode-extenstion/commit/efbb9534d220bbe9efc94a3f296376a88e65bfb5))
* **vscode:** inital theme overlay ([d11ba45](https://github.com/contractshark/vscode-extenstion/commit/d11ba45b0382e88e3f8c5f38f96242095f1c178b))
- v1.2.0 [`#3`](https://github.com/contractshark/vscode-solidity-extenstion/pull/3)
- v1.1.0 [`#2`](https://github.com/contractshark/vscode-solidity-extenstion/pull/2)
- bug/vscode [`#1`](https://github.com/contractshark/vscode-solidity-extenstion/pull/1)
- feat(vscode): release v1.3.0 [`3f15e3c`](https://github.com/contractshark/vscode-solidity-extenstion/commit/3f15e3c4b014db649c219756b1669dd8743adc5d)
- Release 1.2.1 [`020ef3b`](https://github.com/contractshark/vscode-solidity-extenstion/commit/020ef3bb5fdf77966db1ce3e9b12016bb8d7f21c)
- chore(package): pin dependencies, fix git url [`86a55c8`](https://github.com/contractshark/vscode-solidity-extenstion/commit/86a55c8b74248c25f7d6524ad49bd60b50133d8c)

#### [v1.2.1](https://github.com/contractshark/vscode-solidity-extenstion/compare/v1.2.0...v1.2.1)

### Bug Fixes
> 17 August 2021

* **marketplace:** info update ([e8dfa60](https://github.com/contractshark/vscode-extenstion/commit/e8dfa6083390c3d35c56535ac4546f4190bd398a))
#### [v1.2.0](https://github.com/contractshark/vscode-solidity-extenstion/compare/v1.1.0...v1.2.0)

### [1.0.1](https://github.com/contractshark/vscode-extenstion/compare/v1.0.0...v1.0.1) (2021-04-15)
> 17 August 2021

- feat(release): EIP1559 support [`4353981`](https://github.com/contractshark/vscode-solidity-extenstion/commit/43539818462f5b6d5c0b3a6cb3bd0ac992020387)
- Release 1.2.1 [`16f05e8`](https://github.com/contractshark/vscode-solidity-extenstion/commit/16f05e8020e8bd8581e67853ab6327879cb12eba)

#### [v1.1.0](https://github.com/contractshark/vscode-solidity-extenstion/compare/v1.0.1...v1.1.0)

> 30 July 2021

- feat(release): v1.1.0 [`efbb953`](https://github.com/contractshark/vscode-solidity-extenstion/commit/efbb9534d220bbe9efc94a3f296376a88e65bfb5)
- feat(vscode): inital theme overlay [`d11ba45`](https://github.com/contractshark/vscode-solidity-extenstion/commit/d11ba45b0382e88e3f8c5f38f96242095f1c178b)
- docs(readme): v1.0.0 [`60295d7`](https://github.com/contractshark/vscode-solidity-extenstion/commit/60295d7b5fc3cdc54f9c5595e5c1e55d01b07e93)

### [v1.0.1](https://github.com/contractshark/vscode-solidity-extenstion/compare/v0.0.2...v1.0.1)

> 15 April 2021

- test(validate): validate grammar [`d7b281a`](https://github.com/contractshark/vscode-solidity-extenstion/commit/d7b281a6b1b570cf8afc1b1eae0f1c253de2b6d8)
- fix(ext): url update and CI [`bc29fe5`](https://github.com/contractshark/vscode-solidity-extenstion/commit/bc29fe53de67ade1058c62285194d691ed488d7f)
- docs(readme): vscode ext [`33d1c37`](https://github.com/contractshark/vscode-solidity-extenstion/commit/33d1c3731c4f02419a7a9b4cd60d13723e63eaf6)

#### v0.0.2

> 14 April 2021

- release [`06906dc`](https://github.com/contractshark/vscode-solidity-extenstion/commit/06906dc5dffabb815395d29c9643bf9ff5c86f9e)
- chore(release): 0.0.2 [`c8c2741`](https://github.com/contractshark/vscode-solidity-extenstion/commit/c8c274182f95fa7d9a9d544857ac4aa58405dc9e)
- build(vsce): package [`aec374a`](https://github.com/contractshark/vscode-solidity-extenstion/commit/aec374ac38ab110046f018e914fb4b39bb7931e5)
29 changes: 0 additions & 29 deletions DEVELOPMENT.md

This file was deleted.

47 changes: 21 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,56 @@

<p align="center">
<img src='assets/icon.png' width=64>
<h1 align="center">solidity-lang</h1>
<h3 align="center"> visual studio code syntax highlight </h3>
<h3 align="center"> VSCode Solidity Semantic Syntax Highlighting</h3>
<p align="center">
<align="center">

-------------
---

<br>

[![vscode marketplace](https://badgen.net/vs-marketplace/v/contractshark.solidity-lang)](https://marketplace.visualstudio.com/items?itemName=ContractShark.solidity-lang)

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

## Motivation

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

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

## Features

- Solidity Syntax Highlight
- No other plugins, configurations, etc: just syntax highlighting
- Solidity Syntax Highlighting

- Semantic Syntax Support

- Remote Container / Container support

- NatSpec Supported Highlighting

- Support ^0.5.0 to <0.9.0

- No other plugins, configurations, etc: just syntax highlighting

- see the additional `.vscode/settings` for better git workspace environment

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


## Extension Settings

This extension contributes the following settings:

* `solidity-lang.enable`: enable/disable this extension


## Development

## What's in the folder

* This folder contains all of the files necessary for your extension.
* `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.
* `syntaxes/solidity.tmLanguage.json` - this is the Text mate grammar file that is used for tokenization.
* `language-configuration.json` - this is the language configuration, defining the tokens that are used for comments and brackets.

- `solidity-lang.enable`: enable/disable this extension

## Issues / Support

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


## License

SPDX-License-Identifier: MIT
Expand Down
93 changes: 0 additions & 93 deletions index.js

This file was deleted.

8 changes: 0 additions & 8 deletions index.mjs

This file was deleted.

Loading