GithubHelp home page GithubHelp logo

Comments (7)

Lythenas avatar Lythenas commented on June 23, 2024 1

@nbfalcon Did you manage to implement this? For me the imenu is not very good to use.

from lsp-ivy.

sebastiansturm avatar sebastiansturm commented on June 23, 2024

not sure how far this overlaps with the imenu functionality already provided by lsp-mode, but I guess I could just add an optional prefix parameter that will be used to match against returned filenames; that way you could restrict your search to a specific directory, or file, such as the file being visited by the current buffer

from lsp-ivy.

nbfalcon avatar nbfalcon commented on June 23, 2024

Actually, imenu might be good enough. I was thinking more of "textDocument/documentSymbols" wrapped in ivy-read. I tried implementing that, but failed.

from lsp-ivy.

nbfalcon avatar nbfalcon commented on June 23, 2024

Okay, on second thought this would duplicate the functionality of imenu, which does exactly what I want. I'm closing this.

from lsp-ivy.

nbfalcon avatar nbfalcon commented on June 23, 2024

VSCode has a feature to specifically search for DocumentSymbols, and we should also have that. I'm reopening because I'm almost done implementing this.

from lsp-ivy.

razzmatazz avatar razzmatazz commented on June 23, 2024

same for me.. imenu integration in lsp appears to cut symbol description up to certain length..

an example:

Bildschirmfoto 2022-09-13 um 21 52 11

thinking about implementing lsp-ivy-document-symbol in lsp-ivy.el unless I find a way to make lsp-mode not truncate imenu items..

from lsp-ivy.

razzmatazz avatar razzmatazz commented on June 23, 2024

oh, found imenu-max-item-length, so truncation is not a problem for now

from lsp-ivy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.