Custom Syntax Highlight |
|
my hl.cfg now seems to have all the xml for preset syntax highlighting, I added my own and even added it to filetypes in phped.cfg but doesn't seem to have worked, any ideas?? can this be done??
|
||||||||||||
|
Site Admin
|
What syntax highlighting are you trying to add ?
C# or Ada ? Or maybe something else ? |
||||||||||||
|
|
It is for a custom content engine that we use, I was just wondering if it is possible to create our own syntax file for it. I already have one for use in UltraEdit my current default editor. Currently my company use a range of editors and I would like to standardise where possible to a single editor. With its PHP debugging capabilities PHPed is currently the front runner. It would just be nice to be able to create my own syntax definitions.
|
||||||||||||
|
Site Admin
|
No, phped 3.3 does not support custom syntax schemes. Probably with a next version it will.
|
||||||||||||
|
|
Hi again, Dmitry.
Have just upgraded PHPEd build to 4620 searching for this feature... We need to add a new highlighting scheme for custom tags. Here's a code example:
To make long story short: we have our custom <com:* ... /> tags. No matter how I tried to play with reserved keywords, predefined functions, different syntax schemes or dynamic syntax highlighting nothing worked. Another example of such a limitation (this is no more actual) is to change Smarty delimiters (library expects such a customization) however, phped only supports { and }. Is it possible to configure parsers using this hl.cfg file? Possibly, no... Any solution? |
||||||||||||||
|
Site Admin
|
it's not possible in v4.6. We'll try to implement tag-specific highlighting in one of the next versions.
Aha, Smarty supports different delimiters and we already got a request to support multicharacter delimiters like these "(*" "*)". Yet it's not that simple and we can't implement it in 4.6. At least multicharacter. Although we'll consider doing it for one of the next versions. |
||||||||||||||||
|
|
started to evaluate phped 4.6 today dimitri, finally
One of the features we'd like is to be able to use multi-character delimiters in smarty and have our ide pick up on this. We use {? and ?} as delimiters which aids us greating when writing oo-javascript code in smarty templates. |
||||||||||||
|
Custom Syntax Highlight |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by