GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Support for workspace symbols · Issue #237 · python-lsp/python-lsp-server

Support for workspace symbols #237

New issue
Copy link
New issue
Copy link
Open
Open
Support for workspace symbols#237
Copy link

Description

@jgarte
jgarte
opened on Jul 6, 2022
Issue body actions

I ask because I tried using this package and it complained that pylsp does not support this feature. It worked well with pyright though.

Does pyright support symbols and pylsp not?

Reacted by LoipesMas, Christian Höppner, Rodrigo Santa Cruz, Ming-Long Huang, Aphosis, Erik Holmgren, Stuart Mumford, Johann Birnick, Richard Michael and Eduardo Bray

Activity

  1. ccordoba12 commented on Jul 6, 2022

    @ccordoba12
    ccordoba12
    on Jul 6, 2022
    Member
    More actions

    Correct, Pylsp doesn't support workspace symbols, sorry.

    Reacted by Jorge Gomez
  2. ccordoba12
    closed this as completedon Jul 6, 2022
  3. jgarte commented on Jul 7, 2022

    @jgarte
    jgarte
    on Jul 7, 2022
    Author
    More actions

    Is there any plans to implement it?

    @ccordoba12

    What's you approach to workspace symbols? Do you prefer not to use this feature?

  4. ccordoba12 commented on Jul 7, 2022

    @ccordoba12
    ccordoba12
    on Jul 7, 2022
    Member
    More actions

    There are no plans right now, sorry.

    Maybe Jedi offers this functionality but we haven't checked because there has been little interest for it.

    Reacted by Jorge Gomez
  5. astoff commented on Aug 8, 2022

    @astoff
    astoff
    on Aug 8, 2022
    More actions

    For the record, I find the workspace symbols feature quite useful. One can always grep the project for def something, but that's not as handy. It would also seem relatively straightforward to implement, which gives it a pretty good cost/benefit ratio.

    Reacted by Michał Krassowski, Darius Sas, Leinux, Jorge Gomez, Christian Höppner, Rodrigo Santa Cruz, Mike Wilkerson, George Hickman, wellsky-jakov, Aphosis and 5 more
  6. ccordoba12
    reopened this on Aug 8, 2022
  7. ccordoba12
    changed the title [-]Are workspace symbols supported?[/-] [+]Support for workspace symbols[/+] on Aug 8, 2022
  8. ccordoba12 commented on Aug 8, 2022

    @ccordoba12
    ccordoba12
    on Aug 8, 2022
    Member
    More actions

    It seems this is supported by Jedi, so it's feasible here. However, we're swamped with other things, so I don't know when we'll have time to implement it.

    Reacted by Augusto Stoffel, Christian Höppner and Ming-Long Huang
  9. tristone13th commented on Sep 28, 2022

    @tristone13th
    tristone13th
    on Sep 28, 2022
    More actions

    In the README I saw you mentioned that Jedi can provide this function, so does it mean we can use it well now?

  10. ccordoba12 commented on Sep 28, 2022

    @ccordoba12
    ccordoba12
    on Sep 28, 2022
    Member
    More actions

    No, we need to implement that functionality in the way expected by the LSP protocol here.

    Reacted by Jorge Gomez and Inom Turdikulov
  11. jgarte commented on Sep 29, 2022

    @jgarte
    jgarte
    on Sep 29, 2022
    Author
    More actions

    No, we need to implement that functionality in the way expected by the LSP protocol here.

    @ccordoba12 Thanks for clarifying that for us.

  12. eyalk11 commented on Jan 6, 2024

    @eyalk11
    eyalk11
    on Jan 6, 2024
    More actions

    Made a pull request to resolve it. #511

  13. Cadair commented on Mar 5, 2025

    @Cadair
    Cadair
    on Mar 5, 2025
    More actions

    Just wanted to politely bump this, I would find it very useful and would love to see an implementation merged.

  14. agzam commented on Apr 3, 2025

    @agzam
    agzam
    on Apr 3, 2025
    More actions

    Seriously? How the heck an lsp-server doesn't support one of the most important features? Kind of a break-dealer, no?

    Reacted by eyalk5, savchenko and shiny-comic
    Reacted by Stuart Mumford and Miles Granger
  15. savchenko commented on Apr 19, 2025

    @savchenko
    savchenko
    on Apr 19, 2025
    More actions

    OK, which Python LSP server provides workspace symbols?

  16. agzam commented on Apr 19, 2025

    @agzam
    agzam
    on Apr 19, 2025
    More actions

    OK, which Python LSP server provides workspace symbols?

    basedpyright does.

    upd: I initially replied from my phone, came to find my laptop to edit my own comment for clarification. Even though my initial question may look like demanding and kind of a dick comment, it was genuine. I don't even write Python day-to-day, I just needed to explore a couple of projects done by another team and I wished for lsp support. I found this project and the number of interesting features implemented in it got me excited. I wasn't even disappointed, but rather confused and surprised by the lack of this feature. Project-wide workspace symbol lookup is one of the most used features for me in other languages I use, so my confusion I believe was justified.

    I posted my question because I thought maybe, there's an easy workaround. Turns out basedpyright supports the feature, but if it gets implemented here, I would happily use it. Like I said, I have no horses in this race, I'm not actively writing Python - I don't really care for the best and most complete implementation of all the lsp features in a server, but particularly this feature, for me personally is somewhat important.

    Reacted by Eduardo Bray
    Reacted by savchenko
  17. jbirnick commented on Oct 7, 2025

    @jbirnick
    jbirnick
    on Oct 7, 2025
    More actions

    Would love to have workspace symbols too, I use them all the time in my development workflow!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.