Notepad++ UDL (User Defined Language) or xml Style definition file for .spin

I started using Notepad++ for ALL other programing. I quickly got so used to the way Notepad++ highlights selections that now program spin using the PropellerIDE is hard to do.

Is anyone using Notepad++ for their programming? And if so, do you have a UDL style definition xml file handy, that you can share?

Also, Notepad++ is so powerful, it would be great if a plugin could be developed to flash the spin files to the memory chip from within Notepad++!

Any thoughts are, as always, most welcome.

Comments

  • 9 Comments sorted by Date Added Votes
  • PropellerGuyPropellerGuy Posts: 32
    edited May 2016 Vote Up0Vote Down
    Here's the UDL file which I wrote for my Komodo Edit plugin for Spin. I don't know whether it will work with Notepad++, though.


    Edit: Never mind, I just looked at Notepad++ and you need XML.
  • Notepad++ is an odd beast. Free and Open Source software, GPL and all that. Based on the free Scintilla source code editing component which works on Winows, Linux and Mac. Then they make it a Windows only program!

    Is it really better than say Microsoft's Visual Studio Code https://code.visualstudio.com/ Which is also Free and Open Source but runs everywhere?

    It would be very easy to make a Propeller loader plug-in for VS Code.
  • courtenscourtens Posts: 97
    edited May 2016 Vote Up0Vote Down
    Here's the UDL file which I wrote for my Komodo Edit plugin for Spin.

    Thank you for the upload - this gave me a good start. Here is my xml file
  • courtenscourtens Posts: 97
    edited May 2016 Vote Up0Vote Down
    ..
  • courtenscourtens Posts: 97
    edited May 2016 Vote Up0Vote Down
    ... will a zip work for an upload ... ?
    YES
    .xml is not accepted.
  • Hi courtens, thanks for uploading this for notepad++ but I'm having trouble getting it working.

    Could you double check that the uploaded file matches what you're using? I think there might be some html escape sequences in the file that shouldn't be there.

    Thanks,
    Joe
  • Notepad++ changed something not too long ago. I noticed the xml stopped working. I had to rebuild it. (sorry for the colors)
  • on my version, the colors make it almost un-useable.... :depressed:
  • Here is my UDL file for Spin in Notepad++. With less eye popping colors (imho). It's got some minor issues because of limitations of UDL, mainly and/or/not being both operators and pasm instructions, I chose to color them as operators so the pasm usage colors wrong.

    Note: you need a recent version of Notepad++ that has UDL 2.1 support.
Sign In or Register to comment.