CodeLens extension for VSCode, providing quick access to Zotero information and attachments from citations.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Ruben van de Ven 2a09c10cad
7 months ago
.vscode Initial commit 1 year ago
src show pagenr in hover decoration 7 months ago
.eslintrc.json Initial commit 1 year ago
.gitignore Initial commit 1 year ago
.vscodeignore Initial commit 1 year ago v0.2.1 7 months ago
LICENSE Filtering and sorting of lenses 1 year ago Update description 1 year ago
package-lock.json 0.2.0 8 months ago
package.json v0.2.1 7 months ago
tsconfig.json Initial commit 1 year ago


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.


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


  • 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


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


Initial pre-release of Zoterolens