Dayalan Punniyamoorthy Blog

Tuesday, February 27, 2018

Edit / View Groovy from Notepad++

This will help you if you like to edit or view the Groovy Program using the Notepad ++

Currently, you don't have Groovy listed under Language in Notepad ++ so editing or viewing a Groovy program is not well displayed.

But you can add Groovy language to Notepad ++.

Step 1:


Creare “userDefineLang_Groovy.xml” by copying the following code and saving it

<NotepadPlus>
    <UserLang name="Groovy" ext="groovy" udlVersion="2.1">
        <Settings>
            <Global caseIgnored="no" />
            <Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="no" />
        </Settings>
        <KeywordLists>
            <Keywords name="Comments">03/* 04*/ 00// 01 02</Keywords>
            <Keywords name="Keywords1">abstract break case catch continue default do else extends final finally for if implements instanceof native new private protected public return static switch synchronized throw throws transient try volatile while strictfp package import false null super this true</Keywords>
            <Keywords name="Keywords2">as assert def mixin property test using in it</Keywords>
            <Keywords name="Keywords3">boolean byte char class double float int interface long short void</Keywords>
            <Keywords name="Keywords4">abs any append asList asWritable call collect compareTo count div dump each eachByte eachFile eachLine every find findAll flatten getAt getErr getIn getOut getText grep immutable inject inspect intersect invokeMethods isCase join leftShift minus multiply newInputStream newOutputStream newPrintWriter newReader newWriter next plus pop power previous print println push putAt read readBytes readLines reverse reverseEach round size sort splitEachLine step subMap times toInteger toList tokenize upto waitForOrKill withPrintWriter withReader withStream withWriter withWriterAppend write writeLine</Keywords>
            <Keywords name="Delimiters">00&quot; 01 02&quot; 03&apos; 04 05&apos;</Keywords>
        </KeywordLists>
        <Styles>
            <WordsStyle name="DEFAULT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" nesting="0" />
            <WordsStyle name="COMMENTS" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" nesting="0" />
            <WordsStyle name="LINE COMMENTS" fgColor="008000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" nesting="0" />
            <WordsStyle name="NUMBERS" fgColor="FF0000" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" nesting="0" />
            <WordsStyle name="KEYWORDS1" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" nesting="0" />
            <WordsStyle name="KEYWORDS2" fgColor="006699" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" nesting="0" />
            <WordsStyle name="KEYWORDS3" fgColor="FF8000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" nesting="0" />
            <WordsStyle name="KEYWORDS4" fgColor="8000FF" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" nesting="0" />
            <WordsStyle name="OPERATORS" fgColor="804000" bgColor="FFFFFF" fontName="" fontStyle="1" fontSize="" nesting="0" />
            <WordsStyle name="DELIMITERS1" fgColor="808080" bgColor="FFFFFF" fontStyle="0" nesting="0" />
            <WordsStyle name="DELIMITERS2" fgColor="808080" bgColor="FFFFFF" fontStyle="0" nesting="0" />
        </Styles>
    </UserLang>
</NotepadPlus>


Step 2:
Under Notepad ++ go to Language - Define your language


Select the Import and select "userDefineLang_Groovy.xml” from the saved location 
Once the file is imported you could find the Groovy :-)


Happy times with Groovy & thanks to the author for the XML file!!!

19 comments:

  1. salg kopi eksklusive klokker, der kombinerer elegant stil og avanceret teknologi, en række forskellige stilarter af salg bell-and-ross kopi eksklusive klokker, går markøren mellem din eksklusive smagstil.

    ReplyDelete
  2. Hello,
    I have developed my own Essbase language syntax with highlighting functions, function autocompletion, and occasionally error detection.
    I share my development.
    I hope it works for you.
    Cheers!
    https://github.com/sebastiantofano/lenguaje-essbase-notepad

    ReplyDelete
  3. Hi there I followed your instructions but don't see Groovy listed under language

    ReplyDelete
  4. Hello, Same here. I dont see Groovy after following your instructions under Language.

    ReplyDelete
  5. Thanks for a very interesting blog. What else may I get that kind of info written in such a perfect approach? I’ve a undertaking that I am simply now operating on, and I have been at the look out for such info. Breville BES870XL review

    ReplyDelete
  6. Fabulous post, you have denoted out some fantastic points, I likewise think this s a very wonderful website. I will visit again for more quality contents and also, recommend this site to all. Thanks. 웹툰보기

    ReplyDelete
  7. Only Hyperion - Oracle Hyperion Epm Blog: Edit / View Groovy From Notepad++ >>>>> Download Now

    >>>>> Download Full

    Only Hyperion - Oracle Hyperion Epm Blog: Edit / View Groovy From Notepad++ >>>>> Download LINK

    >>>>> Download Now

    Only Hyperion - Oracle Hyperion Epm Blog: Edit / View Groovy From Notepad++ >>>>> Download Full

    >>>>> Download LINK cD

    ReplyDelete
  8. Only Hyperion - Oracle Hyperion Epm Blog: Edit / View Groovy From Notepad++ >>>>> Download Now

    >>>>> Download Full

    Only Hyperion - Oracle Hyperion Epm Blog: Edit / View Groovy From Notepad++ >>>>> Download LINK

    >>>>> Download Now

    Only Hyperion - Oracle Hyperion Epm Blog: Edit / View Groovy From Notepad++ >>>>> Download Full

    >>>>> Download LINK C1

    ReplyDelete