#1195 Seperate PHP properties from HTML properties file

Cosmetic
closed-rejected
Neil Hodgson
SciTE (619)
2
2011-11-01
2011-07-18
Anonymous
No

A number of PHP related configuration values are within the HTML one. I understand that PHP files uses the HTML lexer, but I think separation of configuration would aid in maintaining a better configuration.

Attached is a modified HTML properties file (taken from 2.27) and a complete PHP using the defaults defined in the HTML and some additional API related ones.

Discussion


  • Anonymous
    2011-07-18

    html properties (php removed)

     
    Attachments

  • Anonymous
    2011-07-18

    php properties file

     
    Attachments
  • Neil Hodgson
    Neil Hodgson
    2011-07-19

    Global properties like autocompleteword.automatic should never be set in per-language properties files. word.characters.hypertext will not have any effect as far as I can see. This adds 40K of function names and I have previously rejected including this in the standard download. PHP is just one of the server-side processors along with ASP, JSP, Mako and so forth. I don't think this split is worthwhile.

     
  • Neil Hodgson
    Neil Hodgson
    2011-07-19

    • assigned_to: nobody --> nyamatongwe
    • priority: 5 --> 2
    • status: open --> open-rejected
     

  • Anonymous
    2011-07-19

    The PHP file was only an example based on what I'd made up at the time.

    The word.characters.hypertext allows the additional $ to be selected when selecting variables within *.php files.

    The default included PHP function list excludes a large number of important keywords and while I can understand you not wanting to bloat the package PHP is one of the most popular languages and finding a good properties file isn't the easiest of tasks. Furthermore I remove over half of the other properties files due to the fact I simply don't use them. Surly including the most popular languages makes more sense then the other 200k of properties files most have little use for.

     
    Last edit: Anonymous 4 days ago
  • Neil Hodgson
    Neil Hodgson
    2011-07-19

    The word.characters property takes a file pattern suffix, not a lexer name.

    If its hard to find a good PHP properties file then the right thing to do is publish one. You should see the symmetry in your argument - you don't want the extra bulk from other languages but want to push PHP settings which other people don't want.

     
  • Neil Hodgson
    Neil Hodgson
    2011-11-01

    • status: open-rejected --> closed-rejected