您好,登錄后才能下訂單哦!
在PHPDesigner中,您可以自定義語法高亮配置,以便更好地突出顯示代碼中的關(guān)鍵字和語法結(jié)構(gòu)。以下是一個示例PHPDesigner的語法高亮配置:
<language name="PHP" extensions="php"
comment="/* */; //"
lineCommentOn="true" lineCommentOff="true"
lineComment="//" lineCommentAtLineStart="true"
multilineCommentStart="/*" multilineCommentEnd="*/"
blockStart="{" blockEnd="}"
wordChars="A-Za-z0-9_"
escapeChar="\\"
keywords="abstract and array as break case catch class clone const continue declare default die do else elseif enddeclare endfor endforeach endif endswitch endwhile extends final finally for foreach function global goto if implements instanceof interface namespace new or private protected public static switch throw try use var while xor return"
highlighters="PHP${highlighters} PHPString ${highlighters} PHPNumber ${highlighters} PHPComment ${highlighters} PHPDocComment ${highlighters} PHPArray ${highlighters} PHPSymbol ${highlighters} PHPFunction ${highlighters} PHPOperator ${highlighters} PHPReserved ${highlighters} PHPConstant ${highlighters} PHPKeyword ${highlighters} PHPClass ${highlighters} PHPModifier ${highlighters} PHPVariable ${highlighters} PHPMethod ${highlighters} PHPProperty ${highlighters} PHPVariable ${highlighters} PHPFunction ${highlighters} PHPNumber ${highlighters} PHPToken ${highlighters} PHPString ${highlighters} PHPModifier ${highlighters} PHPKeyword ${highlighters} PHPFunction ${highlighters} PHPVariable ${highlighters} PHPClass ${highlighters} PHPProperty ${highlighters} PHPArray ${highlighters} PHPConstant ${highlighters} PHPComment ${highlighters} PHPReserved ${highlighters} PHPDocComment ${highlighters} PHPDocTag ${highlighters} PHPOperator ${highlighters} PHPClass ${highlighters} PHPModifier ${highlighters} PHPFunction ${highlighters} PHPVariable ${highlighters} PHPMethod ${highlighters} PHPProperty ${highlighters} PHPFunction ${highlighters} PHPVariable ${highlighters} PHPModifier ${highlighters} PHPOperator ${highlighters}"
>
您可以根據(jù)自己的需求修改上面的配置,添加或刪除關(guān)鍵字,更改顏色和樣式等。要將此配置應(yīng)用到PHPDesigner中,請按照以下步驟操作:
現(xiàn)在您的PHPDesigner將使用新的語法高亮配置來突出顯示代碼中的關(guān)鍵字和語法結(jié)構(gòu)。希望這對您有所幫助!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。