As
you know, Notepad++ is a free editing tool and One of its features is the
ability to have additional languages defined which allows code mark-up.
To Setup OUAF-ConfigTool as New Language in Notepad++:
- If you don’t have Notepad++, download and install Notepad++ from any source (for example: http://notepad-plus-plus.org/)
- Create "configTools.xml" file into your local drive/pc with the below XML content (I am not able attach a file in the blog?).
- Install the User-Defined Language (UDL) for OUAF Config Tools by doing the following steps after launching Notepad++:
- Select Language > Define your language ... from the menus.
- Click Import.
- Select your local copy of configTools.xml, then click Open.
- An "Import successful." dialog box will come up.
- Close the confirmation dialog box and restart Notepad++.
- You would now see "ConfigTools" as an option (near the bottom) when you click Language from the menu.
To use the
OUAF Config Tools language definition:
- Edit or paste a config tools text into Notepad++.
- Select Language > ConfigTools from the menu.
- Your text will now be treated as a ConfigTools and will be marked-up as such.
configTools.xml Content:
<NotepadPlus>
<UserLang name="ConfigToolsPresent" ext="" udlVersion="2.1">
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0"/>
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no"/>
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"/>
<Keywords name="Numbers, prefix2"/>
<Keywords name="Numbers, extras1"/>
<Keywords name="Numbers, extras2"/>
<Keywords name="Numbers, suffix1"/>
<Keywords name="Numbers, suffix2"/>
<Keywords name="Numbers, range"/>
<Keywords name="Operators1">; = + ! </Keywords>
<Keywords name="Operators2"/>
<Keywords name="Folders in code1, open"/>
<Keywords name="Folders in code1, middle"/>
<Keywords name="Folders in code1, close"/>
<Keywords name="Folders in code2, open"/>
<Keywords name="Folders in code2, middle"/>
<Keywords name="Folders in code2, close"/>
<Keywords name="Folders in comment, open">if</Keywords>
<Keywords name="Folders in comment, middle">else</Keywords>
<Keywords name="Folders in comment, close">end-if</Keywords>
<Keywords name="Keywords1">move to invokeBO using
declareBO as invokeBS with warn suppress invokeSS
</Keywords>
<Keywords name="Keywords2">
</Keywords>
<Keywords name="Keywords3">for end-for read fastUpdate add</Keywords>
<Keywords name="Keywords4"/>
<Keywords name="Keywords5"/>
<Keywords name="Keywords6"/>
<Keywords name="Keywords7"/>
<Keywords name="Keywords8"/>
<Keywords name="Delimiters">00" 01 02" 03' 04 05' 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="0" fontSize="10" nesting="0"/>
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="LINE COMMENTS" fgColor="0000FF" bgColor="FFFFFF" fontStyle="3" fontSize="10" nesting="0"/>
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="KEYWORDS1" fgColor="000000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0"/>
<WordsStyle name="KEYWORDS2" fgColor="000000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="3" fontSize="10" nesting="0"/>
<WordsStyle name="KEYWORDS3" fgColor="FF0000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0"/>
<WordsStyle name="KEYWORDS4" fgColor="FF0000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="2" fontSize="10" nesting="0"/>
<WordsStyle name="KEYWORDS5" fgColor="FF8000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0"/>
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="OPERATORS" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="10" nesting="0"/>
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontStyle="3" nesting="0"/>
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="FOLDER IN COMMENT" fgColor="FF0000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0"/>
<WordsStyle name="DELIMITERS1" fgColor="400080" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="0" fontSize="10" nesting="16785408"/>
<WordsStyle name="DELIMITERS2" fgColor="FF0000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="0" fontSize="10" nesting="1025"/>
<WordsStyle name="DELIMITERS3" fgColor="FF8000" bgColor="FFFFFF" fontStyle="3" nesting="0"/>
<WordsStyle name="DELIMITERS4" fgColor="FFFF00" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
</Styles>
</UserLang>
</NotepadPlus>
<Settings>
<Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0"/>
<Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" Keywords5="no" Keywords6="no" Keywords7="no" Keywords8="no"/>
</Settings>
<KeywordLists>
<Keywords name="Comments">00// 01 02 03 04</Keywords>
<Keywords name="Numbers, prefix1"/>
<Keywords name="Numbers, prefix2"/>
<Keywords name="Numbers, extras1"/>
<Keywords name="Numbers, extras2"/>
<Keywords name="Numbers, suffix1"/>
<Keywords name="Numbers, suffix2"/>
<Keywords name="Numbers, range"/>
<Keywords name="Operators1">; = + ! </Keywords>
<Keywords name="Operators2"/>
<Keywords name="Folders in code1, open"/>
<Keywords name="Folders in code1, middle"/>
<Keywords name="Folders in code1, close"/>
<Keywords name="Folders in code2, open"/>
<Keywords name="Folders in code2, middle"/>
<Keywords name="Folders in code2, close"/>
<Keywords name="Folders in comment, open">if</Keywords>
<Keywords name="Folders in comment, middle">else</Keywords>
<Keywords name="Folders in comment, close">end-if</Keywords>
<Keywords name="Keywords1">move to invokeBO using
declareBO as invokeBS with warn suppress invokeSS
</Keywords>
<Keywords name="Keywords2">
</Keywords>
<Keywords name="Keywords3">for end-for read fastUpdate add</Keywords>
<Keywords name="Keywords4"/>
<Keywords name="Keywords5"/>
<Keywords name="Keywords6"/>
<Keywords name="Keywords7"/>
<Keywords name="Keywords8"/>
<Keywords name="Delimiters">00" 01 02" 03' 04 05' 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23</Keywords>
</KeywordLists>
<Styles>
<WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="0" fontSize="10" nesting="0"/>
<WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="LINE COMMENTS" fgColor="0000FF" bgColor="FFFFFF" fontStyle="3" fontSize="10" nesting="0"/>
<WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="KEYWORDS1" fgColor="000000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0"/>
<WordsStyle name="KEYWORDS2" fgColor="000000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="3" fontSize="10" nesting="0"/>
<WordsStyle name="KEYWORDS3" fgColor="FF0000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0"/>
<WordsStyle name="KEYWORDS4" fgColor="FF0000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="2" fontSize="10" nesting="0"/>
<WordsStyle name="KEYWORDS5" fgColor="FF8000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0"/>
<WordsStyle name="KEYWORDS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="OPERATORS" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="10" nesting="0"/>
<WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontStyle="3" nesting="0"/>
<WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="FOLDER IN COMMENT" fgColor="FF0000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="1" fontSize="10" nesting="0"/>
<WordsStyle name="DELIMITERS1" fgColor="400080" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="0" fontSize="10" nesting="16785408"/>
<WordsStyle name="DELIMITERS2" fgColor="FF0000" bgColor="FFFFFF" fontName="@Arial Unicode MS" fontStyle="0" fontSize="10" nesting="1025"/>
<WordsStyle name="DELIMITERS3" fgColor="FF8000" bgColor="FFFFFF" fontStyle="3" nesting="0"/>
<WordsStyle name="DELIMITERS4" fgColor="FFFF00" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
<WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontStyle="0" nesting="0"/>
</Styles>
</UserLang>
</NotepadPlus>
Hi Senthil,
ReplyDeleteCan you tell me how can debug mode be setup for Oracle ccb development...Usually i write code..and then depoly cm.jar and check my result...is there any way to set up debug mode for OUAF development
My favorite XML editor is Codelobster
ReplyDelete