Re: Developing Language support for Sahi Scripts based on JavaScript language

geertjan wielenga <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Organization Oracle Corporation
Message-ID <[email protected]>
Maybe take a look at this: https://github.com/GeertjanWielenga/KendoNetBeans

Gj

On 7-12-2015 17:38, rahulmr wrote:
> 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)
>
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.