Comments (8)
With the recent addition of the OpenAI chat feature, I suggest a couple of key bindings for the chat-specific feature.
CoPilot -> Chat with Selection: ⌥"
CoPilot -> Explain Selection: ⌥|
Again, using ⌥⇧ as the "access" key combination for these bindings.
The rationale for these bindings...
Chat: Using the 'quote' symbol for starting an OpenAI chat session has an analogy to starting a conversation with OpenAI where the initial question is about the selected (or quoted) text.
Explain: Using the 'pipe' symbol for starting an OpenAI session to explain the selected code has an analogy with command line tools (e.g. grep) for 'piping' text to another command so that additional processing of the code/selection can happen.
These bindings do not seem to conflict with standard key bindings used on Xcode.
I am using an English-UK keyboard layout, so the keys used may not be suitable for all languages/regions.
@intitni Do you think this could be added to the README?
from copilotforxcode.
Thanks for sharing, I don't think we can add default key bindings to commands, but will add this recommendation to readme.
from copilotforxcode.
A key binding section is added to README.md with your recommendation.
from copilotforxcode.
i think add this key bindings is very helpful for me, thanks @KieranConlon and hope can add into README
from copilotforxcode.
from copilotforxcode.
They are now added to readme
from copilotforxcode.
xcode setting did not show the CoPilot key bindings. Anyone know Why? and my codeium works well , i just cant search copilot in setting keybindings
from copilotforxcode.
@13088992520 Please make sure you have enabled the source editor extension https://github.com/intitni/CopilotForXcode#enable-the-extension
from copilotforxcode.
Related Issues (20)
- [Bug]: No copilot keybindings in Xcode > Settings > Keybindings HOT 1
- [Bug]:The operation couldn't be completed. (LanguageServerProtocol.ServerError error 13.) HOT 1
- [Help Wanted]: No API Key? HOT 5
- [Help Wanted]: I set a shortcut key for Get Suggestions and used it, but it didn't work and there were no pop ups HOT 6
- [Help Wanted]: How to use self-signed certificates with GitHub Copilot HOT 5
- [Bug]: OpenRouter support seems broken HOT 12
- [Bug]: Previous/Next suggestion command dismisses the suggestion HOT 3
- [Enhancement]: Add Google's Gemini support HOT 2
- [Enhancement]: Have scope-type chat inherit main chat model HOT 2
- [Bug]: GitHub Copilot Language Server install issue. HOT 2
- [Enhancement]: Use Github Copilot Chat Model rather than API HOT 1
- [Enhancement]: Claude 3 Support. HOT 1
- [Bug]: Copilot Overlay is stretched when Xcode is in full screen and mission control is shown
- [Bug]:License Verification Failure (<!DOCTYPE html>...) HOT 9
- [Enhancement]: Make prompt-to-code window resizable HOT 2
- [Bug]: File page jumped after accepting suggestions HOT 1
- [Bug]: Chat window off screen HOT 1
- [Help Wanted]: xcode editor extension does not show up HOT 3
- [Enhancement]: Detect system-wide proxy setting HOT 2
- [Bug]: GitHub Copilot Language Server loading issue. HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from copilotforxcode.