Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter view not working #59

Open
Dreykku opened this issue Oct 17, 2022 · 12 comments
Open

Filter view not working #59

Dreykku opened this issue Oct 17, 2022 · 12 comments

Comments

@Dreykku
Copy link

Dreykku commented Oct 17, 2022

Hi,
When clicking Filter view and then selecting the tags i specifically want to be displayed, i have nothing anymore. Rather, all the bookmarks disappear, Inline bookmark tab becomes just empty. After a few minutes/seconds, it automatically reset to the original point. But still impossible to filter anything.

After the vscode update bug, i thought it came from me, and tried to change a few things in option. I'm pretty sure i reverted all options back once the update bug has been fixed but it's possible it comes from me. What option could have caused this (in case it only comes from me)?

Thanks.

@chaukhoa97
Copy link

Please fix this, filter is the killing part of the extension and now it just doesn't work

@thekie
Copy link

thekie commented May 18, 2023

Not working for me as well.

@brown-qs
Copy link

brown-qs commented Jun 9, 2023

same here
Please fix this asao

@sebastiantf
Copy link

It used to work at first, but stopped working from later on

@abulka
Copy link

abulka commented Oct 18, 2023

Not working for me either, fresh install of the extension on a Mac. The ability to filter is critical.

@mrlee14
Copy link

mrlee14 commented Jan 15, 2024

same here... not working

@error9900
Copy link

error9900 commented Feb 5, 2024

Still not working... Looks like last commit to repo was Oct 10 2022...

EDIT: Weird... Within VSCode, it claims the Extension was Last updated on 2024-02-04, 21:41:59, but everything else seems to indicate otherwise... It says 2022 here, so I wonder where VSCode is pulling that date from...

@daniel347x
Copy link

Bummer. This is the only bookmarks extension I know of that simply uses saved comments in the source code itself. Obviously, the feature to filter on bookmarks is critical and given that this is now broken, I think we must accept that unless somebody takes ownership to maintain this extension, it is becoming deprecated and we should move on.

@daniel347x
Copy link

daniel347x commented Jun 30, 2024

I have fixed the bug and issued a PR:

#79

I hope that the maintainer either approves the PR or turns over ownership of the project to someone who has time. This is an immensely useful extension and I think it should be maintained so that it continues to work.

In the meantime, my fork of the repository, with the fix (provided for the above PR), is available here:

https://github.com/daniel347x/vscode-inline-bookmarks/tree/patch-1

Apologies that I do not have time to provide integration instructions to build and load my fork into Visual Code - I am very busy and not very experienced with writing VS Code extensions. However, I was able to get my above fork built and installed into my own installation of Visual Code to test that it resolves the problem.

@daniel347x
Copy link

daniel347x commented Jun 30, 2024

OK, here are instructions how to install the corrected repository from my fork:

  • Uninstall the existing extension first.

  • Recommended: Use WSL in Windows for the following if you use VS Code on Windows; it works fine

  • Clone my fork (git clone https://github.com/daniel347x/vscode-inline-bookmarks)

  • cd to the root of the repository and checkout the correct branch (git checkout patch-1)

  • Make sure to install latest Node.js; do not use the default version or it will fail; steps follow:

From https://nodejs.org/en/download/package-manager:

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
(but check the above link for the latest version and use that instead of v0.39.7)

exit
(Exit the shell and restart it for the new installation to be easily available at the command line)

nvm install 20
(This installs Node v20 and npm v10. But again, check the above link for the latest version and use that instead of 20)

Confirm the versions, as noted at the above link:
node -v
npm -v

Now proceed to build the .vsix installer. From the root of the cloned repository (above):

  • npm install
    (This builds the actual extension)

  • npm install -g vsce
    (This installs the tool that generates the .vsix installer for the extension)

  • vsce package
    (This builds the .vsix installer)

  • Return to Visual Code and issue the command "Extension: Install from VSIX" (open the Commands window, Ctrl/Cmd+Shift+P, and type VSIX to reveal the command)

In the "File Open" dialog that appears, navigate to the root of the repository and select the .vsix file that was just created.

The installation should now be complete.

@MattStarfield
Copy link

Same issue here. I JUST started using Inline Bookmarks and burnt a few hours trying to figure out what I was doing wrong.

I really appreciate @daniel347x providing a fix, but tbh, I'm not going to jump through all of those hoops, then, (ideally) end up reinstalling this proper extension when (if?) they decide to merge his fix.

Hopefully they'll just issue an update with his fix soon!!

@abulka
Copy link

abulka commented Aug 3, 2024

Here is the compiled extension I built on my Mac - hopefully it works for others. Works for me.
vscode-inline-bookmarks-0.1.0.vsix.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants