[Pas2js] Pas2JS-VSCode

Michael Van Canneyt michael at freepascal.org
Thu Jan 28 16:49:40 CET 2021


On Thu, 28 Jan 2021, heliosroots wrote:

> Create or select a directory before, CTRL + O

CMD-O on mac ;-)

> Then create the project ....

That seems to work, compiling also works, thanks !

Maybe the plugin can check if a workspace has been opened, if not, a window.showOpenDialog
can be used to open a directory and with the returned URI

let success = await commands.executeCommand('vscode.openFolder', uri);

Something like it...

Michael.


More information about the Pas2js mailing list