question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Easy elm-format integration

See original GitHub issue

It should be really easy to use elm-format from within IntelliJ.

Some of this work is done in the master branch but has not yet been released.

  • create a ‘run elm-format’ Action to which the user can assign a keybinding
  • prevent the “Undo reload from disk” dialog (see #261 )
  • on-save hook to invoke elm-format (with project setting to opt-in/out)
  • if on-save hook is disabled, show the user how to assign a keybinding in project settings?
  • refusue to run elm-format if the Psi tree contains any errors
  • verify that format-on-save hook does not add to the undo stack
  • allow the user to specify the path to elm-format (rather than infering it)
  • show the version number of elm-format (or some kind of green/red status) in the settings UI
  • finally, update/delete the elm-format integration guide from the README
  • create a PR against elm-format repo updating the plugin status table

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:15 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
FloWicommented, Feb 25, 2019

You’re very welcome! I learned a lot (about plugins and kotlin) and it was great working with you. I just pulled your code and tried it out. It’s a much better experience!

0reactions
klazukacommented, Feb 25, 2019

This is done now. The last step (updating the elm-format readme, https://github.com/avh4/elm-format/pull/488) will have to wait until after we release the new software.

@FloWi thank you so much for taking the initiative to make this awesome. 🙏

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using elm-format in Visual Studio Code
In this post, I will show how to integrate the elm-format with the Visual Studio Code. Here's an example of how elm-format changes...
Read more >
Installing Node.js - - Beginning Elm
Installing elm-format is quite easy. Just run the following command from any directory in the terminal. $ npm install elm-format -g.
Read more >
elm-format - Elm Radio
We discuss the core features and philosophy of elm-format, as well as some hidden productivity tricks for getting more out of it.
Read more >
How to integrate elm-format with Sublime Text - Stack Overflow
PATH is the environment variable holding the list of directories that will be searched when you try to execute a command (like entering ......
Read more >
Ideas for improving editor experiences - Elm Discourse
Professional developers can get elm-format and elm make integration as needed. By having it be separate plugins, the README can focus on ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found