microsoft / microsoft/language-server-protocol

Clarify `FileOperationFilter` matching logic

Open Beginner friendly
#2,250 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
13k
Forks
1k
Avg merge
6d 1h
Merged PRs (30d)
10

Description

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#fileOperationFilter does not explain if all filters need to match for a file to match or if only one needs to match. VSCode's implementation of the an LSP client assumes that only one filter needs to match (which does makes sense to me). But, a clarification on the spec itself would be useful

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read the FileOperationFilter section in the linked LSP 3.17 specification and compare it with the cited client/src/common/fileOperations.ts implementation. Clarify in the specification whether filters use any-match semantics, then verify that the wording directly resolves the ambiguity raised in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.