Skip to content

Added "its" modifier to use with inference #1024

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
Oct 14, 2022
Merged

Added "its" modifier to use with inference #1024

merged 4 commits into from
Oct 14, 2022

Conversation

AndreasArvidsson
Copy link
Member

@AndreasArvidsson AndreasArvidsson commented Oct 10, 2022

"take air past end of its line"

Fixes #736
Fixes #571

Depends on #1033

Checklist

@AndreasArvidsson AndreasArvidsson marked this pull request as ready for review October 10, 2022 15:37
Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woohoo!! Super stoked for this one. You definitely know how to pick 'em 😄

Let's aim to discuss migration path for users who are using "past end of <T>" tomorrow

Also have a look at my changes obv to make sure you're ok with them

@AndreasArvidsson
Copy link
Member Author

AndreasArvidsson commented Oct 10, 2022

I'm fine with your changes, but I'm starting to lean towards just not doing documentation and leave that up to you ;)
Lets talk about the migration path tomorrow.

@pokey
Copy link
Member

pokey commented Oct 11, 2022

I'm starting to lean towards just not doing documentation and leave that up to you ;)

haha I do tend to do a bit of tweaking. super helpful to have the rough draft tho. tbh I don't think I changed that much; just moved it to a different section and did a bit of word-smithing

@AndreasArvidsson
Copy link
Member Author

@pokey Warning message added. Ready for another review.

@pokey pokey force-pushed the its_modifier branch 4 times, most recently from c88373d to 5945f6d Compare October 13, 2022 14:05
@pokey pokey changed the base branch from main to pokey/add-support-for-spying-ide-add-idemessages October 13, 2022 14:05
Comment on lines +24 to +26
ide:
messages:
- {type: warning, id: deprecatedPositionInference}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that we capture the warning message here

@pokey pokey force-pushed the pokey/add-support-for-spying-ide-add-idemessages branch from 7433d71 to 29d5849 Compare October 13, 2022 15:08
Base automatically changed from pokey/add-support-for-spying-ide-add-idemessages to main October 14, 2022 10:48
pokey
pokey previously approved these changes Oct 14, 2022
@@ -1,25 +0,0 @@
import { Listener } from "../../util/Notifier";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this file because we're not actually spying it anyway; no need to write spies for everything if we're not spying them

Copy link
Member

@pokey pokey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok should be good to go now

@pokey pokey changed the title Added its modifier to use with inference Added "its" modifier to use with inference Oct 14, 2022
@pokey pokey merged commit 9195bf2 into main Oct 14, 2022
@pokey pokey deleted the its_modifier branch October 14, 2022 11:32
cursorless-bot pushed a commit that referenced this pull request Oct 14, 2022
* Added its modifier to use with inference

* Fix test failures

* Remove unnecessary spy

Co-authored-by: Pokey Rule <[email protected]>
thetomcraig-aya pushed a commit to thetomcraig/cursorless that referenced this pull request Mar 27, 2024
* Added its modifier to use with inference

* Fix test failures

* Remove unnecessary spy

Co-authored-by: Pokey Rule <[email protected]>
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.

Add "its" modifier Incorrect inference when including a positional modifier
2 participants