-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f8663f0
Showing
16 changed files
with
7,160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.vscode/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.vscode/** | ||
.vscode-test/** | ||
.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Change Log | ||
|
||
All notable changes to the "go-syntax" extension will be documented in this file. | ||
|
||
## [0.1.0] | ||
|
||
- First version of Go Syntax |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Go Syntax | ||
|
||
Rich Syntax Highlighting for [Go](https://go.dev/) language | ||
|
||
With this extension, your favorite theme can color your code better. | ||
|
||
## Comparisons (Before - After) | ||
|
||
### Before (Dark+ Theme) | ||
|
||
 | ||
|
||
### After (Dark+ Theme) | ||
|
||
 | ||
|
||
### Before (Dracula Theme) | ||
|
||
 | ||
|
||
### After (Dracula Theme) | ||
|
||
 | ||
|
||
### Before (Ayu Dark Theme) | ||
|
||
 | ||
|
||
### After (Ayu Dark Theme) | ||
|
||
 | ||
|
||
## Contributing | ||
|
||
Yes, please! Feel free to contribute. | ||
|
||
## Credits | ||
|
||
This extension added new features to the original [vscode-go-syntax](https://github.com/microsoft/vscode/blob/main/extensions/go/syntaxes/go.tmLanguage.json) which is forked from [better-go-syntax](https://github.com/jeff-hykin/better-go-syntax). | ||
|
||
Go syntax semantic tokens tested thanks to the [vscode-tmgrammar-test](https://github.com/PanAeon/vscode-tmgrammar-test). | ||
|
||
## License | ||
|
||
[MIT](https://github.com/worlpaker/go-syntax/blob/master/LICENSE) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"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": [ | ||
["{", "}"], | ||
["[", "]"], | ||
["(", ")"] | ||
], | ||
// symbols that are auto closed when typing | ||
"autoClosingPairs": [ | ||
["{", "}"], | ||
["[", "]"], | ||
["(", ")"], | ||
["\"", "\""], | ||
["'", "'"] | ||
], | ||
// symbols that can be used to surround a selection | ||
"surroundingPairs": [ | ||
["{", "}"], | ||
["[", "]"], | ||
["(", ")"], | ||
["\"", "\""], | ||
["'", "'"] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
{ | ||
"name": "go-syntax", | ||
"displayName": "Go Syntax", | ||
"description": "Rich Syntax Highlighting for Go language", | ||
"version": "0.1.0", | ||
"author": "Furkan Ozalp <[email protected]>", | ||
"publisher": "furkanozalp", | ||
"license": "MIT", | ||
"icon": "icon/icon.png", | ||
"repository": { | ||
"types": "git", | ||
"url": "https://github.com/worlpaker/go-syntax.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/worlpaker/go-syntax/issues" | ||
}, | ||
"engines": { | ||
"vscode": "^1.0.0" | ||
}, | ||
"categories": [ | ||
"Programming Languages" | ||
], | ||
"keywords": [ | ||
"go", | ||
"golang", | ||
"syntax", | ||
"textmate", | ||
"highlighting", | ||
"coloring", | ||
"color" | ||
], | ||
"contributes": { | ||
"languages": [ | ||
{ | ||
"id": "go", | ||
"aliases": [ | ||
"Go", | ||
"go" | ||
], | ||
"extensions": [ | ||
".go" | ||
], | ||
"configuration": "./language-configuration.json" | ||
} | ||
], | ||
"grammars": [ | ||
{ | ||
"language": "go", | ||
"scopeName": "source.go", | ||
"path": "./syntaxes/go.tmLanguage.json" | ||
} | ||
] | ||
} | ||
} |
Oops, something went wrong.