on2-dev / nasc-vscode-mac-touchbar

A customization for your the macbook pro touch bar buttons with features for VSCode.
MIT License
115 stars 34 forks source link

Add more buttons #2

Open felipenmoura opened 7 years ago

felipenmoura commented 7 years ago

Once we got support for the user to customize the buttons (still depending on some fixes in the touchbar support for the vsCode), we could have some extra buttons:

Any other suggestion?

daveshirman commented 7 years ago
omartan commented 7 years ago

Trigger intellisense manually, useful for knowing CSS property has what values.

Right now the shortcut key is control+spacebar

felipenmoura commented 7 years ago

Just published an update adding quite a few extra tools. I hope you enjoy it.

Again, open for suggestions for features (or perhaps, better symbols to use as icons)

felipenmoura commented 7 years ago

Now, in the version 1.8+ we got the chance to GROUP buttons. This way, the user can enable the groups in the settings and have access to all the features. Please try it out and let me know if you face any problem :)

omartan commented 7 years ago

Odd, I don't see the update in VSCode

felipenmoura commented 7 years ago

hm, odd it is! Even if you go to the list of installed extensions? There should be a button for you to look for updates there. When you look for the extension, do you see the updated readme file with a few extra screenshots?

daveshirman commented 7 years ago

Is it easy enough to add these two options:

I use them all the time and the keyboard shortcuts either don't exist or are ridiculous!

felipenmoura commented 7 years ago

Sure, why not. But I'm not sure what are those! I thought those where "increase/decrease indentation". In the list here: https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts

Which one is what you are looking for?

daveshirman commented 7 years ago

I don't know if there is a shortcut for it - it's when you drag a tab to the left or right and it fills half the window, like windows does with window snapping, but inside the app itself.

On Mon, Nov 13, 2017 at 10:06 PM, Felipe Nascimento de Moura < notifications@github.com> wrote:

Sure, why not. But I'm not sure what are those! I thought those where "increase/decrease indentation". In the list here: https://code.visualstudio.com/docs/getstarted/keybindings#_ when-clause-contexts

Which one is what you are looking for?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NascHQ/nasc-vscode-mac-touchbar/issues/2#issuecomment-344074974, or mute the thread https://github.com/notifications/unsubscribe-auth/ANnlXt-J_atQdiQZ8N9pObW_XQaSRjrsks5s2L2BgaJpZM4QNboq .

felipenmoura commented 7 years ago

hm, interesting. I think that is the "split editor", isn't it? I'm guessing these would be the options you are looking for! You want to make it happen and open a PR? If not, I might have time to implement it next weekend.

screen shot 2017-11-13 at 20 20 39
daveshirman commented 7 years ago

Yep those look like the ones. Again, I have no time outside of my projects sorry, all yours! Loving your work :)

On Mon, Nov 13, 2017 at 10:22 PM, Felipe Nascimento de Moura < notifications@github.com> wrote:

hm, interesting. I think that is the "split editor", isn't it? I'm guessing these would be the options you are looking for! You want to make it happen and open a PR? If not, I might have time to implement it next weekend.

[image: screen shot 2017-11-13 at 20 20 39] https://user-images.githubusercontent.com/347387/32752405-31df1e14-c8b0-11e7-8247-79a94bca1bf9.png

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/NascHQ/nasc-vscode-mac-touchbar/issues/2#issuecomment-344078975, or mute the thread https://github.com/notifications/unsubscribe-auth/ANnlXkI4z0LRZ6dD4jv1vZ6P_m5_wSjfks5s2MEjgaJpZM4QNboq .

OliverUrbann commented 6 years ago

I would like to create buttons that just insert some text, e.g. "def". On a german keyboard I have to press option-5 for a [ which is not convenient, so I would also like to have a button for brackets etc.

felipenmoura commented 6 years ago

hm, interesting...we could think of a button that could add whatever you want, so you could configure it in the settings...would that help?

OliverUrbann commented 6 years ago

Actually some hours later I've found BetterTouchTool which exactly provides this feature, sending arbitrary keystrokes with configurable button images. However, it is not context sensitive, so e.g. in my PyCharm setup I have always the debug buttons (step etc.) on the Touch Bar. Here my current setup:

touchbar
felipenmoura commented 6 years ago

Interesting @OliverUrbann and what plugin is that? We might get some inspiration from it (specially if it is open source).

OliverUrbann commented 6 years ago

It's not open source and it is not a plugin. It is a general tool for customizing gestures, touch bar etc. in every app.

felipenmoura commented 6 years ago

I see. Ok, let's see if we can add this feature here, so developers will have their custom controls contextualized to VSCode.

liqwid commented 6 years ago

VSCode reload button( linters/git/jest freeze sometimes) would be nice to have

alexkrolick commented 6 years ago

"Change color theme" would be pretty neat 😄

bnygld commented 6 years ago

Run Selection (F8) would be really useful

felipenmoura commented 6 years ago

Interesting, you mean "run selected text in terminal"?

bnygld commented 6 years ago

Yes and no. Selfishly, I want Powershell.RunSelection but the command for other languages is workbench.action.terminal.runSelectedText I created a fork to try and add it myself but this is my first extension so it's a bit of trial & error at the moment. Watch this space!

piyushgupta1 commented 6 years ago

Organise imports and code auto formatting would also be useful

felipenmoura commented 5 years ago

Yes and no. Selfishly, I want Powershell.RunSelection but the command for other languages is workbench.action.terminal.runSelectedText I created a fork to try and add it myself but this is my first extension so it's a bit of trial & error at the moment. Watch this space!

Did you get it working, @benny-gold ?

robjtede commented 4 years ago

+1 on find all references option, the key combo Option+Shift(+Fn)+F12 is kinda awkward.