elixir-editors / elixir-editors/elixir-tmbundle
Support for inline LiveView templates
Open
- Dominant language
- Python
- Stars
- 262
- Forks
- 64
- PR merge metrics
- No merged PRs in 30d
Description
What is the right place to add support for inline templates?
Here is an example:
```elixir
defmodule AppWeb.ThermostatLive do
use Phoenix.LiveView
def render(assigns) do
~L"""
"""
end
def mount(_params, %{"current_user_id" => user_id}, socket) do
temperature = Thermostat.get_user_reading(user_id)
{:ok, assign(socket, :temperature, temperature)}
end
end
```
Ideally I would like the part inside the sigil to be highlighted as eex html template.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.