luisDVA / annotater

Annotate Package Load Calls
https://annotater.liomys.mx/
Other
99 stars 2 forks source link

Feature: Improve source editor context selection #26

Closed jcrodriguez1989 closed 1 week ago

jcrodriguez1989 commented 1 week ago

Just in case you think this change is worth it. getActiveDocumentContext returns the active context, while getSourceEditorContext returns the open code editor context. With this change, it will annotate regardless of where the blinking cursor is.

luisDVA commented 1 week ago

that's what datapasta does with its addins and what I originally wanted to do, but I didn't know how! 🫳🫴🫳🫴🫳🫴