The problem seemed to be that vscode.workspace.getConfiguration("gitflow").get("views.feature.showRemoteBranches"); was called for each feature branch (including remote-only ones, which can be many...). So I changed it to be just called once before filtering the branches, as it will be available in the filtering function through a closure anyway.
I also fixed some issues I was having when trying to compile and run the extension locally, I suppose because stuff in Visual Studio Code changed since this extension was last updated.
Should fix #5 (at least in Windows)
The problem seemed to be that
vscode.workspace.getConfiguration("gitflow").get("views.feature.showRemoteBranches");
was called for each feature branch (including remote-only ones, which can be many...). So I changed it to be just called once before filtering the branches, as it will be available in the filtering function through a closure anyway.I also fixed some issues I was having when trying to compile and run the extension locally, I suppose because stuff in Visual Studio Code changed since this extension was last updated.