Skip to content

Add extension side of "subject" scope type #1148

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 13 commits into from
Dec 15, 2022

Conversation

pokey
Copy link
Member

@pokey pokey commented Nov 18, 2022

Checklist

  • Add Typescript
  • Add C
  • Add C#
  • I have added tests
  • I have updated the docs and cheatsheet
  • I have not broken the cheatsheet

Co-authored-by: Michael Doronin [email protected]

This was referenced Nov 18, 2022
@pokey pokey force-pushed the pokey/add-subject-scope-type branch from 091b73c to 252ca38 Compare November 18, 2022 17:34
@pokey pokey force-pushed the pokey/add-subject-scope-type branch from 252ca38 to bbc1ca4 Compare November 18, 2022 18:15
@pokey pokey force-pushed the pokey/add-subject-scope-type branch from 4fdee59 to d887aae Compare December 14, 2022 14:11
@pokey pokey marked this pull request as ready for review December 14, 2022 14:11
@pokey pokey changed the title Add subject scope type Add "subject" scope type Dec 14, 2022
@AndreasArvidsson
Copy link
Member

Is this scope type actually needed? Couldn't you just use a hat?

@pokey
Copy link
Member Author

pokey commented Dec 15, 2022

As discussed in meet-up:

  • Remove Python side, because it's not clear how useful this one is, and we don't want to lock ourselves into a new scope type in csvs
  • Rename subject to switchStatementSubject so that we can aggregate it into something bigger in the future

@pokey pokey changed the title Add "subject" scope type Add extension side of "subject" scope type Dec 15, 2022
@AndreasArvidsson AndreasArvidsson merged commit 312a7f2 into main Dec 15, 2022
@AndreasArvidsson AndreasArvidsson deleted the pokey/add-subject-scope-type branch December 15, 2022 17:55
pokey added a commit that referenced this pull request Dec 21, 2022
- Partially addresses
#1172
- Waiting to add Talon side until we're more confident in this scope
type
- Split from #831

## Checklist

- [x] Add Typescript
- [x] Add C
- [x] Add C#
- [x] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [x] 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)
- [x] I have not broken the cheatsheet

Co-authored-by: Michael Doronin <[email protected]>

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Andreas Arvidsson <[email protected]>
@wenkokke
Copy link

Is this scope type actually needed? Couldn't you just use a hat?

What if the subject was a complex expression?

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.

3 participants