Giter Site home page Giter Site logo

Show type info in annotation about company-ghc HOT 6 OPEN

iquiw avatar iquiw commented on June 21, 2024
Show type info in annotation

from company-ghc.

Comments (6)

iquiw avatar iquiw commented on June 21, 2024

Previously, it was inefficient since it is necessary to call one ghc-mod command per a type.

Now since v1.0.0, all types in a module can be got by one ghc-mod browse.
So it is possible but I am afraid some types are too long.

I will consider to add an option for it.

from company-ghc.

user471 avatar user471 commented on June 21, 2024

So it is possible but I am afraid some types are too long.

I don't think it would be a problem for big monitors.
If someone will have a problem you could add an option something like type-info-max-length.

from company-ghc.

iquiw avatar iquiw commented on June 21, 2024

Committed initial attempt to custom-annotation branch.

from company-ghc.

user471 avatar user471 commented on June 21, 2024

@iquiw Should it already work? It isn't working for me.

from company-ghc.

iquiw avatar iquiw commented on June 21, 2024

Yes, it should.
Note that it is not on MELPA, but in custom-annotation branch on Github.

There may be some work and incompatible changes before merging it to master.

from company-ghc.

user471 avatar user471 commented on June 21, 2024

I just downloaded https://raw.githubusercontent.com/iquiw/company-ghc/custom-annotation/company-ghc.el and replaced my local version.

from company-ghc.

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.