This is my second post. But I am not here to ask any question, I am here to share something. I don't know if it would help anyone. I have made an ORX config syntax highlighter and auto keyword-completion for notepad++. I have not found anything this kind in this forum, if anybody has better solution then please share it with us.
The main feature is
1. It differentiates int/bool and vector/float. So when I see a code I know how would be its value.
2. And the most amazing thing for me is auto complete. When I type a single letter it shows me all ORX config keyword so that I can choose the right keyword. A simple demonstration is given here.
Though,it may not be helpful for those who knows ORX but can be helpful for new users like me. But notepad++ is only for windows. So if anyone has made this kind of things for other cross-platform editor or any better syntax highlighter for notepad++ then please share it with us.
I have attached a zip file which contains two xml files, orx.xml and orx_syntax.xml. I am using notepad++ version 22.214.171.124, which is the current version I think. Now ,what to do to use this features :
Step 1: Start notepad++, click 'View' -> 'User Defined Dialogue' another sub window will pop up.
Step 2: Click 'Import' and then select orx_syntax.xml , when you get a pop up menu saying "Import Successful" then the ORX syntax highlighter is correctly imported. To see the change restart notepad++. Now when you click 'Language' from menu bar, you will see 'orx' at the bottom of the list. Now you can use ORX syntax highlighter selecting ORX.
Step 3: To use ORX auto code-complete feature go to the directory where notepad++ is installed, for me it is "C:Program FilesNotepad++". Then go to directory pluginsAPIs and copy the orx.xml file in this folder. You will also see c.xml, cpp.xml, java.xml, hlml.xml and even xml.xml in this folder.
To see the effect restart the notepad++.
Step 4: This is the final step. Open any orx configuration file and select ORX as language and you are done
You can press ctrl+shift to bring the keyword box or you can enable auto-completion by selecting
'Settings'-> 'Preferences' -> 'Backup/auto-completion'
clicking 'Enable auto-completion on each input' , 'function completion' and 'Function parameters hint on input'.
I am not very good at making tutorial, in fact this first time I am doing anything like this, so there may be mistakes. So, Pardon me if I have done any mistakes so far.
Here is the attachment , contains orx.xml and orx_syntax.xml