Actions
Bug #11688
closedSyntax highlighting defaults to text when editing provisioning templates
Description
Since #11625, the default syntax highlighting for a provisioning template is now "text" rather than "ruby", which it used to be. Most provisioning templates contain either Ruby (ERB) or shell scripts, so either ruby or sh highlighting would be reasonable defaults I think.
Or if we don't want to change the default, perhaps a cookie could be used to remember the user's choice.
Updated by Dominic Cleal over 9 years ago
- Related to Refactor #11625: Make foreman ace editor reusable added
Updated by Lukas Zapletal over 9 years ago
Would be nice to have this per template type.
Updated by Dominic Cleal over 9 years ago
Lukas Zapletal wrote:
Would be nice to have this per template type.
Yeah, that makes a lot of sense with say, a cloud-init template which is usually YAML.
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2697 added
- Pull request deleted (
)
Updated by Dominic Cleal over 9 years ago
Updated by Walden Raines over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset a265235eab649fa76e942205ef4964579532ce72.
Actions