-
-
Notifications
You must be signed in to change notification settings - Fork 84
Migrated notebook cell modifier to scope handler #1571
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree we should try a simple migration here before doing something fancy, but this feels pretty hacky to me. Let's discuss
...ges/cursorless-engine/src/processTargets/modifiers/scopeHandlers/NotebookCellScopeHandler.ts
Outdated
Show resolved
Hide resolved
...ges/cursorless-engine/src/processTargets/modifiers/scopeHandlers/NotebookCellScopeHandler.ts
Outdated
Show resolved
Hide resolved
I'm having a problem reconciling the two different types |
Ah right forgot about that. There's code in our VSCode impl that deals with some of that fwiw |
Yeah but in a scope handler things should be quite generic so this is quite a pickle |
looks like that "to discuss" label didn't stay away for long 😄 |
Nope this one was a bit devious. Definitely not a good first issue! :D I think that we probably need to add a bit of notebook information to the edit interface. The other option is to have vscode specific implementations in the scope handler and I know what we both feel about that. |
To be honest I don't really have the time to do a lot of notebook stuffs at the moment. I think we should either just merge the simpler version I had initially, we can still throw an error on the iteration scope. Or just close this for now. |
Feel free to assign it to me and I'll take a look when I get a minute |
I don't think that this is a priority at the moment |
Fixes #1053
Checklist