How can I open a new TextEditor tab? (using the Tabs package)


#1

I’m trying to develop a package which opens new TextEditor tabs with custom content. I need to know how to do this, but the docs don’t say anything about it (and the code is ridiculously long and complex). Does anyone know?


#2

You can use the atom.workspace.open method:


#3

Thanks! I’m now well on my way to releasing version 0.1.0 of my package! :slight_smile: