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

Support alwaysOn: false, and an explicit command #39

Merged
merged 4 commits into from
Jul 25, 2024
Merged

Support alwaysOn: false, and an explicit command #39

merged 4 commits into from
Jul 25, 2024

Conversation

tmcw
Copy link
Member

@tmcw tmcw commented Jul 25, 2024

This makes it possible to turn off "codeium all the time" and manually trigger it instead. If you install and run npm run dev, you can open up a demo of this mode where you have to hit cmd-k to trigger completion. There's no default explicit trigger - it can be added with a keymap like

keymap.of([
      {
        key: "Cmd-k",
        run: startCompletion,
      },
    ]),

@tmcw tmcw requested review from maxmcd and jxnblk July 25, 2024 21:13
src/requestCompletion.ts Outdated Show resolved Hide resolved
@tmcw tmcw merged commit 11a967d into main Jul 25, 2024
1 check passed
@tmcw tmcw deleted the always-on branch July 25, 2024 21:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants