Bot releases are visible (Hide)
Published by klazuka about 5 years ago
case
expressions (#512)Published by klazuka about 5 years ago
Thanks @ajalt!
Published by klazuka about 5 years ago
Bugfix release:
elm-stuff
directory (#481)Published by klazuka about 5 years ago
This is a massive release thanks to @ajalt's contributions! 💯 🏅 🎉
The ability to rename record fields and find their usages has been something I've wanted from an Elm plugin for a long time. But implementing it correctly is difficult due to how record types work (particularly, the "anonymous" nature of records without a type alias and difficulties when functions do not have type annotations). @ajalt figured out a way to make it work in nearly all cases by integrating it with the type inference code. Well done!
In addition to the improvements in record field support, AJ also added an intention to generate JSON encoders and decoders from type annotations based on the types and functions available in your project. You can use it by writing a type annotation for your encoder (or decoder), e.g. encodePerson : Person -> Json.Encode.Value
and then press option-enter
(alt-enter
on Windows/Linux) and choose "Generate".
This will recursively generate top-level functions to encode/decode the type. If the type uses another type that we don't know how to decode (e.g. your custom UUID
type), we will search your project for an existing function that encodes/decodes that type, import it, and use it.
There were a lot of other changes in this release, so please checkout the full changelog below:
_
(#463)case
branches (#461)Published by klazuka about 5 years ago
elm --version
on a background thread and cache it (#449)Published by klazuka over 5 years ago
Published by klazuka over 5 years ago
@ajalt deserves all of the credit for this release. Nice work!
Published by klazuka over 5 years ago
A big thanks to AJ for contributing some type system fixes in this release.
number
, comparable
, etc. (#404 by @ajalt)Published by klazuka over 5 years ago
Thanks to @ajalt's dedicated and skillful work, the final piece in the plugin's implementation of the Elm type system is now finished! This means that you should be able to infer the type of any expression in your Elm program and that all type errors should be detected by the plugin automatically.
Published by klazuka over 5 years ago
Thanks to @clojj, we now provide a way to invoke the Elm compiler to check your program for errors. After upgrading to 3.1.0, there will be an "Elm Compiler" button at the bottom edge of the IntelliJ window. Open that up and then press the "build" icon to compile your current Elm project. Errors will be shown with colored markup.
TyUnknown
(#345 by @ajalt)Published by klazuka over 5 years ago
Published by klazuka over 5 years ago
Another huge release, this time made possible almost entirely by contributors, both new (@FloWi and @frawa) and old (@ajalt). Thank you for contributing such awesome work!
Built-in support for elm-test 😄
You no longer need to configure an "External Tool" in IntelliJ to use elm-format. It's now built-in, along with support for automatically running elm-format whenever you save an Elm file.
GLSL code embedded in your Elm code now supports syntax highlighting and code completion:
Published by klazuka over 5 years ago
The big news in this release is that, thanks to the amazing work of @ajalt, the type system is now much closer to being fully implemented (#254). Specifically, it can now infer & check the types of Elm code involving type variables (assuming that the involved functions have type annotations). Give it a try by pressing ctrl-shift-p
on any Elm expression to infer its type.
Other notable changes:
And lots of bug fixes
in
(#273)Published by klazuka over 5 years ago
Thanks to contributors @ajalt and @alvinlindstam for their contributions this week!
Published by klazuka over 5 years ago
Published by klazuka almost 6 years ago
Cmd-Shift-Enter
(or Ctrl-Shift-Enter
on Windows/Linux) to complete the following:case/of
expression and brancheslet/in
expressionif/then/else
expressionAs always, thanks to @ajalt for making massive improvements to the plugin. And this week we have a new contibutor, @julianpistorius, who found and fixed a bug before it got released. Thanks!
Published by klazuka almost 6 years ago
Published by klazuka almost 6 years ago
Published by klazuka almost 6 years ago
Other stuff
Published by klazuka almost 6 years ago
no changes since 2.0.3 RC1
RC1: