Comments (6)
Looks cool! What are your use cases for this?
from atom-elmjutsu.
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.
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.)
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.
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.
@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.
@feldman4, you might find this useful:
(Not as sophisticated as elm-search
though because it's just using regex on the type signature 😸)
from atom-elmjutsu.
Related Issues (20)
- Error still shows when code is correct with ElmjutsuDumMyM0Dul3.elm HOT 1
- Multiline strings prevent temp files from being cleaned up HOT 1
- Uncaught Error: spawn EACCES HOT 1
- linter no longer register compiler errors since atom/linter 2.3.0 HOT 13
- Documentation for modules shown multiple times in tooltips
- Atom freezes, disabling elmjutsu seems to solve it HOT 17
- Elmjutsu doesn't check for errors in tests HOT 12
- Creation and deletion of src/ElmjutsuDumMyM0DuL3.elm triggers other tooling
- Uncaught Error: watch ~/AppData\Local\Microsoft\Windows\INetCache\Low\Content.IE5 EPERM
- Uncaught Error: spawn UNKNOWN
- openBinaryFile: permission denied when calling eval command on a function HOT 1
- Uncaught TypeError: Cannot read property 'start' of undefined HOT 1
- Hot reloading: Internal Server Error HOT 2
- Check if atom-elmjutsu can use a tree sitter for code highlighting HOT 8
- failed to load elmjitsu unsafe eval HOT 3
- copy-formatted-for-elm-repl: copy selected code into clipboard formatted for pasting into repl HOT 4
- Add the "elm-format path" in the settings of the plugin HOT 2
- Save ElmjutsuDum* files in a customizable folder HOT 2
- Support elmjutsu (Patreon, PayPal, GitHub Sponsors) HOT 4
- Feature request: run elm-make on opening file
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-elmjutsu.