Git Product home page Git Product logo

Comments (6)

halohalospecial avatar halohalospecial commented on June 14, 2024

Looks cool! What are your use cases for this?

from atom-elmjutsu.

feldman4 avatar feldman4 commented on June 14, 2024

I'm waist-deep fixing a pipeline with the stellar atom-elmjutsu plugin and I can't quite remember the name of my own function : OneType -> ToAnother.

For library functions I just go to the website.

from atom-elmjutsu.

halohalospecial avatar halohalospecial commented on June 14, 2024

Maybe we can replace Go To Symbol with this. We can search for either the symbol name or the type.

(Just imagine types and other info are also displayed.)
go-to-symbol

I hope we can reuse code from https://github.com/klaftertief/elm-search 😄
cc: @klaftertief

Also for reference: https://wiki.haskell.org/Hoogle
Check out the "1.1 Searches" section.

from atom-elmjutsu.

klaftertief avatar klaftertief commented on June 14, 2024

Thanks for pinging me.
The elm-search is written in Elm and client-side only at the moment. It searches only published packages, though it can search local modules as well, given there is a proper index. The index is a combined list of documentation.json files. The search might not do everything you need at the moment, e.g. one can not prefix a function with a module name or search in types or type aliases. But this is quite easy to add...
I have some plans to add some kind of server side search and to publish a standalone type-distance package that could be useful for editor integrations. I'm on parental leave a the moment, so my focus is a little bit shifted at the moment :-)
So please keep me updated should you think about integrating some code as not all my pans and new code is published. I'll try to organise things then...

from atom-elmjutsu.

halohalospecial avatar halohalospecial commented on June 14, 2024

@klaftertief Thank you for replying! Maybe it's best to wait on your progress. +1 on both the standalone Elm package and server side search! No need to hurry 😄

from atom-elmjutsu.

halohalospecial avatar halohalospecial commented on June 14, 2024

@feldman4, you might find this useful:

autocomplete-type-filtering

(Not as sophisticated as elm-search though because it's just using regex on the type signature 😸)

from atom-elmjutsu.

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.