atom-elmjutsu icon indicating copy to clipboard operation
atom-elmjutsu copied to clipboard

Make Sidekick panel resizable

Open halohalospecial opened this issue 9 years ago • 8 comments

User should be able to drag the edge of the panel to resize it, similar to that of the linter's error panel.

PR welcome :-)

halohalospecial avatar Aug 24 '16 12:08 halohalospecial

Yeah just hit that, when the cursor happens to hit near elm-mdl's Material.Tooltip call the sidekick becomes my entire screen, of which I accidentally clicked inside of, thus focusing the sidekick, thus I could not get it to go away without killing it via command. ^.^

OvermindDL1 avatar Aug 24 '16 14:08 OvermindDL1

I keep getting stuck in a state where I can't do anything because the sidekick is filling the entire screen due to a long doc. I then have to completely quit Atom, losing any unsaved work. Is there a key combo to close or disable the sidekick if this happens?

Setting the sidekick position to right instead of the default position of bottom makes it not fill the entire screen, but puts it in an inconvenient location. Of course having a resizable panel would be ideal - I'm just looking for a quickfix for this particular problem.

mbylstra avatar Dec 25 '16 12:12 mbylstra

The same thing can happen with the sidekick at the right position, if you have record with a lot of fields.

mbylstra avatar Dec 25 '16 12:12 mbylstra

A workaround is to use the keyboard shortcut for closing the current window: Ctrl+w in Windows and Linux, and Cmd+w on Mac.

mbylstra avatar Dec 25 '16 12:12 mbylstra

Hi! You can do one of the ff:

  • Execute Elmjutsu: Toggle Sidekick from the command palette.

  • Bind elmjutsu:toggle-sidekick to a key combo in your ~/.atom/keymap.cson. For example:

'atom-workspace':
  'f1': 'elmjutsu:toggle-sidekick'
  • Configure Sidekick Size in the package settings so that the height (or width) will remain constant.

halohalospecial avatar Dec 25 '16 13:12 halohalospecial

Hi. All of those options are good. Thanks for the help!

mbylstra avatar Dec 26 '16 00:12 mbylstra

Perhaps it could be turned into a Dock?

gampleman avatar Jun 17 '17 10:06 gampleman

Great idea, @gampleman !

halohalospecial avatar Jul 19 '17 11:07 halohalospecial