Results 1 to 12 of 12

Thread: Auto-Completion and colour highlighting for Notepad++

  1. #1
    Aneirin's Avatar of flowing verse
    Join Date
    Nov 2012
    Location
    Gododdin
    Posts
    2,734

    Default Auto-Completion and colour highlighting for Notepad++

    Hey there,

    I had a bit of spare time during last week, so I've created a custom language in notepad++,
    along with the according auto-suggesting xml file.

    Well, if someone says now, 'hold on, there is already one', yes, that's right.
    A couple of years ago made by GrnEyedDvl click here!

    Here are two screenshots to give you a certain impression.

    Spoiler Alert, click show to read: 

    Spoiler Alert, click show to read: 


    Note:
    I strongly recommend to set your design to "blackboard" for most effective contrast (settings -> style configurator... ->design)
    Also, the colour highlighting works only for the campaign_script and descr_strat properly!
    Hopefully I'll have enough time to add the other files, as well.



    Download

    How to install:
    Spoiler Alert, click show to read: 

    For those of you who don't have Notepad++ yet... should download it right now..
    Notepad++ Download

    All right, first of all extract the rar file to your Desktop or your any other desired destination.
    The rar file contains to xml files, named "MTWII - Script" & "TW_MEDII_SC".
    What you have to do now is to copy the "TW_MEDII_SC" into your notepad++ APIs folder. Have a look at the picture below for the exact destination.
    Spoiler Alert, click show to read: 


    So next step is to import the remaining file "MTWII - Script" into your notepad++.
    That is how we do it.
    Open notepad++, go to languages -> user defined languages and click the import button.
    Spoiler Alert, click show to read: 


    Now navigate to the path of the "MTWII - Script" file and press "open".
    Spoiler Alert, click show to read: 


    If everything goes well, the language should now be displayed as shown in the picture below.
    Spoiler Alert, click show to read: 


    After you have closed and reopened notepad++ go again to languages and tadada! a new script language is now available.
    Spoiler Alert, click show to read: 


    Notes:
    Here are two additional notes on adding the language to notepad++.

    1. Change the design to "Blackboard" for a more effective contrast.
    2. Be sure that you have auto-completion enabled! Settings -> Preferences -> Auto-Completion -> Enable auto-completion.
    Otherwise it won't work properly.



    In case any errors should occur during use or installation, please let me know!
    Of course this "first release" is far from being perfect,
    so if you have any suggestions just post them here!


    Happy modding,

    Ned
    Last edited by Aneirin; May 01, 2016 at 05:13 PM. Reason: Learned a terrible truth, there is already one..
    Proud son of Aikanár and brother of Iskar

  2. #2
    Aneirin's Avatar of flowing verse
    Join Date
    Nov 2012
    Location
    Gododdin
    Posts
    2,734

    Default Re: Auto-Suggesting and colour highlighting for Notepad++

    Just added download link!

    Cheers!
    Proud son of Aikanár and brother of Iskar

  3. #3

    Default Re: Auto-Completion and colour highlighting for Notepad++

    As someone who used to do a bit of modding via notepad back in the day this is more than wellcome. Thank you so much!

  4. #4
    Aneirin's Avatar of flowing verse
    Join Date
    Nov 2012
    Location
    Gododdin
    Posts
    2,734

    Default Re: Auto-Completion and colour highlighting for Notepad++

    Not at all!
    Proud son of Aikanár and brother of Iskar

  5. #5
    Lifthrasir's Avatar "Capre" Dunkerquois
    Patrician took an arrow to the knee

    Join Date
    Jan 2010
    Location
    City of Jan Baert
    Posts
    13,950
    Blog Entries
    4

    Default Re: Auto-Completion and colour highlighting for Notepad++

    Looks promising and useful. I look forward to see the implementation of the other files. That would make it perfect
    Under the patronage of Flinn, proud patron of Jadli, from the Heresy Vault of the Imperial House of Hader

  6. #6
    Aneirin's Avatar of flowing verse
    Join Date
    Nov 2012
    Location
    Gododdin
    Posts
    2,734

    Default Re: Auto-Completion and colour highlighting for Notepad++

    Actually, I had the idea to create a complete integrated development environment for scripting,
    since I am studying a kind of computer science it would be quite fun.
    But we'll see

    Edit: Well, but there is already one... again, is it not?
    Last edited by Aneirin; May 01, 2016 at 05:08 PM.
    Proud son of Aikanár and brother of Iskar

  7. #7
    _Tartaros_'s Avatar "Harzschütze"
    Join Date
    Aug 2009
    Location
    kvet.lɪnˌbuʁk
    Posts
    4,492

    Default Re: Auto-Completion and colour highlighting for Notepad++

    Geile Sache!
    Will try this as soon as possible

  8. #8

    Default Re: Auto-Completion and colour highlighting for Notepad++

    Great work Neadal! I'm going to try and see how it works. I think it's a very interesting tool.

  9. #9
    Aneirin's Avatar of flowing verse
    Join Date
    Nov 2012
    Location
    Gododdin
    Posts
    2,734

    Default Re: Auto-Completion and colour highlighting for Notepad++

    Sure! Let me know your suggestions
    Proud son of Aikanár and brother of Iskar

  10. #10

    Default Re: Auto-Completion and colour highlighting for Notepad++

    You know its one thing to make a model that people can ohhh and ahhh over but the real heros are people who make awesome tools like this. Thanks man this is really cool.

  11. #11
    Frunk's Avatar Form Follows Function
    Artifex

    Join Date
    Jun 2009
    Location
    Gold Coast
    Posts
    6,505

    Default Re: Auto-Completion and colour highlighting for Notepad++

    Hello Uncle Aneirin, I was going to re-download this, but it appears your link is dead.

  12. #12
    Aneirin's Avatar of flowing verse
    Join Date
    Nov 2012
    Location
    Gododdin
    Posts
    2,734

    Default Re: Auto-Completion and colour highlighting for Notepad++

    I'll have a look, if I can find it somewhere
    Proud son of Aikanár and brother of Iskar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •