use a general function to get project sublime-project and sublime-workspace