language_selector: Auto-select current language when opening#48475
language_selector: Auto-select current language when opening#48475SomeoneToIgnore merged 4 commits intozed-industries:mainfrom
Conversation
|
Before: 2026-02-05.21.02.07.movAfter: 2026-02-05.20.59.11.movWhen opening the language selector with an empty query, automatically |
SomeoneToIgnore
left a comment
There was a problem hiding this comment.
Looks like a nice improvement, thank you.
Can we have a test for this one to ensure this does not break in the future?
I think we could create a FakeFS project with 2 files of a different language + an empty buffer (so, 3 different files in general), and we can open the language modal on each such file to assert what's selected.
|
Hi @SomeoneToIgnore , The test unit has been added. Please review it. |
SomeoneToIgnore
left a comment
There was a problem hiding this comment.
Thank you a lot!
|
Hm, I think the new right way to do things is via Otherwise, as soon as the tests start to pass, happy to merge this. |
Signed-off-by: Xiaobo Liu <cppcoffee@gmail.com>
e45c041 to
98c8382
Compare
788f575 to
28b882b
Compare
Head branch was pushed to by a user without write access
Release Notes: