Sublime Forum

On Mac, Sublime always a new instance (when opening via Joplin)

#1

I’m not sure if I should post this here or to the Joplin forum, but I’m starting here first.

Whenever I open a markdown file Sublime via Joplin on Mac, Sublime opens the file in a new window. What’s weirder is that I think that these windows are separate instances. When I try to drag one of the tabs from the new window onto an older tab, nothing happens. Also, they each have their own separate icon in the dock.

I have the “always open in a new window” setting set to false (I’ve also tried setting it to “always,” as well as “never”), and that doesn’t help.

What issue could this be? Is there a command line argument which Joplin should pass when opening a markdown file in Sublime?

0 Likes

#2

I’m guessing Joplin is running the main executable (sublime_text) instead of the command line tool (subl).

0 Likes

#3

Yes. I switch to subl (and it fixed the tab issue), but now I’m getting a memory leak issue. Sublime is using up to 1000 mb of RAM.

0 Likes

#4

That sounds unrelated. Can you be more specific as to how you trigger this memory leak? Does it happen if you launch Sublime Text outside of Joplin?

0 Likes