nextflow-io / nextflow-io/language-server

Listen for Git operations that change files

Open
#27 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
31
Forks
8
Avg merge
1d 10h
Merged PRs (30d)
2

Description

Git operations such as reverting changes and switching branches don't seem to trigger didChange events for files that aren't open. I think the solution is to hook into the didChangeWatchedFiles event for all files in the ast cache, then vscode will watch for filesystem events.

Being able to switch the branch without restarting the language server would be very convenient.

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

Start by locating the AST cache and the didChangeWatchedFiles handling in the language server. Check how Git branch switches and reverts are surfaced for cached files that are not open. Done means those operations trigger file-change handling without restarting the language server.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, vscode
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.