Skip to content

Commit

Permalink
修正注释描述问题
Browse files Browse the repository at this point in the history
  • Loading branch information
rectcircle committed Jun 1, 2018
1 parent 0eb74ef commit 38c4779
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 6 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The purpose of this extension is to make vscode create various types of files li
- [x] HTML5
- [x] CSS
- [x] JavaScript(JQuery)
- [ ] JavaScript(Other Web framework)
- [ ] JavaScript(Other Web framework:vue and React)
- [x] C/C++ project support
- [x] Class (generate .cpp and .h)
- [x] Two ordinary files (.c or .cpp and .h)
Expand Down Expand Up @@ -166,7 +166,7 @@ Use custom snippet to create a file configuration
- [x] HTML5
- [x] CSS
- [x] JavaScript(JQuery)
- [ ] JavaScript(其他Web前端框架)
- [x] JavaScript(其他Web前端框架:vue、React)
- [x] C/C++项目支持
- [x] Class(生成.cpp和.h)
- [x] 普通的两种文件(.c或.cpp和.h)
Expand Down
1 change: 1 addition & 0 deletions src/template/Java/Comments.art
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{if comments.enable}}/**
* {{comments.description}}
*{{each comments.items}}{{if comments[$value]}}
* @{{$value}} {{comments[$value]}}{{else}}
* @{{$value}}{{/if}}{{/each}}
Expand Down
1 change: 1 addition & 0 deletions src/template/c-cpp/ClassHeader.art
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{if comments.enable}}/**
* {{comments.description}}
*
* @file {{fileName}}.h{{include './Comments.art'}}
*/{{/if}}
Expand Down
3 changes: 2 additions & 1 deletion src/template/c-cpp/ClassSource.art
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{if comments.enable}}/**
*
* {{comments.description}}
*
* @file {{fileName}}.cpp{{include './Comments.art'}}
*/{{/if}}

Expand Down
3 changes: 1 addition & 2 deletions src/template/c-cpp/Comments.art
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{{each comments.items}}{{if comments[$value]}}
* {{comments.description}}
{{each comments.items}}{{if comments[$value]}}
* @{{$value}} {{comments[$value]}}{{else}}
* @{{$value}}{{/if}}{{/each}}
1 change: 1 addition & 0 deletions src/template/c-cpp/Header.art
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{if comments.enable}}/**
* {{comments.description}}
*
* @file {{fileName}}.h{{include './Comments.art'}}
*/{{/if}}
Expand Down
3 changes: 2 additions & 1 deletion src/template/c-cpp/Source.art
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{{if comments.enable}}/**
*
* {{comments.description}}
*
* @file {{fileName}}.cpp{{include './Comments.art'}}
*/{{/if}}

Expand Down
1 change: 1 addition & 0 deletions src/template/c-cpp/cHeader.art
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{if comments.enable}}/**
* {{comments.description}}
*
* @file {{fileName}}.h{{include './Comments.art'}}
*/{{/if}}
Expand Down
1 change: 1 addition & 0 deletions src/template/c-cpp/cppHeader.art
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{if comments.enable}}/**
* {{comments.description}}
*
* @file {{fileName}}.h{{include './Comments.art'}}
*/{{/if}}
Expand Down

0 comments on commit 38c4779

Please sign in to comment.