Skip to content

[Feature]: Support Quick-Copy/Drag-and-Drop for Annotations #2371

@FieteO

Description

@FieteO

Debug log ID

HL9V2ZBK-refs-euc

What happened?

Basically what I'd like to achieve is dragging and dropping notes from Zotero to VSCode to insert a citation that is also containing the page number.

What is working fine for me, is dragging and dropping the whole library entry to insert a citation key as defined in Edit -> Preferences -> Better BibTex -> Export -> Quick-Copy. In my case, this will yield \footcite[\vglf][\pagef]{russell2020} since that's the command that I have defined for the LaTeX citation Quick-Copy format.
What I'd like to do though, is mark something in a pdf, do an Add notes from Annotations and then drag and drop a single annotation into my text editor to get \footcite[\vglf][\pagef1]{russell2020} (note the page number here).

Expected:

\footcite[\vglf][\pagef1]{russell2020}

What I got:

“Introduction� ([Russell and Norvig, 2020, p. 1](zotero://select/library/items/CCC6AHWQ)) ([pdf](zotero://open-pdf/library/items/EYZYFJB9?page=29&annotation=DTQM433Y))

image of dragging note from Zotero to VSCode

Metadata

Metadata

Assignees

Projects

Status

Awaiting user input

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions