Community
    • Login

    wrong formatting issue - saving css file as asp.

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    1 Posts 1 Posters 474 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Patrice CharbonneauP
      Patrice Charbonneau
      last edited by

      Hi,
      I have a method of obfuscating some document based on referer (so this is all technical and I won’t go into detail)
      it required css and js (javascript) file to be saved with double extention like .css.asp and .js.asp
      problem is the formating of such file inside Notepad++

      it is interpreted by NPP as ASP file while it is Javascript or CSS code. only a small header inside the file wich start with <% and end with %> (asp html tag) are around the header.

      so 3 problem is related to this way of using CSS, JS with NPP.`

      1. CSS and JS code is not formatted properly
      2. code inside the ASP tag is not formatted properly eitheir
      3. for some reason, the closing ASP tag %> got a font size raise of 2 pts.

      any way I could go around this ?

      I was thinking along the line:

      #1. a configurable text file with 2 column ( comma separated or otherwise) wich would contain the full file name on the left and the expected rendered type on the right
      #2. an option that would always render text inside asp tag <% %> as asp formatting as long as the source file name has the the end extention .asp ?

      #2 would be pretty logical… and practical, although could be added as “option”
      #1 would be very very nice to have !

      I have donated in the past… I’ll do it again. I know that’s not what will have me get the fonctionality, I’m just saying because I think your program deserve more credit.
      thanks all.

      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors