Bug #11688
closed
Syntax highlighting defaults to text when editing provisioning templates
Added by Dominic Cleal over 9 years ago.
Updated over 6 years ago.
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.
Would be nice to have this per template type.
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.
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/2697 added
- Pull request deleted (
)
- Assignee set to Walden Raines
Lukas Zapletal wrote:
Would be nice to have this per template type.
Filed as #11772.
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Also available in: Atom
PDF