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

Re-enable expand to token on empty fallback modifier #2800

Open
AndreasArvidsson opened this issue Jan 30, 2025 · 0 comments
Open

Re-enable expand to token on empty fallback modifier #2800

AndreasArvidsson opened this issue Jan 30, 2025 · 0 comments

Comments

@AndreasArvidsson
Copy link
Member

Once we have a way to detect that the selection is a file in the file explorer we can re enable this feature

Disabled in #2798

@AndreasArvidsson AndreasArvidsson changed the title Reenable expand to token on empty fallback modifier Re-enable expand to token on empty fallback modifier Jan 30, 2025
github-merge-queue bot pushed a commit that referenced this issue Jan 30, 2025
The fallback code we have tells Talon to expand an empty selection to
the containing token. Doing this in the search widget works fine but the
little cursor dance we do to select a token completely messes up the
file explorer when you're trying to copy or paste a file.

#2800

## 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: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com>
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

No branches or pull requests

1 participant