Fix some vscode extension template bugs

This commit is contained in:
2023-04-09 08:51:43 -06:00
parent 6272376fde
commit f63af29bc0
2 changed files with 2 additions and 1 deletions

View File

@@ -215,6 +215,7 @@ class Main {
var makeFileForNewProject:haxe.Constraints.Function = _makeFileForNewProject.bind(kissVscodeApiLibPath, _, workingDir, title, pkg); var makeFileForNewProject:haxe.Constraints.Function = _makeFileForNewProject.bind(kissVscodeApiLibPath, _, workingDir, title, pkg);
var makeFolderForNewProject:haxe.Constraints.Function = _makeFolderForNewProject.bind(kissVscodeApiLibPath, _, workingDir, title, pkg); var makeFolderForNewProject:haxe.Constraints.Function = _makeFolderForNewProject.bind(kissVscodeApiLibPath, _, workingDir, title, pkg);
makeFolderForNewProject(["src"]); makeFolderForNewProject(["src"]);
makeFolderForNewProject([".vscode"]);
makeFileForNewProject([".gitignore"]); makeFileForNewProject([".gitignore"]);
makeFileForNewProject([".vscodeignore"]); makeFileForNewProject([".vscodeignore"]);
makeFileForNewProject(["README.md"]); makeFileForNewProject(["README.md"]);

View File

@@ -5,7 +5,7 @@
(function activate [:ExtensionContext context] (function activate [:ExtensionContext context]
(printThroughInfoMessage) (printThroughInfoMessage)
// Add your extension's commands here with (defCommand <...>): // Add your extension's commands here with (defCommand <...>):
// (defCommand context yourExt.exampleCommand "An example command for your extension" "C-; C-1" [] (doSomething)) // (defCommand context exampleCommand "An example command for your extension" "C-; C-1" [] (doSomething))
// Add your extension's configuration here with (defConfiguration <...>): // Add your extension's configuration here with (defConfiguration <...>):
// (defConfiguration // (defConfiguration