Giter Club home page Giter Club logo

Comments (8)

asampal avatar asampal commented on September 23, 2024

I should add that invoking C-h on a candidate in the completion popup which doesn't bring up quickhelp shows "No documentation available" in the mini buffer. So how is it that there is one prefix, 'def' which does have help, but anything else doesn't?

from company-quickhelp.

expez avatar expez commented on September 23, 2024

Hi

I ask company for the documentation, so if C-h doesn't return any documentation, then I have nothing to display in the popup.

Are you using CIDER? Without CIDER, and its middleware installed, company doesn't have a good backend to provide it with completion candidates or documentation. This might be why the performance of C-h is lackluster.

from company-quickhelp.

asampal avatar asampal commented on September 23, 2024

Yes, I am using Cider. Maybe I wasn't being clear enough in the initial comment when I mentioned that I get proper help in the cider-repl buffer (the repl created as a result of 'cider-jack-in'). Also, in the Clojure buffer, the help that does show for the 'def' prefix is a full help string that isn't available without Cider. Again, the list of candidates shown by company in the Clojure buffer is the full one (with annotations, etc) as provided by Cider - it's just the help that is missing.

from company-quickhelp.

expez avatar expez commented on September 23, 2024

If you don't see docstrings, for vars which have docstrings, when you hit C-h on a company candidate, you should file a bug with company or with CIDER. All company-quickhelp does it display that docstring in a popup. If there isn't one, there's unfortunately nothing I can do.

from company-quickhelp.

asampal avatar asampal commented on September 23, 2024

OK, I will. I assume you're saying that the problem is in cider-nrepl rather than Cider specifically, which I assume company-quickhelp is using to talk to Cider, right?

from company-quickhelp.

expez avatar expez commented on September 23, 2024

company-quickhelp knows nothing about CIDER. It only asks company for the documentation you get when you hit C-h on a completion candidate in the company popup. This is why company-quickhelp works, without my doing anything at all, for any company backend which provides documentation :)

from company-quickhelp.

asampal avatar asampal commented on September 23, 2024

It's not clear to me if the issue should be reported to company or to cider-nrepl. I guess I will report it to the first in the chain, which would be company.

from company-quickhelp.

asampal avatar asampal commented on September 23, 2024

Closing since this is just due to not loading the buffer before attempting to get the help popups.

from company-quickhelp.

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.