Sublime Forum

Optional top icon bar

#1

Would be good if ST allows a new top icon bar (like atom), this could be very useful when you use a plugin or a function often, it’s true you have the shortcuts but not everyone remember the shortcuts of each plugin, the idea is something like this:

sublime bar

Basically each icon run a command, the icons and the position would be defined by the developer. The bar should be optional so there wouldn’t be problems with plugins not using it

1 Like

#2

. No toolbar available?
. Toolbar Please
. Toolbar :cry:
. The only features of Atom text editor Sublime needs

Whatever, I firmly believe the idea of putting a toolbar on top or on bottom is bad, because HEIGHT is the most valuable space… So, a vertical toolbar. I would even in favor of removing the statusbar.

1 Like

#3

The last link has an interesting option just I’m not sure how comfortable can be to add icons in the menu bar.

The second option/image doesn’t added any extra HEIGHT space, plus this toolbar wouldn’t be a mandatory, so I think It won’t be a huge problem, also it could have the possibility to hide it.

I’ll take a look in the ideas suggested in the last link, thanks!

0 Likes

#4

The second option/image doesn’t added any extra HEIGHT space,

The second picture uses the tab bar, tab bar is for tabs! And does limits the amount of space available for icons.

plus this toolbar wouldn’t be a mandatory,

So we without enough HEIGHT no toolbar…? A vertical toolbar! :stuck_out_tongue:

so I think It won’t be a huge problem, also it could have the possibility to hide it.

<<

You welcome

0 Likes

#5

you can use the idea from https://github.com/titoBouzout/Toolbar and unicode 2600–26FF, 2700–27BF and 1F300–1F5FF ranges to create an own “toolbar” appended to the default menu

0 Likes

#6

I would really like to see some sort of api for creating clickable gui elements within sublime. I have switched to always using full screen without a menu or sidebar, but most of the users I support at my work are mouse driven and do not remember the key combinations very well (believe me, I have tried to show them the way of the keyboard…).

I think this would be a very big benefit for plugins like debuggers where the user could step through the code. We use a very uncommon language on my work which comes with a command line debugger (yuck!). I would like to be able to create a gui to interact with the debugger preferably through sublime. I am sure there are plenty of other use-cases that I am not thinking about,

I know this would take some significant changes to implement, but I think it would be a worth while investment of time. We have started to go down the path of adding icons to the status bar with the panel switcher that was added recently. Maybe that area could be the home for icons? Jon (and now with the addition of @wbond) has always done a great job finding the middle ground in my opinion so I am sure the sublime team will come up with a good solution if they decide to pursue this feature.

0 Likes

#7

Thanks @valerij I’ve seen the example, it can work for now, but as @huot25 says there are some cases where have the icon in the default menu is not enough, I also work with a plugin where you need constantly debug and click elements, we know it’s not the case of everyone, that is why this kind of feature have to be optional.

0 Likes

#8

Don’t use mouse, use keyboard shortcut, so much quicker !

I know people love using the mouse, but it should remain optional for those who don’t use the mouse (like me) and want to keep the interface as simple as possible.

0 Likes

#9

I agree with making it optional. For those that want to use the GUI, we could have an api to create gui components, and for those that are comfortable with the key board then key combinations could be assigned to the command that would get fired.

0 Likes

#10

silly idea, but:

couldnt one abuse the HTML popups to create a toolbar by displaying links with images somewhere on top and handle on_navigate to trigger commands?

view.show_popup('<a href="reindent"><img src="…"></a>',location=?, on_navigate=trigger)
0 Likes

#11

Agree, I mainly use shortcuts but when working on 10+ softwares in a day we can’t remember all shortcuts, especially functions that we don’t use everydays. There is even some functions in ST that are usefull but I never use because I forget they even exist.

So, I would definitely add a small icons toolbar, maybe vertically on the right with a switch in a menu to show/hide the bar.

0 Likes

#12

@valerij I tried something like you suggest but It didn’t work to me, the png icon never is diplayed

0 Likes

#13

Idea from

Forked from

View 1

[scrns/Iconic1.png]

At this moment icons work well, but a few issues would be greatfull to perform:

  1. Nice to get a tooltip like “Save file” when hover mouse above the button. “SOS” or “Help” wellcome ;
  2. Nice to insert this toolbar in second row like submenu, #preview2 which possible to set this toolbar either “visible” or not independent from main toolbar. The last button “toggle toolbar” presently hide all the menu together with this. The idea is to use two menus, only how to realize – no idea in this moment;

View 2

[scrns/Iconic2.png]

  1. Like a best option the icon’s will be much better viewed if render from url’s like small png, svg images. Font symbols now looks like from XX century. However, even adding colors to symbols will improve. Can you help (advise)?
  2. Generally I’m very interested Sublime and gonna learn about it’s architecture, built-in system and Core. Please direct me where to start from, for understanding a bit dipper that use of package control.

Fork is here

☭☭☭☭

0 Likes