-
Notifications
You must be signed in to change notification settings - Fork 765
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
VSCode - missing ide.talon functionality + re-evaluate #165
Comments
Some outside perspective: for me, |
@brxck Thanks. Was your issue more the use of actions, rather than e.g. shortcuts directly for commands? e.g.,
vs
I’m not sure this change would help with this too much. (Some of the action names will be renamed/relocated either way). We’ve got three options for cross-platform support at the moment:
#3 reduces the obfuscation, but is a bit klunky. #2 was the recommendation early on, so here we are. 😱 Thoughts? |
To put it simply, it's harder to learn when the command and the result aren't colocated. Of course that's not really easily remedied if you want to implement an abstract set of commands... I wonder if the
could become
I think that would solve the problem I bring up here entirely. As far as cross-platform support goes: I started working on this for myself today, I wonder what you think of it? I'm mapping to the command ids and activating them using the command palette, which has a couple benefits:
By inserting text with the clipboard, it functions just as quickly as the keyboard shortcuts. In my experience, the command palette is never even visible. The only problem I've run into is with contextual commands. If you try to use one outside of its context it will stick in the command palette which reads "No available commands." Doesn't happen often, but not ideal. |
I'll poke around on the help suggestion, I think that's a great idea. Yeah, I've been using the command palette for more stuff recently, so I agree that's likely a better way to go wherever possible. (So much is common between the IDEs that I don't want to give up on ide.talon just yet, but I'm close) |
@brxck I'm liking your approach more. I think some combo of is likely the best approach. For (1), I've done this: The last pieces I'm thinking about are:
I think this approach is probably more reasonable now that we have tags. |
Awesome. Modularizing using tags is a really great idea. VSCode's git commands are pretty extensive, it could be possible to combine those... but sharing CLI commands could be complicated by the integrated terminal. Also one thing I will say about my approach is that utilizing the clipboard can be sort of flaky. I haven't yet asked @lunixbochs if there's a better way to handle the need for immediate text insertion, but that would be worth pursuing. |
Notes to self The following can probably be broken out of ide.talon in a useful way via tags.
Also, once the above is done, jetbrains and vscode should probably go their separate ways (i.e., ide.talon is no more) |
- Move much of the VSCode grammar over to brxck's (https://github.com/brxck/talon-config) - Cross-platform support enabled via the use of vscode's command palette for most things. - Switch to brxck's grammar for multi-cursor support. Addresses #165.
@brxck - FWIW, I moved over to your implementation for VSCode, including the majority of your grammar for vscode. Thanks for sharing that, I think it's much better. |
The following are not yet implemented for VSCode.
The text was updated successfully, but these errors were encountered: