Skip to content

Commit

Permalink
Add a codedox config
Browse files Browse the repository at this point in the history
  • Loading branch information
Gama11 committed Feb 10, 2017
1 parent 0650040 commit ee8c399
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .vscode/settings.json
Expand Up @@ -3,5 +3,13 @@
["build-each.hxml", "-main", "haxeLanguageServer.Main", "-js", "../bin/server.js"]
],
"editor.insertSpaces": true,
"files.trimTrailingWhitespace": true
"files.trimTrailingWhitespace": true,
"codedox": {
"commentprefix": " ",
"commentdescription": "",
"commentend": "**/",
"alwaysMultiline": false,
"paramFormat": "",
"returnFormat": ""
}
}
4 changes: 2 additions & 2 deletions src/haxeLanguageServer/helper/ImportHelper.hx
Expand Up @@ -8,7 +8,7 @@ class ImportHelper {
/**
Gets the first non-empty line (excluding the package declaration if present),
which is where we want to insert imports.
*/
**/
public static function getImportInsertPosition(doc:TextDocument):Position {
var importLine = skipComment(doc);
for (i in importLine...doc.lineCount) {
Expand All @@ -26,7 +26,7 @@ class ImportHelper {
/**
Finds the first line number in a document that is non-empty and
not within a comment.
*/
**/
public static function skipComment(doc:TextDocument):Int {
var retLine = 0;
var bInComment = false;
Expand Down

0 comments on commit ee8c399

Please sign in to comment.