Hi,
On Tue, Apr 30, 2013 at 5:22 PM, Rajeeva Uthayasangar <[email protected]>wrote: > Hi All, > I were asked to write a Jaggery IDE plugin for eclipse with the following > features: > > 1.Editor syntax coloring > 2. HTML and JavaScript support for Jaggery Editor > 2. Code Assistance feature. > 3. Code Auto Completion. > > Tasks completed:: > https://wso2.org/jira/browse/TOOLS-1595 > > Initially I have started to write the jaggery editor based on VJET > (JavaScript Plugin) and finished the syntax coloring part. But HTML syntax > coloring is not supported. > > So I switched from VJET and followed the PHP Development Tools(PDT) source > code which has the multi-language(JavaScript and HTML) support as we > expects from Jaggery Editor. > > In VJET, predefined eclipse APIs can be used to identify the code > partitions. But in PDT, they have defined their own class for all document > partitioning. Since there is no documentation, it takes time to debug and > go through the full source code to identify the necessary part. > PHP Development Tools(PDT) is based on Eclipse 'Dynamic Language ToolKit' (DLTK) which has a great support to generate editors for domain specific languages. DLTK should be provided the grammar for the specific language. For this thing PDT is using 'Java Cup' for generating the parser and they are using JFlex for generating the scanner. So when you going to debug the PDT code, the knowledge about above technologies (DLTK, Java Cup, JFlex etc.) needed and will acquire some time to get familiar with these technologies. Thanks, Viraj. -- Viraj Rajaguru Software Engineer WSO2 Inc. : http://wso2.com Mobile: +94 77 3683068
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
