-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
handle comments better, auto-create file if it doesn't exist
- Loading branch information
1 parent
8659802
commit 267b7fa
Showing
4 changed files
with
83 additions
and
26 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
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 |
---|---|---|
|
@@ -28,6 +28,6 @@ | |
}, | ||
"dependencies": { | ||
"comment-json": "^1.1.3", | ||
"json-stable-stringify": "^1.0.0" | ||
"prepend-file": "^1.3.0" | ||
} | ||
} |
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,14 @@ | ||
/* | ||
// Place your snippets for $(languageId) here. Each snippet is defined under a snippet name and has a prefix, body and | ||
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | ||
// $1, $2 for tab stops, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected. | ||
// Example: | ||
"Print to console": { | ||
"prefix": "log", | ||
"body": [ | ||
"console.log('$1');", | ||
"$2" | ||
], | ||
"description": "Log output to console" | ||
} | ||
*/ |
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,9 @@ | ||
x handle comments in json file | ||
(A) TODO figure out why parsing doesn't work sometimes | ||
x TODO create file if it doesn't already exist | ||
x TODO Add comments to generated json | ||
(B) TODO fix tab / spaces parsing code | ||
(B) TODO add unit tests | ||
(A) TODO cleanup | ||
(B) TODO readme | ||
(B) TODO publish extension |