# Elm coder generator - RELOADED

**URL:** <https://discourse.elm-lang.org/t/elm-coder-generator-reloaded/4474>\
**Category:** Request Feedback\
**Created:** [October 13, 2019, 9:29am UTC](https://discourse.elm-lang.org/t/elm-coder-generator-reloaded/4474 "2019-10-13T09:29:42Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![FranzSkuffka](https://avatars.discourse-cdn.com/v4/letter/f/c4cdca/32.png) [@FranzSkuffka](https://discourse.elm-lang.org/u/FranzSkuffka)\
**Post date:** [October 13, 2019, 9:29am UTC](https://discourse.elm-lang.org/t/elm-coder-generator-reloaded/4474/1 "2019-10-13T09:29:42Z")

</div>

More than a year ago [Dániel Kodaj presented his decoder generator package](https://discourse.elm-lang.org/t/decoder-generator-and-imports-cleanup-tool/1399/2). I ❤ it. It is such an awesome tool.

Over the recent months I have done some work on it. I made it compatible with elm 0.19, fixed some bugs and created a CLI.

Check it out here:

> **[FranzSkuffka/decgen](https://github.com/FranzSkuffka/decgen)**
>
> Elm decoder generator. Contribute to FranzSkuffka/decgen development by creating an account on GitHub.

I hope this really saves you as much time as it saves me. Big ups to Dániel for this!

**Feedback is greatly appreciated. What do you think of the API and the code annoation format?**

I would like to provide this to more users VSCode for example.  
Personally I am not an VSCode user but creating a package for this should not be too hard. Would anybody be interested?

---

<div class="post-metadata">

**Author:** ![razze](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/razze/32/1650_2.png) [@razze](https://discourse.elm-lang.org/u/razze)\
**Post date:** [October 16, 2019, 7:58am UTC](https://discourse.elm-lang.org/t/elm-coder-generator-reloaded/4474/2 "2019-10-16T07:58:54Z")

</div>

The real question is, if it should be a standalone project then or be rolled into [https://github.com/elm-tooling/elm-language-client-vscode](https://github.com/elm-tooling/elm-language-client-vscode) or even the language server 🙂

---

<div class="post-metadata">

**Author:** ![joakin](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/joakin/32/171_2.png) [@joakin](https://discourse.elm-lang.org/u/joakin)\
**Post date:** [October 16, 2019, 12:16pm UTC](https://discourse.elm-lang.org/t/elm-coder-generator-reloaded/4474/3 "2019-10-16T12:16:54Z")

</div>

It can be both, right?

I appreciate having a CLI available, like elm-json, elm-xref and others.

---

<div class="post-metadata">

**Author:** ![razze](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/razze/32/1650_2.png) [@razze](https://discourse.elm-lang.org/u/razze)\
**Post date:** [October 16, 2019, 12:52pm UTC](https://discourse.elm-lang.org/t/elm-coder-generator-reloaded/4474/4 "2019-10-16T12:52:39Z")

</div>

Sorry, I meant if should be a standalone vscode plugin or be included in the elm-tooling repos

---

<div class="post-metadata">

**Author:** ![FranzSkuffka](https://avatars.discourse-cdn.com/v4/letter/f/c4cdca/32.png) [@FranzSkuffka](https://discourse.elm-lang.org/u/FranzSkuffka)\
**Post date:** [October 16, 2019, 1:25pm UTC](https://discourse.elm-lang.org/t/elm-coder-generator-reloaded/4474/5 "2019-10-16T13:25:53Z")

</div>

@razze - what are your intuitions?

---

<div class="post-metadata">

**Author:** ![razze](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/razze/32/1650_2.png) [@razze](https://discourse.elm-lang.org/u/razze)\
**Post date:** [October 16, 2019, 4:19pm UTC](https://discourse.elm-lang.org/t/elm-coder-generator-reloaded/4474/6 "2019-10-16T16:19:09Z")

</div>

I’m all for having it combined in all tool, as long as the underlying dependency is maintained.

I haven’t really tried to do something like this in the lsp implementation, in fact I’m not sure if it’s possible.

---

<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:** [October 26, 2019, 4:19pm UTC](https://discourse.elm-lang.org/t/elm-coder-generator-reloaded/4474/7 "2019-10-26T16:19:12Z")

</div>

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