SanderRonde / VSCode-Gerrit

Gerrit plugin for VSCode
https://marketplace.visualstudio.com/items?itemName=SanderRonde.vscode--gerrit
MIT License
31 stars 17 forks source link

Filter reviews for one (current git repo) project only #67

Closed thu2004 closed 7 months ago

thu2004 commented 7 months ago

I have a .gitreview file with the following content

[gerrit]
host=https://my-gerrit.abc.com
project=sun/project_1

My aim is to solely view reviews linked to this specific project upon accessing the Gerrit panel, rather than all the projects I can access. Have I overlooked a particular setting for this? Or is there a method to integrate such support?

Upon inspecting the code, I noticed that the 'project' property from the gitreview file is solely used in the openOnGitiles function located at src/lib/gitles/gitles.ts.

SanderRonde commented 7 months ago

That's a good point actually, I'll change it so that it only shows changes in the current project by default.

SanderRonde commented 7 months ago

Now live in version 1.1.35 :)