Introducing Elm Editor - a web-based IDE for Elm programs

Yes, that looks like it works to select an Elm module and an HTML file.

So when the user presses the Compile button while that JSON file is open, we apply the merging for custom HTML.
Is that the user interface that you had in mind?

For context: The action triggered by the compile button takes into account the currently open file.
With the current implementation, the compile action only works when the open file’s name ends in .elm. The compile function is not defined so far for files with names ending in .json like the proposed one.

This screenshot shows the warning message in today’s implementation to remind users that the file they compiled last is not the same they are currently viewing/editing: