# Elm Packages Sublime Text package :)

**URL:** <https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325>\
**Category:** Show and Tell\
**Created:** [April 15, 2022, 1:44pm UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325 "2022-04-15T13:44:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![igghibu](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/igghibu/32/4415_2.png) [@igghibu](https://discourse.elm-lang.org/u/igghibu)\
**Post date:** [April 15, 2022, 1:44pm UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325/1 "2022-04-15T13:44:23Z")

</div>

Hi 🙂

I’ve developed a package for Sublime Text (if anyone besides @evancz is using it 😛) to peruse [https://package.elm-lang.org/](https://package.elm-lang.org/) directly from the editor!

- [GitHub - gacallea/elm-query: Query Elm Search and Elm Packages from Sublime Text](https://github.com/gacallea/elm-query)

I would love to also make [Elm Search - 0.19](https://klaftertief.github.io/elm-search/) available but this is not presently possible, because of how the website is currently structured. To implement this feature, it would require either of these scenarios:

- [Elm Search](https://klaftertief.github.io/elm-search/) to offer a JSON file for the results so that it could be parsed (like [Elm Packages](https://package.elm-lang.org/search.json) does)
- Elm-lang official website to implement Elm Search functionality to search modules and types and make it available via something like [https://module.elm-lang.org/](https://module.elm-lang.org/) (via JSON)
- Elm official website to provide an additional JSON for Modules search.

The above could be avoided if only Sublime Text were to allow custom third party Python modules to be installed (to use modules to scrape it via js). However, I love this design choice and it is part of the reason I looked into electron/npm alternatives: to get away from an highly risky environment like npm as much as possible.

I hope someone likes it and that it can be useful 🙂

Feedback appreciated! Cheers!

---

<div class="post-metadata">

**Author:** ![sylbru](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/sylbru/32/3570_2.png) [@sylbru](https://discourse.elm-lang.org/u/sylbru)\
**Post date:** [April 16, 2022, 4:38pm UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325/2 "2022-04-16T16:38:43Z")

</div>

I’m using Sublime, but I can’t find your package! Nothing shows up when searching via `Package Control: Install Package` or via `packagecontrol.io`.

By the way I really like this alternative website for Elm packages (it’s actually a fork of the official one): [https://elm.dmy.fr/](https://elm.dmy.fr/) Would you consider make it available as an option? To be clear, it would only have an effect on the action of opening the package page in the browser, since the package list is the same.

---

<div class="post-metadata">

**Author:** ![igghibu](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/igghibu/32/4415_2.png) [@igghibu](https://discourse.elm-lang.org/u/igghibu)\
**Post date:** [April 16, 2022, 4:40pm UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325/3 "2022-04-16T16:40:31Z")

</div>

Hey , thanks for checking it out. The PR to make it available is still open, thus it won’t be available until then. I’ll look into that site too and possibly publish it there too.

Cheers!

---

<div class="post-metadata">

**Author:** ![igghibu](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/igghibu/32/4415_2.png) [@igghibu](https://discourse.elm-lang.org/u/igghibu)\
**Post date:** [April 16, 2022, 5:33pm UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325/4 "2022-04-16T17:33:01Z")

</div>

> [@sylbru](#):
>
> By the way I really like this alternative website for Elm packages (it’s actually a fork of the official one): [https://elm.dmy.fr/](https://elm.dmy.fr/) Would you consider make it available as an option?

So, I looked into the forked site. I don’t see any advantage over the official site and I prefer official resources when available. I’m sorry but I’m not going to add the extra code for that alone it at this time. I hope you understand.

---

<div class="post-metadata">

**Author:** ![sylbru](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/sylbru/32/3570_2.png) [@sylbru](https://discourse.elm-lang.org/u/sylbru)\
**Post date:** [April 16, 2022, 6:38pm UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325/5 "2022-04-16T18:38:56Z")

</div>

Totally understandable! I would probably have the same stance if I were you.

Some of the advantages of the fork are (if I recall correctly): responsive/mobile-friendly, dark mode, clickable author name in the top header.

---

<div class="post-metadata">

**Author:** ![wolfadex](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/wolfadex/32/2461_2.png) [@wolfadex](https://discourse.elm-lang.org/u/wolfadex)\
**Post date:** [April 17, 2022, 12:39pm UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325/6 "2022-04-17T12:39:30Z")

</div>

There’s also a dark mode, the package search is stored in the URL so you can share package searches, you can select a users name and see just their packages, you can click code to see the source in GitHub, and the search within a package is a little more robust. I think I’m missing 1 or 2 features as well.

---

<div class="post-metadata">

**Author:** ![igghibu](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/igghibu/32/4415_2.png) [@igghibu](https://discourse.elm-lang.org/u/igghibu)\
**Post date:** [April 17, 2022, 12:49pm UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325/7 "2022-04-17T12:49:43Z")

</div>

Thanks for your feedback too. I’m going to look into that site some more and browse more thoroughly to reconsider. I may add the option after 1.0.0 is released and available. I’d appreciate if you guys opened an issue on GitHub 🙂 — not strictly necessary, just fancier 😛

---

<div class="post-metadata">

**Author:** ![igghibu](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/igghibu/32/4415_2.png) [@igghibu](https://discourse.elm-lang.org/u/igghibu)\
**Post date:** [April 17, 2022, 4:34pm UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325/8 "2022-04-17T16:34:21Z")

</div>

I still don’t see the advantages, but it won’t hurt to make you both happy 🙂

[Release 1.0.1 · gacallea/elm-query · GitHub](https://github.com/gacallea/elm-query/releases/tag/1.0.1) – @sylbru @wolfadex

ps: nothing too fancy, and it doesn’t check/sanitize the settings you put in!

---

<div class="post-metadata">

**Author:** ![sylbru](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/sylbru/32/3570_2.png) [@sylbru](https://discourse.elm-lang.org/u/sylbru)\
**Post date:** [April 18, 2022, 7:52am UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325/9 "2022-04-18T07:52:25Z")

</div>

Nice, thanks! Looking forward for your plugin to be available!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [April 28, 2022, 7:53am UTC](https://discourse.elm-lang.org/t/elm-packages-sublime-text-package/8325/10 "2022-04-28T07:53:10Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
