Skip to content

How do I get the currently opened folder? #13604

Answered by msujew
dagoston93 asked this question in General
Discussion options

You must be logged in to vote

Hey @dagoston93,

even just a folder is still a workspace. Therefore, using WorkspaceService is still correct. You should be able to use the roots property to get all currently open folders (even if it is just one).

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dagoston93
Comment options

Answer selected by dagoston93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants