mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-12 23:14:18 +01:00
🔧 Add IntelliLang.xml file to provide PHP synthax highlighting in DM XML files
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -38,6 +38,7 @@ test/vendor/*
|
|||||||
|
|
||||||
# Jetbrains
|
# Jetbrains
|
||||||
/.idea/**
|
/.idea/**
|
||||||
|
!/.idea/IntelliLang.xml
|
||||||
|
|
||||||
# doc. generation
|
# doc. generation
|
||||||
/.doc/vendor
|
/.doc/vendor
|
||||||
|
|||||||
15
.idea/IntelliLang.xml
generated
Normal file
15
.idea/IntelliLang.xml
generated
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="LanguageInjectionConfiguration">
|
||||||
|
<injection language="InjectablePHP" injector-id="xml">
|
||||||
|
<display-name>iTop - Class method code</display-name>
|
||||||
|
<place><![CDATA[xmlTag().withLocalName(string().equalTo("code"))]]></place>
|
||||||
|
<xpath-condition>name(..) = 'method' and count(/itop_design) = 1</xpath-condition>
|
||||||
|
</injection>
|
||||||
|
<injection language="InjectablePHP" injector-id="xml">
|
||||||
|
<display-name>iTop - Snippet code</display-name>
|
||||||
|
<place><![CDATA[xmlTag().withLocalName(string().equalTo("snippet"))]]></place>
|
||||||
|
<xpath-condition>name(..) = 'snippets' and count(/itop_design) = 1</xpath-condition>
|
||||||
|
</injection>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
Reference in New Issue
Block a user