To Reproduce
- Navigate to Project -> Select a Project -> Select any service -> Environment
- Enter some environment variables in the editor (e.g.,
MY_VAR=value)
- Place cursor on any line and press:
- Cmd+/ on macOS
- Ctrl+/ on Windows/Linux
- Expected: Comment syntax (
#) is added to the line
- Actual: Nothing happens - no comment is added
Current vs. Expected behavior
Current behavior:
- Comment toggle (cmd+/) works in YAML editors (Docker Compose)
- Comment toggle (cmd+/) is completely non-functional in environment variable editors
- This creates inconsistent UX across different code editors in the application
Expected behavior:
- cmd+/ should work uniformly across all code editors, including environment variable and secret editors
- The keyboard shortcut should add
# line comments in env editors just like it does in YAML editors
Provide environment information
Operating System: Mac OS
Dokploy version: v0.29.4
Which area(s) are affected? (Select all that apply)
Local Development, Cloud Version
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
No response
Will you send a PR to fix it?
Yes
To Reproduce
MY_VAR=value)#) is added to the lineCurrent vs. Expected behavior
Current behavior:
Expected behavior:
#line comments in env editors just like it does in YAML editorsProvide environment information
Which area(s) are affected? (Select all that apply)
Local Development, Cloud Version
Are you deploying the applications where Dokploy is installed or on a remote server?
Same server where Dokploy is installed
Additional context
No response
Will you send a PR to fix it?
Yes