Skip to content

Commit 1088f1a

Browse files
qingpeng9802qingpeng
authored andcommitted
Fix typos
1 parent 854e249 commit 1088f1a

File tree

4 files changed

+43
-37
lines changed

4 files changed

+43
-37
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dist
33
node_modules
44
.vscode-test-web/
55
*.vsix
6+
*.log

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## [1.1.3] - 2022-06-29
4+
### Fixed
5+
- `README.md` fix some typos
6+
37
## [1.1.2] - 2022-06-28
48
### Added
59
- `src/web` become a web extension

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Common Lisp language support for VS Code
2-
This VS Code extension supports Syntax Highlighting, Snippets, Completion, Hover, Definition, References, Document Symbol, Call Hierarchy, Semantic Tokens for Common Lisp.
2+
This VS Code extension supports Syntax Highlighting, Snippets, Completion, Hover, Definition, References, Document Symbol, Call Hierarchy, and Semantic Tokens for Common Lisp.
33

44
## Features
55

@@ -16,7 +16,7 @@ Beginner's Guide: [Overview](https://code.visualstudio.com/docs/languages/overvi
1616

1717
### Quick Guide
1818

19-
File Types: `lisp`, `lsp`, `l`, `cl`, `asd`, `asdf` and you can add more by yourself: [adding-a-file-extension-to-a-language](https://code.visualstudio.com/docs/languages/overview#_adding-a-file-extension-to-a-language).
19+
File Types: `lisp`, `lsp`, `l`, `cl`, `asd`, `asdf`, and you can add more by yourself: [adding-a-file-extension-to-a-language](https://code.visualstudio.com/docs/languages/overview#_adding-a-file-extension-to-a-language).
2020

2121
|Kind of Symbols |Color (Dark+)|Color (Light+)|
2222
|-|-|-|
@@ -35,7 +35,7 @@ For huge files, in some rare cases, semantic highlighting might lose synchroniza
3535
### Preference
3636
The language identifier (id) is `commonlisp` .
3737

38-
If you need customize your setting only for Common Lisp file, in `settings.json`, please add something like
38+
If you need to customize your setting only for Common Lisp file, in `settings.json`, please add something like
3939
```json
4040
"[commonlisp]": {
4141
"editor.bracketPairColorization.enabled": false
@@ -50,30 +50,30 @@ Hover tootip:
5050
- If you find this disturbing, you can disable it in `Editor> Hover` or set a larger delay in `Editor> Hover:Delay`.
5151

5252
Quick suggestions:
53-
- If you need suggestions while you are in an active snippet, you can disable `Editor> Suggest:Snippets Prevent Quick Suggestions`.
53+
- If you need suggestions while in an active snippet, you can disable `Editor> Suggest:Snippets Prevent Quick Suggestions`.
5454
- If you need `Snippets` to be on the top of suggestions, you can set `"editor.snippetSuggestions": "top"`.
5555

5656
Semantic highlighting:
5757
- Semantic highlighting can be disabled by setting `"editor.semanticHighlighting.enabled": false`.
5858

59-
Also, there are some built-in settings of this extension which can customize more **advanced preferences**,
60-
for example, which language feature provider should be used, which token range should be excluded and how to deal with backquote part. See [wiki](https://github.com/qingpeng9802/vscode-common-lisp/wiki).
59+
Also, there are some built-in settings of this extension that can customize more **advanced preferences**,
60+
for example, which language feature provider should be used, which token range should be excluded and how to deal with the backquote part. See [wiki](https://github.com/qingpeng9802/vscode-common-lisp/wiki/Configuration).
6161

6262
If you need to disable all [Programmatic Language Features](https://code.visualstudio.com/api/language-extensions/programmatic-language-features), you can set `"commonLisp.StaticAnalysis.enabled": false` in this extension's built-in settings (under `Common Lisp` tab).
6363

6464
## Design
6565

6666
### Syntax Highlighting
67-
Because of the funtional features of Common Lisp, we use the intuition of Common Lisp to design syntax highlighting instead of the intuition of non-functional language to design syntax highlighting. That is, we strictly follow the CL-ANSI 1.4.4.14 to classify the 978 external symbols in COMMON-LISP package.
67+
Because of the functional features of Common Lisp, we use the intuition of Common Lisp to design syntax highlighting instead of the intuition of non-functional language to design syntax highlighting. That is, we strictly follow the CL-ANSI 1.4.4.14 to classify the 978 external symbols in COMMON-LISP package.
6868

6969
We processed [Common Lisp HyperSpec](http://www.lispworks.com/documentation/HyperSpec/Front/) to get the kind of each symbol. The result is in `./assets/COMMON-LISP-symbols.csv`, and please feel free to reuse the result :)
7070

71-
We assign different colors to different kind of symbols, the assignment rule can be found in the start comment of `./syntaxes/commonlisp.yaml`. This file includes comments (related info in `CL-ANSI`) for all rules.
71+
We assign different colors to different kinds of symbols, and the assignment rule can be found in the start comment of `./syntaxes/commonlisp.yaml`. This file includes comments (related info in `CL-ANSI`) for all rules.
7272

73-
> For best performance and profile consistency, please use VS Code 1.69.0 or later.
73+
> Please use VS Code 1.69.0 or later for best performance and profile consistency.
7474
7575
### Static Analysis
76-
Currently, we use a very simple hand-written parser and combine it with regex to parse the code. Thus, the accuracy, precision and performance are not good enough. However, we have no plans to further complicate the parser since it is like rebuilding a wheel (new parser) by using TypeScript.
76+
Currently, we use a very simple hand-written parser and combine it with regex to parse the code. Thus, the accuracy, precision and performance are not good enough. However, we have no plans to complicate the parser further since it is like rebuilding a new wheel (new parser) using TypeScript.
7777

7878
Since this extension is designed as a [Web Extension](https://code.visualstudio.com/api/extension-guides/web-extensions), we are considering using [node-tree-sitter](https://github.com/tree-sitter/node-tree-sitter) as the parser in the future. However, we have no plan to update the parser recently since we are still evaluating its impact on the architecture of VS Code language service (see [Anycode](https://github.com/microsoft/vscode-anycode)).
7979

@@ -88,6 +88,6 @@ draft proposed American National Standard for Information Systems—Programming
8888

8989
### Image Credits
9090
The `icon.png` is from [Common-Lisp.net](https://common-lisp.net/) and resized.
91-
The `commonlisp_file_icon.svg` is extracted from common lisp icon and colored with the purple in Conrad Barski's [Logo](http://www.lisperati.com/logo.html).
91+
The `commonlisp_file_icon.svg` is extracted from the common lisp icon and colored with the purple in Conrad Barski's [Logo](http://www.lisperati.com/logo.html).
9292
`icon.png` and `commonlisp_file_icon.svg` are used under [Attribution 4.0 International (CC BY 4.0)](https://creativecommons.org/licenses/by/4.0/).
9393
The code segment in `Syntax Highlighting` is from [SBCL Repository](https://github.com/sbcl/sbcl).

package.json

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"name": "Qingpeng Li",
77
"email": "qingpeng9802@gmail.com"
88
},
9-
"version": "1.1.2",
9+
"version": "1.1.3",
1010
"publisher": "qingpeng",
1111
"engines": {
1212
"vscode": "^1.54.0"
@@ -24,7 +24,8 @@
2424
"snippet",
2525
"snippets",
2626
"autocomplete",
27-
"intellisense"
27+
"intellisense",
28+
"syntax"
2829
],
2930
"activationEvents": [
3031
"onLanguage:commonlisp"
@@ -165,7 +166,7 @@
165166
"commonLisp.Updater.throttleTimeout": {
166167
"type": "number",
167168
"default": 200,
168-
"markdownDescription": "`> 0`. If you don't fully understand, don't change this. The throttle timeout in ms to avoid duplicate update. Only applies when `#commonLisp.providers.DocumentSemanticTokensProvider.enabled#` and `#commonLisp.providers.DocumentSymbolProvider.enabled#` are set to `true`."
169+
"markdownDescription": "`> 0`. If you don't fully understand, don't change this. The throttle timeout in ms to avoid the duplicate update. Only applies when `#commonLisp.providers.DocumentSemanticTokensProvider.enabled#` and `#commonLisp.providers.DocumentSymbolProvider.enabled#` are set to `true`."
169170
},
170171
"commonLisp.ReferenceProvider.ExcludedRanges": {
171172
"type": "string",
@@ -177,10 +178,10 @@
177178
"none"
178179
],
179180
"markdownEnumDescriptions": [
180-
"Reference result will exclude the ranges inside comments and strings.",
181-
"Reference result will exclude the ranges inside comments only.",
182-
"Reference result will exclude the ranges inside strings only.",
183-
"Reference result will include all the ranges."
181+
"Reference results will exclude the ranges inside comments and strings.",
182+
"Reference results will exclude the ranges inside comments only.",
183+
"Reference results will exclude the ranges inside strings only.",
184+
"Reference results will include all the ranges."
184185
]
185186
},
186187
"commonLisp.DefinitionProvider.ExcludedRanges": {
@@ -193,10 +194,10 @@
193194
"none"
194195
],
195196
"markdownEnumDescriptions": [
196-
"Response to the selected word which is NOT inside comments and strings.",
197-
"Response to the selected word which is NOT inside comments.",
198-
"Response to the selected word which is NOT inside strings.",
199-
"Response to all the selected word."
197+
"Respond to the selected word which is NOT inside comments and strings.",
198+
"Respond to the selected word which is NOT inside comments.",
199+
"Respond to the selected word which is NOT inside strings.",
200+
"Respond to all the selected words."
200201
]
201202
},
202203
"commonLisp.DocumentSemanticTokensProvider.ExcludedRanges": {
@@ -209,9 +210,9 @@
209210
"none"
210211
],
211212
"markdownEnumDescriptions": [
212-
"Highlight the tokens which is NOT inside comments and strings.",
213-
"Highlight the tokens which is NOT inside comments.",
214-
"Highlight the tokens which is NOT inside strings.",
213+
"Highlight the tokens which are NOT inside comments and strings.",
214+
"Highlight the tokens which are NOT inside comments.",
215+
"Highlight the tokens which are NOT inside strings.",
215216
"Highlight all the tokens."
216217
]
217218
},
@@ -227,11 +228,11 @@
227228
"none"
228229
],
229230
"markdownEnumDescriptions": [
230-
"Highlight normal tokens and the tokens which is in Single Quote.",
231-
"Highlight normal tokens and the tokens which is in Single Quote and BackQuote's comma only.",
232-
"Highlight normal tokens and the tokens which is in Single Quote and BackQuote.",
233-
"Highlight normal tokens and the tokens which is in BackQuote's comma only.",
234-
"Highlight normal tokens and the tokens which is in BackQuote.",
231+
"Highlight normal tokens and the tokens which are in Single Quote.",
232+
"Highlight normal tokens and the tokens which are in Single Quote and BackQuote's comma only.",
233+
"Highlight normal tokens and the tokens which are in Single Quote and BackQuote.",
234+
"Highlight normal tokens and the tokens which are in BackQuote's comma only.",
235+
"Highlight normal tokens and the tokens which are in BackQuote.",
235236
"Highlight normal tokens only."
236237
]
237238
},
@@ -247,23 +248,23 @@
247248
"none"
248249
],
249250
"markdownEnumDescriptions": [
250-
"Perform static analysis on normal tokens and the tokens which is NOT in Single Quote.",
251-
"Perform static analysis on normal tokens and the tokens which is NOT in Single Quote and NOT in BackQuote, but comma is saved.",
252-
"Perform static analysis on normal tokens and the tokens which is NOT in Single Quote and NOT in BackQuote.",
253-
"Perform static analysis on normal tokens and the tokens which is NOT in BackQuote, but comma is saved.",
254-
"Perform static analysis on normal tokens and the tokens which is NOT in BackQuote.",
251+
"Perform static analysis on normal tokens and the tokens which are NOT in Single Quote.",
252+
"Perform static analysis on normal tokens and the tokens which are NOT in Single Quote and NOT in BackQuote, but the start-with-comma part is saved.",
253+
"Perform static analysis on normal tokens and the tokens which are NOT in Single Quote and NOT in BackQuote.",
254+
"Perform static analysis on normal tokens and the tokens which are NOT in BackQuote, but the start-with-comma part is saved.",
255+
"Perform static analysis on normal tokens and the tokens which are NOT in BackQuote.",
255256
"Perform static analysis on all the tokens, even though they are in Single Quote or BackQuote."
256257
]
257258
},
258259
"commonLisp.ReferenceProvider.BackQuoteFilter.enabled": {
259260
"type": "boolean",
260261
"default": true,
261-
"markdownDescription": "Enable BackQuote Filter to only include symbols with comma in backquote result."
262+
"markdownDescription": "Enable BackQuote Filter to only include symbols with commas in the backquote result."
262263
},
263264
"commonLisp.DefinitionProvider.BackQuoteFilter.enabled": {
264265
"type": "boolean",
265266
"default": true,
266-
"markdownDescription": "Enable BackQuote Filter to only response to the symbols with comma in backquote result."
267+
"markdownDescription": "Enable BackQuote Filter to only respond to the symbols with commas in the backquote result."
267268
}
268269
}
269270
}

0 commit comments

Comments
 (0)