Skip to content

Disable Cursorless for vscode file dialogs #2749

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

Merged
merged 4 commits into from
Jan 25, 2025
Merged

Disable Cursorless for vscode file dialogs #2749

merged 4 commits into from
Jan 25, 2025

Conversation

AndreasArvidsson
Copy link
Member

@AndreasArvidsson AndreasArvidsson commented Jan 24, 2025

File dialogs interfere with the command server keypress. Commands like "paste to line" just ends up with a timeout error in the talon log and nothing happens.

I have been running with this in my own fork of cursorless Talon for a while to test it out and I'm happy with the result.

Checklist

  • [/] I have added tests
  • [/] I have updated the docs and cheatsheet
  • [/] I have not broken the cheatsheet

@AndreasArvidsson AndreasArvidsson requested a review from a team as a code owner January 24, 2025 10:29
@phillco
Copy link
Member

phillco commented Jan 25, 2025

NB: quickly tested on macOS; there, they don't use the operating system pickers for these, they show a custom fuzzy picker UI. I was actually surprised that they don't do this on windows. When this view is shown the window title doesn't change, but we also don't need to change the command ever behavior, so it works out.

Screen Shot 2025-01-25 at 11 23 31 AM

@phillco phillco enabled auto-merge January 25, 2025 19:24
@phillco phillco added this pull request to the merge queue Jan 25, 2025
Merged via the queue into main with commit 181cd9f Jan 25, 2025
15 checks passed
@phillco phillco deleted the fileDialogs branch January 25, 2025 19:46
cursorless-bot pushed a commit that referenced this pull request Jan 25, 2025
File dialogs interfere with the command server keypress. Commands like
`"paste to line"` just ends up with a timeout error in the talon log and
nothing happens.

I have been running with this in my own fork of cursorless Talon for a
while to test it out and I'm happy with the result.

## Checklist

- [/] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [/] I have updated the
[docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and
[cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
- [/] I have not broken the cheatsheet

---------

Co-authored-by: Phil Cohen <phillip@phillip.io>
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