docs(web): add JetBrains IDE integration guide (LSP4IJ) - #3866
Open
TropinAlexey wants to merge 1 commit into
Open
docs(web): add JetBrains IDE integration guide (LSP4IJ)#3866TropinAlexey wants to merge 1 commit into
TropinAlexey wants to merge 1 commit into
Conversation
Documents using harper-ls in any IntelliJ Platform IDE (IntelliJ IDEA, WebStorm, PyCharm, Rider, GoLand, RustRover, etc.) via the LSP4IJ plugin, which ships with harper-ls support built in. Closes Automattic#362 Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01JHPfJZHgCizuPgvEZogAhi
Open
Collaborator
|
If you are not an IntelliJ user yourself, how can you attest that this guide works? Have you or someone else tried it out on a real IDE? I say that not to be critical, but to know if I need to find someone to test this out (or try it out myself). |
Collaborator
|
I've been chronically low on SSD space lately and had to uninstall my IntelliJ stuff so I haven't been able to test this for now... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Disclosure
Parts of this PR (research and the doc page draft) were produced with AI assistance (Claude Code), per Harper's agent PR policy.
Summary
Closes #362.
That issue asked for JetBrains IDE support. The thread already converged on the right answer: LSP4IJ (a community LSP client plugin for the IntelliJ Platform) ships with built-in support for
harper-lsas a predefined language server — see LSP4IJ's harper-ls docs. A separate custom Harper plugin isn't needed, and another contributor who tried building one directly againstharper-core/harper-lsran into "typical Gradle horrors and version incompatibilities" in the issue thread.@elijah-potter had explicitly asked for exactly this doc page in the issue thread:
This PR adds that page (at
.../integrations/jetbrains/+page.mdto match the "JetBrains IDEs" framing used for the sidebar entry, since the plugin/IDE family covers more than just IntelliJ IDEA), covering:harper-ls+ the LSP4IJ plugin)harper-lsin LSP4IJharper-lsconfiguration referenceChanges
packages/web/src/routes/docs/integrations/jetbrains/+page.md(new): the integration guide, modeled on the existingvisual-studio-codeandsublime-textpages.packages/web/vite.config.ts: registers the new page in the docs sidebar under "Integrations".AGENTS.md: adds the new page to the sidebar file inventory, per the existing convention.Test plan
pnpm devinpackages/web, confirmed/docs/integrations/jetbrainsrenders (200) with the new sidebar entry linking correctly.npx @biomejs/biome checkon the changed files (no issues).