-
-
Notifications
You must be signed in to change notification settings - Fork 455
Move IAsyncReloadable.cs, IReloadable.cs, ISavable.cs to IFeatures #563
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
|
How are we planning to use IFeatures? |
All good, I just read the code lol |
|
Could we rename Feature.cs to Features.cs please |
|
Do we want to also move the other interfaces in to Features.cs or keep them separate? |
Before you do this actually, will it break plugins ? |
I test the Dictionary plugin, and it works. Not a lot plugin has implemented these interfaces. |
I am not sure about this, but we should choose one throughoutly. Move all interface to one file or separate all of them. |
|
Will take a look now. |
|
It is reproducible with current dev branch, but not reproducible with the pre-release build. Interesting |
|
It is reproducible with current dev branch, but not reproducible with the pre-release build. I think the reason is that the release build already maintain a Sqlite.Interop.dll in the runtime, while when we load the plugin, we didn't load the runtime. |
|
@jjw24 It's debug only issue, so won't stop us from checking this branch. By the way, shall we add publishprofile to dotnet template? |
|
publish profile for dontet template? dont think so, plugins releases zip file, what would be the need for a publish profile? |
|
i renamed Features.cs. Checked that the only external plugins that uses interfaces from there are WindowWalker and Dictionary. |
oh you mean the github workflow file? then yes |
No, I mean auto create a publishprofile targeting the Net 5 and with runtime specification win-x64. Or else some native files like the Sqlite.Interop.dll will still reproduce the issue. |
|
Though I think we can include a powershell script for creating release, and add the publish argument there. |
And the everything plugin. |
…her into IFeatureExpand
yep everything plugin tested as well, is good. |
maybe a powershell better? dont think many will use publishprofile |
|
can you see if you can replicate this: in my ide vs 2019 in debug mode, when i turn on enable suggestions from google, no results are showing anymore. using the tray icon and going into settings to switch it off then restart, results come back again |
possibly related to adding the cancellation token check in mainviewmodel |
|
i dont think we should move interfaces into one file, hard to find them. Maybe just move them into the Interfaces folder and keep them seperate. If we keep in one file when we add more interfaces, it's going to be a big file in the future i think |
will check soon or tomorrow |
|
I found out why you can reproduce the cancellation bug. Setting one of the web search with global wildcard with search source suggestion will reproduce the issue consistently. |
|
let's keep the interfaces in the Interfaces folder :) |



Also add a Cancellation Token field to ResultUpdatedEventArgs