Skip to content

feat: add semgrep.appUrl setting to configure SEMGREP_APP_URL for LSP daemon#312

Open
liukatkat wants to merge 1 commit intodevelopfrom
katrina/add-app-url-setting
Open

feat: add semgrep.appUrl setting to configure SEMGREP_APP_URL for LSP daemon#312
liukatkat wants to merge 1 commit intodevelopfrom
katrina/add-app-url-setting

Conversation

@liukatkat
Copy link
Copy Markdown
Contributor

@liukatkat liukatkat commented Apr 10, 2026

Summary

  • Adds a new semgrep.appUrl VS Code setting (string, default empty) for configuring the Semgrep App URL
  • Passes the value as SEMGREP_APP_URL in the environment of the spawned LSP daemon process
  • No-op when left empty (default behavior unchanged)

Why:

People who are on a separate tenant has been having trouble logging in to the IDE extension. I suspect that it is because there is no way to configure the SEMGREP_APP_URL for the LSP daemon that we spawn in the IDE extension.

Test plan

  • Set semgrep.appUrl to a custom URL in VS Code settings, restart the extension, and verify the LSP daemon receives SEMGREP_APP_URL in its environment
  • Leave semgrep.appUrl empty and verify no SEMGREP_APP_URL is set (existing behavior unchanged)
  • Login to a tenant and check that the extension works

🤖 Generated with Claude Code

… daemon

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant