Author Topic: Setting PHP as Default  (Read 1089 times)

Offline parsemonkey

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Setting PHP as Default
« on: September 10, 2015, 05:45:01 pm »
I have more than 150 files in my PHP project and need each file to open in HE using the default PHP syntax highlighting I have defined. After manually defining the syntax for each file, I somehow lost the formatting and had to do it all again. Is there a way to set PHP as the default syntax for my project, so that each file opened is automatically formatted with the preferred highlighting?

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2181
  • Karma: +37/-3
    • View Profile
    • HippoEDIT
Re: Setting PHP as Default
« Reply #1 on: September 10, 2015, 08:03:47 pm »
Hi,

there is a way to set default syntax for all files in project in Project -> Properties, but I am afraid it only used for new files. And maybe for file, which syntax can not be detected (here I am not sure, but this can be adjusted, probably). But there is no way, to force syntax for all files in project.

Can you please expaine your use case in more detail? Maybe there is other way to achieve what you want.
Are all this 150 files are *.php files and you would like to overwrite default PHP syntax highlighting by your own syntax schema? In this case you can or disable standard PHP syntax or modify file masks for proper selection of syntax.

Your file preferences may be lost, if TEMP folder is cleaned:
http://wiki.hippoedit.com/options/cache

Best regards,
Alex.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
5080 Views
Last post July 28, 2009, 06:16:32 pm
by alex
1 Replies
1999 Views
Last post August 01, 2009, 12:13:07 pm
by alex
2 Replies
1602 Views
Last post August 27, 2011, 01:57:44 am
by RickF
1 Replies
1170 Views
Last post September 11, 2014, 11:13:48 pm
by alex
1 Replies
827 Views
Last post June 12, 2016, 05:58:14 pm
by alex