dreadicon Posted December 5, 2014 Share Posted December 5, 2014 (edited) So, had these around for about a month, was encouraged to share them by some friendly fellow modders. It's just some syntax highlighting language settings for use with Module Manager files in Notepad++. Please give any feedback, and/or feel free to make your own highlighting based on this. INSTRUCTIONSDownload the xml Notepad++ language config file from here: https://drive.google.com/file/d/0B2WmuS1jXmpXMl82WTl5QnRXclE/viewJust save it, then in Notepad++ go to Language -> User Defined Language -> Import... then select the downloaded file. Finally, restart Notepad++, load up the MM file, and then go to Language -> Module Manager (near the bottom)Note that because MM doesnt use a unique file extension, you will have to select the syntax highlighting each time you open a new file.There is also no intellisense/auto-complete either, as Notepad++ custom syntax highlighting is quite basic currently (without diving into manual XML tweaking, and even then)LICENSEIf relevant/needed, license is EPL: https://www.eclipse.org/legal/epl-v10.htmlThink of it like a compromise between LGPL and BSD/Apache. Basically, you can make derivative works, and do as you wish, with the caveat that changes are offered upstream, and copyleft only kicks in when the source is made available. For purposes here, I am making a single addendum as follows: 'available in source code form' refers to when the creator of the derivative work allows for further derivative works of any kind, not when the source is available. (otherwise this is basically just LGPL due to the work being inherently in source code form)Let me know if the license is a moot point, or violates anything! A PM to me with the new language file would suffice for the upstream requirement. Edited December 5, 2014 by dreadicon Quote Link to comment Share on other sites More sharing options...
jandcando Posted December 7, 2014 Share Posted December 7, 2014 Thanks, it works great!Oh and I suggest a clarification on the instructions: change "Language -> User Defined Language -> Import..." to "Language -> Define your language -> Import..." Quote Link to comment Share on other sites More sharing options...
PiezPiedPy Posted January 30, 2017 Share Posted January 30, 2017 Nice1, easier than defining it myself Quote Link to comment Share on other sites More sharing options...
Nils277 Posted February 9, 2017 Share Posted February 9, 2017 (edited) @dreadicon This is a brilliant idea to use the syntax highlighter of Notepad++! This inspired me to create a highlighting for the all the .cfg files for stock KSP and MM: KSP Syntax Highlight Btw, you have defined ".cfg" as ending but it should be only "cfg" this way all files ending with .cfg will have the highlighting automatically Edited February 9, 2017 by Nils277 typo Quote Link to comment Share on other sites More sharing options...
Stratickus Posted May 26 Share Posted May 26 Does anyone have a copy of this Notepad++ language config file? The OP's link does not work for me. Cheers, Quote Link to comment Share on other sites More sharing options...
JadeOfMaar Posted May 27 Share Posted May 27 10 hours ago, Stratickus said: Does anyone have a copy of this Notepad++ language config file? The OP's link does not work for me. Cheers, I have one. I've updated it to some extent and made a dark mode version. Quote Link to comment Share on other sites More sharing options...
Stratickus Posted May 29 Share Posted May 29 On 5/26/2023 at 9:48 PM, JadeOfMaar said: I have one. I've updated it to some extent and made a dark mode version. Thanks. I think I came across yours in my search for the one I have used for almost a decade. I think it is the most similar. Unfortunately, I got a new computer and can't for the life of me find the Notepad++ language that I've been using in KSP for many years. It's almost hard to look at config files now. Anyway, I think the OP's language was the one I used for all these years, but I haven't been able to verify it since the link is broken for me. Thanks again for the help. Cheers, Quote Link to comment Share on other sites More sharing options...
JadeOfMaar Posted May 29 Share Posted May 29 @Stratickus Ok... Well since the language name is custom it's not important at all what the previous name was. And it's hard to miss (as a selection) when it's in the "User Defined" section at the bottom of the context menu for picking languages. I think anyone can relate to the difficulty of reading a config without syntax highlighting. You're welcome. Quote Link to comment Share on other sites More sharing options...
Stone Blue Posted May 30 Share Posted May 30 @Stratickus If not the original OP's, & not Jade's, mebbe it was mine? vOv https://github.com/StoneBlue/KSPLanguageforNotePad-- Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.