Developing Language support for Sahi Scripts based on JavaScript language
"rahulmr" <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello, I am working on Sahi Pro web automation software http://sahipro.com I wanted to integrate Sahi scripting with NetBeans IDE, so I was referring the AbcFileType tutorial, but it seems to advance and need something simple based on JavaScript support on NetBeans. Sahi scripts are based on JavaScript. While Sahi .suite files are just text files having below format scriptname url arg1 arg2 ... If I add extra extension in the File Associations for .sah file and choose text/javascript things work quite great but I want to further customize the .sah and .suite files so that they do not show error when some Sahi way of coding is written in script. Is there any way to change or extend JavaScript to work Sahi way. Also where can I get the source code for JavaScript plugin? May be I can think of modifying it. Though I think that would not be a good approach. Is using Lexer, can server my purpose? Thanks for any suggestions in right direction. (I am noob in NetBeans Module development and this forum as well)