[PR #1893] csharp LSP - use glob to match a solution or project file #10099

Open
opened 2026-02-16 18:14:42 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/anomalyco/opencode/pull/1893
Author: @P-de-Jong
Created: 8/13/2025
Status: 🔄 Open

Base: devHead: csharp-solution


📝 Commits (1)

  • a99ef14 use glob to match a solution or project file

📊 Changes

2 files changed (+30 additions, -3 deletions)

View changed files

📝 packages/opencode/src/lsp/server.ts (+3 -3)
📝 packages/opencode/src/util/filesystem.ts (+27 -0)

📄 Description

This fixes #1808
Searching for a .sln or .csproj file doesnt work, since its always prefixed with a name. For example: MySolution.sln

Added a globsUp function based on the globUp and up functions which were already present.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/anomalyco/opencode/pull/1893 **Author:** [@P-de-Jong](https://github.com/P-de-Jong) **Created:** 8/13/2025 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `csharp-solution` --- ### 📝 Commits (1) - [`a99ef14`](https://github.com/anomalyco/opencode/commit/a99ef1464443801abb264daad3e7f9ee9d01cec0) use glob to match a solution or project file ### 📊 Changes **2 files changed** (+30 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `packages/opencode/src/lsp/server.ts` (+3 -3) 📝 `packages/opencode/src/util/filesystem.ts` (+27 -0) </details> ### 📄 Description This fixes #1808 Searching for a .sln or .csproj file doesnt work, since its always prefixed with a name. For example: `MySolution.sln` Added a `globsUp` function based on the `globUp` and `up` functions which were already present. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 18:14:42 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10099