# Application settings: environment editor bugs

**Project:** Applications | **Board:** Live | **Votes:** 3
**URL:** https://roadmap.ploi.cloud/projects/3-applications/items/1-application-settings-environment-editor-bugs

---

Hi,

I noticed a few issues on the env editor:

Currently, while configuring environment variables it seems like specific characters are being mistakenly escaped when toggling between the form view and the text editor view. I.e.

```env
A_VARIABLE="optionA" # "optionB", "optionC" default "optionA"
```

becomes

```env
A_VARIABLE="optionA\" # \"optionB\", \"optionC\" default \"optionA\"
```

Another issue I noticed is that it seems to not process env variables like

```env
API_DOMAIN=${APP_DOMAIN}
```

---

## Comments

**Zander van der Meer** (2025-07-24T17:10:02+00:00):
Environment variable interpolation has been added! The other ones not yet. 

**Steve Parks** (2025-10-17T14:20:13+00:00):
An additional related issue:

When configuring Environment Variables initially I used the text file view. But when I return to it to check and edit individual items, they have all been scrambled into a different order. 

That means that variables for eimilar things are no longer grouped together. It makes finding things harder, and also checking that all the variables for a particular thing are in place. 

Would it be possible to either keep the order the user sets in the text file, or at least sort by the variable name, so similar ones are grouped.

**Dennis** (2026-03-09T10:26:24+00:00):
I believe, all of this, is solved, right? Can someone confirm?

