Known issue: The app may freeze when getting suggestions! Looking into it now!
-
I have added a new presentation mode called 'Floating Widget', which can be turned on from the host app. In this mode, suggestions will be presented in a floating window next to a floating widget.
The floating widget will stay at the bottom of the editor area and will automatically move left or right if there is not enough space for the suggestion window.
If a suggestion is presented, you can click on the widget to hide/show it.
- Real-time suggestions have been improved with the following tweaks:
- It can now be triggered without requiring Input Monitoring permissions. However, if you want to enable the cancellation feature using esc or mouse click, Input Monitoring is still necessary.
- The likelihood of the editor being blocked has been significantly reduced. Blocking will only occur at most once for each file after each restart of the extension. Once a command has been executed and some information is cached, the extension will be able to trigger real-time suggestion using a different method that doesn't cause any blocking.
- Replace the display link with
AXObserver
for better performance. - Fix that the settings in the host app were not reflecting the real settings.
- And maybe something else I don't remember.
I personally find the floating widget mode to be quite good, and I'm starting to feel like the real-time suggestion mode is finally usable. If you have any suggestions about the floating widget mode, please reply to this issue.
The next thing I want to do is to integrate ChatGPT to this extension.