Project

General

Custom queries

Profile

Actions

Bug #11688

closed

Syntax highlighting defaults to text when editing provisioning templates

Added by Dominic Cleal over 9 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Templates
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #11625: Make foreman ace editor reusableClosedWalden Raines08/31/2015Actions

Added by Walden Raines over 9 years ago

Revision a265235e (diff)

Fixes #11688: default text editor to ruby.

Instead of defaulting to text, default to ruby syntax highlighting.

http://projects.theforeman.org/issues/11688

Actions

Also available in: Atom PDF