createWorkspacePaths doesn't check if vscode.workspace.workspaceFolders is undefined or not
Issue #134
new
In this function, vscode.workspace.workspaceFolders can be undefined if no workspace is open. Apart from that, vscode.workspace.textDocuments can be empty, so a proper checking should be done.
At some specific conditions, hard to reproduce, the extension cannot be activated because of this.
Comments (1)
-
repo owner - Log in to comment
Thanks for analyzing this issue. Maybe the extension needs to be activated differently. I need to check first.