CodeLens extension for VSCode, providing quick access to Zotero information and attachments from citations.
Go to file
Ruben van de Ven 2a09c10cad v0.2.1 2022-11-11 12:10:13 +01:00
.vscode Initial commit 2022-02-04 12:03:05 +01:00
src show pagenr in hover decoration 2022-11-11 12:07:56 +01:00
.eslintrc.json Initial commit 2022-02-04 12:03:05 +01:00
.gitignore Initial commit 2022-02-04 12:03:05 +01:00
.vscodeignore Initial commit 2022-02-04 12:03:05 +01:00
CHANGELOG.md v0.2.1 2022-11-11 12:10:13 +01:00
LICENSE Filtering and sorting of lenses 2022-02-14 21:37:52 +01:00
README.md Update description 2022-02-14 21:49:20 +01:00
package-lock.json 0.2.0 2022-09-27 14:06:44 +02:00
package.json v0.2.1 2022-11-11 12:10:13 +01:00
tsconfig.json Initial commit 2022-02-04 12:03:05 +01:00

README.md

Zoterolens

Zoterolens scans Markdown files for citation-keys and adds inline links to open their attached pdf's with Zotero. An optional page number is taken into account.

I recommend using it in combination with an extension such as Citation Picker for Zotero, and/or Pandoc Citer to be able to easily add citations.

Requirements

  • Zotero (needs to be running)
  • Zotero's Better-Bibtex plugin

Features

  • CodeLens to open PDF's based on citekey
  • CodeLens to select item in Zotero based on citekey

It should find the page number following cases:

  • @test123
  • @test1.23
  • @test123 89
  • @test123, 89
  • [@test123, 89]
  • @test123 [89]
  • [@test123, p.89]
  • [@test123, pp.89-92]
  • [@test123, pp.89--92]

Extension Settings

none.

Known Issues / Wishlist

  • It does not yet check if the citekey actually exists in Zotero, nor if it actually has any attachment.
    • This should be made to happen before showing the ref.
  • No error if Zotero isn't running, or the Better-Bibtex plugin is not configured.
  • Zotero port cannot yet be configured.

Release Notes

0.1.0

Initial pre-release of Zoterolens