jonny
jonny

Reputation: 736

sublime 2 api: list project folders

I am writing a plugin.

What is the 'right' way to get every folder path in opened project? Should I open and parse project file myself?

What I need is 'folders' section in .*sublime-project

Upvotes: 2

Views: 260

Answers (1)

jonny
jonny

Reputation: 736

looks like view.window().folders() is what I want

Upvotes: 1

Related Questions