Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Syntax highlighting for php files without extension(can't get highlighted syntax for php files without file extension)
Syntax highlighting for php files without extension [message #668535] Fri, 06 May 2011 02:59
gorgo is currently offline gorgo
Messages: 1
Registered: May 2011
Junior Member
Hi all,

is there any way how to make eclipse highlight the syntax for php files with no file extension? I've got a plenty of those files and they always begin with following lines:

#!/usr/bin/env php                                                                                                           
<?php                                                                                                                        
/*
 * Script description ...
 */

Other editors (Kate, jEdit, vim) highlight the syntax but I can't figure out how to do this with Eclipse=(
Anyone already (re)solved this issue?
Previous Topic:auto-complete and call-hierarchy functions
Next Topic:Javascript files save with ^M newline after each edited line
Goto Forum:
  


Current Time: Fri Jul 25 16:49:38 EDT 2014

Powered by FUDForum. Page generated in 0.02006 seconds