Stylize scaler in expandable string



  • #!/bin/bash

    #Scalers not recognized and stylized when in an expandable string (double quotes).

    SCALER=“scaler”
    echo “This is a $SCALER.”

    #Since the scaler is in a an expandable string (double quotes) it would be very useful for Notepad++ to recognize the scaler and stylize it the as if written like this:

    echo “This is a “$SCALER”.”

    #Sometimes scalers need to be treated as a quoted string and this would be very helpful.

    Though this example is a bash script, obviously this would be applicable to any language with expandable strings.

    Anyway to have Notepad++ do this?
    Thanks