Sublime Forum

Error reading project ... failed to open file

#1

I can open the file directly in sublime, but when I try

window.runCommand('openBrowseableProject "\\development\w$\project\sublime.xml"')

I get an error …

Any ideas?

0 Likes

#2

Have you tried escaping all “” like so “\”?

I think that might help.

0 Likes

#3

Also, you can do view.runCommand(‘openBrowsableProject’, “path/to/project”]). That’s probably the preferred way to call runCommand.

0 Likes

#4

I’ve just noticed that you aren’t using the standard .sublime-project extension. Is there a reason for that? Sublime seems to be able to read both, at least from Project > Open project, though.

0 Likes