Atom.setSize() doesn't work


In my package specs, I want to change size of editor window. I used the command :


I found out that the function doesn’t work when window is maximized, and afaik, the command :'filename')
opens the file in maximized window by default.


Things run differently in package specs for efficiency’s sake. There isn’t a real DOM in place by default and so some things don’t work like they would in a normal Atom window.

Also, opens the file in the current window. Any other Atom window is a separate process and there isn’t a built-in way to communicate between Atom windows.