-
Notifications
You must be signed in to change notification settings - Fork 9
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
Keyboard Shortcut for Create Test File #13
Comments
It's a bit more complicated that the one above. The one above is a global action, while we want to add a shortcut for a very contextual action (when class identifier is under cursor). If we want to add a command (to later assign a shortcut for that), we should first thing of the flow and when it's available. Today you can also see whether you create or browse an existing test. If we give a shortcut - we might create tests when people just wanted to explore the existing. So not so trivial.. |
Totally fine. It should be a "navigate to test location" shortcut. If it doesn't exist, create the file. If it exists, then visit it. :) TestCop has this functionality, and so did TestLinker when it was maintained. Neither of them were/are as precise as your project, however. 😁 That is, neither of them paid attention to the actual class it was in but rather only the class file. IMO if you press a keyboard shortcut it should consider where the cursor currently rests. That is my expectation, however. |
Would you expect this shortcut to work only if cursor is on a class name identifier (where you have a quick action today), or if cursor is anywhere within a file? If that would be on a file identifier only - would it be fine to you? |
I would prefer it to be anywhere within a |
I was coming here to look for the same possibility of a keyboard shortcut for this feature. |
Does this exist? Is it possible? :) :) :)
FWIW this is all I see:
The text was updated successfully, but these errors were encountered: