apex-ui icon indicating copy to clipboard operation
apex-ui copied to clipboard

Tree tab wtf?

Open tj opened this issue 8 years ago • 3 comments

not sure where this came from, but it's bumping the tree down

screen shot 2017-06-12 at 7 55 37 pm

tj avatar Jun 13 '17 02:06 tj

hmm the active tab is no longer black either.

tj avatar Jun 13 '17 03:06 tj

seems like a state issue in Atom, it thinks the active pain is not active

tj avatar Jun 13 '17 16:06 tj

Yeah, here's the relevant Atom issue for the active pane problem: https://github.com/atom/atom/issues/14283

One work-around is to open and close a pane when Atom starts:

openNewPane = ->
  atom.workspace.open(null, { split: "right" })
closeActivePane = ->
  atom.workspace.getActiveTextEditor().destroy()
defer = (fn) ->
  setTimeout fn, 1
openThenClose = ->
  openNewPane().then ->
    defer closeActivePane

defer openThenClose

luca-aurelia avatar Apr 19 '18 20:04 luca-aurelia