-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Originally reported by @LeoZieger
Repro
Open a file test.effekt in a new folder, never before seen by VSCode:
FOLDER=$(mktemp -d); cd $FOLDER; code test.effektThen put the following into the file:
def main() = println("Hello world")
and click the |> Run button above the main.
The output of the above is an error:
Variable
workspaceFoldercan not be resolved. Please open a folder.
Context
Everything works fine if you open the enclosing folder, only then create the file in VSCode.
We do seem to use workspaceFolders (plural) in a number of places: https://github.com/search?q=repo%3Aeffekt-lang%2Feffekt-vscode%20workspaceFolder&type=code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working