MineTweaker syntax highlighting and auto-completion in Atom

Discussion in 'Mod Discussion' started by SatanicSanta, Dec 1, 2014.

  1. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    Fairly self-explanatory. This is a package for the Atom text editor that provides syntax highlighting and auto completion for ZenScript/ZenCode, the scripting language used by MineTweaker.

    You can find it here: https://github.com/satanicsanta/atom-minetweaker/ Please report issues there.

    To install it, you can either search in the settings -> packages for "minetweaker", or run "apm install [email protected]<latest version>" where <latest version> is the latest version. I recommend the first one.

    Latest version is 4.1.0
     
    Last edited: Aug 13, 2016
    1SDAN, Padfoote, epidemia78 and 2 others like this.
  2. Strikingwolf

    Strikingwolf Philosopher and Programmer FTB Mod Dev

    \o/
     
    SatanicSanta likes this.
  3. Chaka

    Chaka FTB Team Mod Developer Retired Staff

    \o/ :p
     
  4. CarbonBasedGhost

    CarbonBasedGhost Forum Addict

    Lucky for you coffee script is extremely easy to learn if you already know javascript (I learned coffee script a while ago so I know)

    oh ya, \o/
     
    1SDAN and Chaka like this.
  5. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    I suppose it's too bad that I don't know JavaScript then :p
     
    1SDAN and CarbonBasedGhost like this.
  6. CarbonBasedGhost

    CarbonBasedGhost Forum Addict

    It's like java, just annoyingly to simplistic.
     
  7. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    I really don't like web dev so I tend to avoid the languages that are used for it.
     
  8. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    Padfoote likes this.
  9. xbony2

    xbony2 WikiWorker Wiki Staff FTB Mod Dev

    Reminds me suspiciously of something :p that's ok though! :p
     
  10. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    Hurray for comments!
    1.2.0
    • Add single and multi-line comments to the stylesheets and grammars.
    1.2.1
    • Made comment gray slightly lighter
     
  11. Strikingwolf

    Strikingwolf Philosopher and Programmer FTB Mod Dev

    \o/ I think this could be extremely useful to modpack devs
     
    SatanicSanta likes this.
  12. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    I actually did this a while ago, but I just got the time to test to make sure it works, so I'm labeling it as an official release: 2.0.5

    We now have auto-completion!
     
  13. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    3.1.0:
    • Much smarter function recognition.
    • Mod support
     
    Not_Steve and Padfoote like this.
  14. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    Minor update: 3.2.0
    • Added autocompletion (snippets) for mod stuff.
    Note that this has not actually been tested, so if it doesn't work please report an issue on the issue tracker.
     
    Padfoote and Not_Steve like this.
  15. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    Minor update: 3.3.1
    • (xbony2) Added another comment type
     
    Padfoote and xbony2 like this.
  16. xbony2

    xbony2 WikiWorker Wiki Staff FTB Mod Dev

    # This one :p
     
  17. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    New version 4.1.0 (I wonder why I never updated this thread for 4.0.0...)
    • Improve spec with actual code samples from various places
    • Add support for numeric constants
    • Add support for all language keywords (in, is, as, package, bool, any, etc)
    • Improved function calling syntax, is now dynamic instead of an enormous list of methods
    • Add support for <> syntax (e.g. <liquid:copper.molten>, <ore:ingotIron>, <TConstruct:MetalBlock:3>)
    • Add NBT key syntax (Key: "value")
    Here's a preview of what it looks like now
    [​IMG]
     
    Last edited: Aug 14, 2016
  18. xbony2

    xbony2 WikiWorker Wiki Staff FTB Mod Dev

     
    SatanicSanta likes this.
  19. SatanicSanta

    SatanicSanta Wiki Steam Witch Wiki Staff FTB Mod Dev ModMyMC Editor

    New version, 4.1.1 available on Atom.
    • Remove specific grammar for the format method(s), as it should be handled by the general/dynamic method call grammar (#8).
     

Share This Page