Skip to content

Commit 0bcac2d

Browse files
committed
Add icon and update docs.
1 parent 930725a commit 0bcac2d

File tree

4 files changed

+24
-18
lines changed

4 files changed

+24
-18
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ All notable changes to the "highlight-string-code" extension will be documented
44

55
Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file.
66

7+
## TODO Notes
8+
- [x] Publish extension
9+
- [ ] Add switches for Highlight Signs
10+
711
## [Unreleased]
8-
- Keep variables highlighter between `{` and `}` in string code.
12+
- Ready to release
13+
- Keep variables highlighted between `{` and `}` in string code.
914
- Add usages
1015
- Add HTML highlighter
1116
- Add SQL highlighter

README.md

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,13 @@ Syntax highlighting support for some specific language code in string.
44

55
## Requirements
66

7-
- Visual Studio Code v1.32.0 and above is recommended
8-
9-
## Installation
10-
11-
- Install from [VSIX](https://github.com/iuyoy/highlight-string-code/releases) manually.
7+
- Visual Studio Code v1.6.0 and above is recommended, but I'm not sure.
128

139
## Features & Usages
1410

1511
- SQL
1612
1. Insert sign pair `--sql` and `;` to highlight one SQL sequence.<br>
1713
![single SQL stirng with Sign](./docs/single_SQL_with_Sign.png)
18-
1914
2. Insert sign pair `--beginsql` or `--begin-sql` and `--endsql` or `--end-sql` to highlight one and more SQL suquences.<br>
2015
![multi SQL stirng with Sign](./docs/multi_SQL_with_Sign.png)
2116
3. Any SQL sequence starts with **UPPERCASE** keyword (such as `SELECT`, `INSERT`, `UPDATE` and etc), and ends with `;` will be highlighted automatically.<br>
@@ -27,10 +22,10 @@ Syntax highlighting support for some specific language code in string.
2722
- Highlight Variables in *highlighted* string code.<br>
2823
![Variables](./docs/SQL_with_variable.png)
2924

30-
## TODO Notes
25+
## Installation
3126

32-
- [ ] Publish extension
33-
- [ ] Add switches for Highlight Signs
27+
- Install from VS Code extensions (`ctrl + shift + x` or `cmd + shift + x` on mac).
28+
- Install from [VSIX](https://github.com/iuyoy/highlight-string-code/releases) manually.
3429

3530
## Release Notes
3631

docs/icon.png

11.4 KB
Loading

package.json

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
{
22
"name": "highlight-string-code",
33
"displayName": "Highlight String Code",
4-
"description": "Highlight SQL and HTML code in string",
5-
"version": "0.3.0",
4+
"description": "Highlight string as a specific language",
5+
"version": "0.3.3",
66
"publisher": "iuyoy",
7+
"author": {
8+
"name": "iuyoy"
9+
},
10+
"icon": "docs/icon.png",
711
"bugs": {
812
"url": "https://github.com/iuyoy/highlight-string-code/issues"
913
},
@@ -12,7 +16,7 @@
1216
"url": "https://github.com/iuyoy/highlight-string-code"
1317
},
1418
"engines": {
15-
"vscode": "^1.32.0"
19+
"vscode": "^1.6.0"
1620
},
1721
"categories": [
1822
"Programming Languages",
@@ -21,13 +25,15 @@
2125
"contributes": {
2226
"languages": [
2327
{
24-
"id": "*",
25-
"extensions": [".*"]
28+
"id": "any",
29+
"extensions": [
30+
".*"
31+
]
2632
}
27-
],
33+
],
2834
"grammars": [
2935
{
30-
"language": "*",
36+
"language": "any",
3137
"path": "./syntaxes/highlight-html-string.json",
3238
"scopeName": "string-html.injection",
3339
"injectTo": [
@@ -38,7 +44,7 @@
3844
}
3945
},
4046
{
41-
"language": "*",
47+
"language": "any",
4248
"path": "./syntaxes/highlight-sql-string.json",
4349
"scopeName": "string-sql.injection",
4450
"injectTo": [

0 commit comments

Comments
 (0)