D10595: Adding ctp file extension to the PHP syntax highlighting

Miklos Marton noreply at phabricator.kde.org
Fri Feb 16 21:27:46 UTC 2018


martonmiklos created this revision.
martonmiklos added a reviewer: Framework: Syntax Highlighting.
Restricted Application added a project: Frameworks.
Restricted Application added a subscriber: Frameworks.
martonmiklos requested review of this revision.

REVISION SUMMARY
  ctp extension is used by the CakePHP as an extension of their template files.
  There is not any special with them they are plain HTML/PHP files just they have this ctp extension. 
  I think it would be useful to open these files with the proper highlighting.

TEST PLAN
  - Create a file with the following contents:
  
    Hello world!<br>
    <?php echo "PHP sys hello too"; ?>
  
  - Save as foo.ctp
  - Open with Kate
  - The highlighting should highlight the <?php and the ?> tags at least.

REPOSITORY
  R216 Syntax Highlighting

REVISION DETAIL
  https://phabricator.kde.org/D10595

AFFECTED FILES
  data/generators/generate-php.pl

To: martonmiklos, #framework_syntax_highlighting
Cc: #frameworks, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180216/bf97456d/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list