Skip to content

Commit e211835

Browse files
committed
Publish prep
1 parent e925657 commit e211835

File tree

4 files changed

+17
-1
lines changed

4 files changed

+17
-1
lines changed

.gitignore

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

assets/help.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,23 @@ When running commands that ask for text input, examples are shown in the textbox
1414

1515
## English examples
1616

17+
The following are declarations, but the same sytax is used for casts if "as" is replaced with "into".
18+
1719
- `foo as int`
1820
- `foo as pointer to int`
1921
- `foo as array 6 of int`
2022
- `foo as pointer to array 6 of int`
2123
- `foo as const int`
2224
- `foo as pointer to const int`
2325
- `foo as const pointer to int`
26+
- `foo as function (x as pointer to char, y as int) returning pointer to int`
27+
28+
29+
Note that some abbreviations can be used. These two are equivalent, for example:
30+
- `foo as function (x as pointer to char, y as int) returning pointer to int`
31+
- `x as func(w as ptr to char, y as int) ret ptr to int`
32+
33+
2434

2535
## Full English syntax
2636

assets/icon.png

2.71 KB
Loading

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
{
22
"name": "vscode-cdecl",
3-
"displayName": "vscode-cdecl",
3+
"displayName": "cdecl: C gibberish to English",
44
"description": "Convert C/C++ gibberish to English, and back again.",
55
"version": "1.0.0",
6+
"icon": "assets/icon.png",
67
"publisher": "kaelin",
78
"engines": {
89
"vscode": "^1.19.0"
@@ -42,6 +43,10 @@
4243
}
4344
]
4445
},
46+
"repository": {
47+
"type": "git",
48+
"url": "https://github.com/WasabiFan/vscode-cdecl"
49+
},
4550
"scripts": {
4651
"vscode:prepublish": "npm run compile",
4752
"compile": "tsc -p ./ && node ./node_modules/marked/bin/marked ./assets/help.md -o ./assets/help.html",

0 commit comments

Comments
 (0)