Uploaded image for project: 'Aptana Studio'
  1. Aptana Studio
  2. APSTUD-4499

Functionality to convert a JSON string to proper CSS.


    • Type: Improvement
    • Status: Open
    • Priority: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Editor
    • Environment:

      Windows 8 x64, Aptana Studio 3.0.9


      I'm not sure how relevant anyone else will find this, but I think a very handy feature would be to convert a propery JSON string into valid CSS if copied into a CSS document.

      Often times when I'm testing my JavaScript, I will add CSS properties on the fly. Once the properties are confirmed, I move them into the proper stylesheet.


      { "background-color": "#fff", "text-align": "center", "z-index": 500 }


      Now, I'd like to copy it to my stylesheet as these are now the accepted properties. A direct copy and paste results in:

      { "background-color": "#fff", "text-align": "center", "z-index": 500 }

      When it would be preferable to have the quotes stripped out and the commas replaced with semicolons. Preferred output after a paste (proper CSS):

      { background-color: #fff; text-align: center; z-index: 500; }

      Anyhoo, just a nifty feature I could certainly make use of and I'm sure many others as well! Not a biggy, but a definite time-saver!




            • Assignee:
              pinnamuri Praveen Innamuri (Inactive)
              selosindis Scott Gibson
            • Watchers:
              0 Start watching this issue


              • Created:

                Git Integration