Uploaded image for project: 'Lucee Development'
  1. LDEV-1054

Improve formatting for cache custom properties in hint

    Details

    • Type: Bug
    • Status: Deployed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.1.60
    • Labels:
      None

      Description

      In the little hint when editing a cache that shows the code to past into your Application.cfc, put a line break between the custom properties so they don't run off the screen. This is purely a UI tweak.

      See screenshot.

      Here's a method that formats JSON that might help:
      https://github.com/Ortus-Solutions/commandbox/blob/development/src/cfml/system/util/Formatter.cfc#L86-L153

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              bdw429s Brad Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: