Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more buttons #2

Open
11 of 12 tasks
felipenmoura opened this issue Oct 31, 2017 · 25 comments
Open
11 of 12 tasks

Add more buttons #2

felipenmoura opened this issue Oct 31, 2017 · 25 comments

Comments

@felipenmoura
Copy link
Contributor

felipenmoura commented Oct 31, 2017

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:

  • Rename file (already has an open PR)
  • Duplicate selection/line
  • Find next
  • Select next
  • Toggle "show white spaces"
  • Fold/unfold
  • Toggle block comment
  • Find all references
  • Peek definitions
  • snap tab left (internally to app - not OS)
  • snap tab right (internally to app - not OS)
  • toggleSuggestionDetail (control+spacebar)

Any other suggestion?

@daveshirman
Copy link

daveshirman commented Nov 2, 2017

  • find all references
  • peek definition
  • close all tabs
  • close others
  • snap tab left (internally to app - not OS)
  • snap tab right (internally to app - not OS)

@omartan
Copy link

omartan commented Nov 5, 2017

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

Right now the shortcut key is control+spacebar

@felipenmoura
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link

omartan commented Nov 7, 2017

Odd, I don't see the update in VSCode

@felipenmoura
Copy link
Contributor Author

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
Copy link

daveshirman commented Nov 13, 2017

Is it easy enough to add these two options:

  • snap tab left (internally to app - not OS)
  • snap tab right (internally to app - not OS)

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

@felipenmoura
Copy link
Contributor Author

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
Copy link

daveshirman commented Nov 13, 2017 via email

@felipenmoura
Copy link
Contributor Author

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
Copy link

daveshirman commented Nov 13, 2017 via email

@OliverUrbann
Copy link

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
Copy link
Contributor Author

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
Copy link

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
Copy link
Contributor Author

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

@OliverUrbann
Copy link

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
Copy link
Contributor Author

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

@liqwid
Copy link

liqwid commented Dec 21, 2017

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

@alexkrolick
Copy link

"Change color theme" would be pretty neat 😄

@bnygld
Copy link

bnygld commented May 1, 2018

Run Selection (F8) would be really useful

@felipenmoura
Copy link
Contributor Author

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

@bnygld
Copy link

bnygld commented May 8, 2018

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
Copy link

Organise imports and code auto formatting would also be useful

@felipenmoura
Copy link
Contributor Author

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants