Skip to content

Commit

Permalink
Publish prep
Browse files Browse the repository at this point in the history
  • Loading branch information
WasabiFan committed Jan 1, 2018
1 parent e925657 commit e211835
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ node_modules
.vscode-test/
*.vsix
assets/*.html
*.ai
10 changes: 10 additions & 0 deletions assets/help.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,23 @@ When running commands that ask for text input, examples are shown in the textbox

## English examples

The following are declarations, but the same sytax is used for casts if "as" is replaced with "into".

- `foo as int`
- `foo as pointer to int`
- `foo as array 6 of int`
- `foo as pointer to array 6 of int`
- `foo as const int`
- `foo as pointer to const int`
- `foo as const pointer to int`
- `foo as function (x as pointer to char, y as int) returning pointer to int`


Note that some abbreviations can be used. These two are equivalent, for example:
- `foo as function (x as pointer to char, y as int) returning pointer to int`
- `x as func(w as ptr to char, y as int) ret ptr to int`



## Full English syntax

Expand Down
Binary file added assets/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"name": "vscode-cdecl",
"displayName": "vscode-cdecl",
"displayName": "cdecl: C gibberish to English",
"description": "Convert C/C++ gibberish to English, and back again.",
"version": "1.0.0",
"icon": "assets/icon.png",
"publisher": "kaelin",
"engines": {
"vscode": "^1.19.0"
Expand Down Expand Up @@ -42,6 +43,10 @@
}
]
},
"repository": {
"type": "git",
"url": "https://github.com/WasabiFan/vscode-cdecl"
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ && node ./node_modules/marked/bin/marked ./assets/help.md -o ./assets/help.html",
Expand Down

0 comments on commit e211835

Please sign in to comment.