-
-
Notifications
You must be signed in to change notification settings - Fork 976
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
Select items by import paths #5518
base: main
Are you sure you want to change the base?
Conversation
Could you add a test for this? |
Sure, but leave me some time to learn and write it :). |
I added a test, but unluckily it also passes on main branch.. typst/crates/typst-ide/src/matchers.rs Line 280 in 54fcdcf
I don't know how do we test matchers with multiple files or extending IDE test framework is out of scope of this PR. How do you think of it? |
The |
I see. We shall create a migration PR first and come back to this PR then. |
@Myriad-Dreamin I'm taking care of the migration right now. |
Done: #5602 |
It is not tested, but I think we are only getting the value from some module by the first component of an import item, so it doesn't check the following code correctly: