lukasz-szulborski / vsc-diff-regex

Visual Studio Code extension that facilitates searching for uncommitted source code text changes across multiple Git repositories.
6 stars 0 forks source link

No result despite having staged or unstaged changes #2

Open hsandt opened 1 year ago

hsandt commented 1 year ago

Hey, I find the concept very interesting as I often want to get rid of all the temporary debug logs I added during development before committing. But I tried the search and got no results, whether I staged the temp changes or not.

The project is a Godot project using Git. VS Code Git plugin recognizes the repository fine.

Even searching a pattern like .* shows nothing.

Below, an example when searching for "assert" just after adding a few ones:

image

Am I missing an extra setting?

hsandt commented 1 year ago

I searched for settings for vcs-diff-regex but couldn't even find the highlight setting mentioned in README:

image

EDIT: never mind, I had to search "diff regex" without "vcs". Not sure why, but it's the same when searching for the extension.

image

Still got the main issue though.

lukasz-szulborski commented 1 year ago

Hi @hsandt, thank you for sharing this issue! Glad you like the idea behind this extension :) Current implementation of the algorithm responsible for searching code changes is quite flaky hence these frequent UI freezes. I bet the algorithm encountered some case/combination of characters that it doesn't handle very well.

FYI I'm planning to move to a better implementation soonish. I'll keep you posted in this thread.

As far as searching goes, thanks for taking a note. I'll think about how to make this more intuitive.

jbjhjm commented 1 year ago

I also love the idea of this extension! Unfortunately it did not work for me either. Right after installation it showed up, entered search term, hit enter... then nothing. After restarting vscode, the extension's panel will just stay blank and does not show anything at all. Subscribing here to make sure to be notified if there are any news :)