Skip to content

Add blog post: Setting up JabRef's LSP Server with Emacs#139

Closed
Techvian wants to merge 7 commits intoJabRef:mainfrom
Techvian:emacs-lsp-setup-guide
Closed

Add blog post: Setting up JabRef's LSP Server with Emacs#139
Techvian wants to merge 7 commits intoJabRef:mainfrom
Techvian:emacs-lsp-setup-guide

Conversation

@Techvian
Copy link
Copy Markdown

Closes JabRef/jabref#14656

This blog post covers setting up JabRef's LSP server (JabLS) with Emacs.


What's covered:

  • Installing JabRef and Emacs via Homebrew
  • Running JabLS using jbang
  • Connecting Emacs to JabLS via eglot on port 2087
  • Autocomplete working with 32 completions from JabRef's database
  • Alternative method using JabRef dev build from builds.jabref.org/main

Tested personally on macOS Apple M2.

Copy link
Copy Markdown
Member

@koppor koppor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Method 1 is not quite correct. JabRef doesn't need to be installed... jbang is enough. Filename to the bib file has to be given.

Comment thread _posts/2026-03-29-emacs-lsp-setup.md Outdated
Comment thread _posts/2026-03-29-emacs-lsp-setup.md
Comment thread _posts/2026-03-29-emacs-lsp-setup.md Outdated
Comment thread _posts/2026-03-29-emacs-lsp-setup.md Outdated
Comment thread _posts/2026-03-29-emacs-lsp-setup.md Outdated
Comment thread _posts/2026-03-29-emacs-lsp-setup.md Outdated
Comment thread _posts/2026-03-29-emacs-lsp-setup.md Outdated
Comment thread _posts/2026-03-29-emacs-lsp-setup.md
@Techvian
Copy link
Copy Markdown
Author

Techvian commented Apr 9, 2026

Hi @koppor and @Siedlerchr

Thank you for the review. I have addressed the requested changes. Kindly re-review the PR.

Copy link
Copy Markdown
Member

@koppor koppor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no short demo of any interesting featue.

author: Ayush Kumar Singh
---

Hello! I'm Ayush, a student pursuing B.Tech in AI & Data Science Engineering at Guru Gobind Singh Indraprastha University, Delhi, India. In this blog, I share my experience documenting the setup of Emacs with JabRef’s LSP server during an open-source contribution.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move to the end

No --- in human written md files


## Method 2 - Using JabRef's development build (alternative)

If you'd rather not use `Jbang`, the development build of JabRef includes an option to enable the LSP server directly from JabRef's **Preferences** - no extra tools needed.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No. If one uses rhe JabRef graphical application.

Also outline the choices in the intro

- `linux-amd64` — Linux
- `windows-amd64` — Windows

Once installed, open JabRef --> go to **Preferences** --> look for the **LSP server** option and enable it. The server will start automatically when JabRef is open, and you can connect Emacs to it using the same `eglot` config from step 4 above.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Detail step. Screenshot.


---

## What's happening here
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not a good heading. "Overview" or "Two methods to use the LSP feature"


## Method 1 - Using jbang

### Step 1 - Install Emacs
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No.

Either refocus the the blog entry for any (!) editor able to talk LSP or focus on emacs. And then users have emacs installed!!!!

@koppor
Copy link
Copy Markdown
Member

koppor commented Apr 26, 2026

Too much effort to finish. I think, this needs to be done from scratch for https://github.com/JabRef/user-documentation

@koppor koppor closed this Apr 26, 2026
@Techvian
Copy link
Copy Markdown
Author

Techvian commented Apr 27, 2026

Sorry @koppor for being inactive this past week — I was busy with my minor exams. Today is my last exam, so I'll be free starting tomorrow. Would it be okay if I redo this from scratch in the user-documentation repository as suggested?

@Techvian Techvian deleted the emacs-lsp-setup-guide branch May 5, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Howto for emacs LSP use

3 participants