• 0

    posted a message on IntelliJ Plugin for Wow AddOn development

    I know of the cost of the xml file indirection (after 10 years of C++, I'd hope :p), and it's not that problematic, considering wow probably caches it somewhere independently of the method used, but I was talking about a design pov: having a list of files referenced in a toc file doesn't seem very practical, that's basically why we invented markup languages. The fact that the repo handles it better is a good reason though.

    Posted in: Lua Code Discussion
  • 0

    posted a message on IntelliJ Plugin for Wow AddOn development

    Repository keyword substitution is implemented with git hooks (for git, at least) which cam mean several things:

     

    * Either the packaging tool bundles those hooks (often stored on the git server that receives your code)

    * Or you implemented it on your side

     

    I was just saying that I am going to abstract those concepts to allow ANY service to be implemented later on, and also expose a Cursewow/Wowace implementation as the default one, all integrated in IntelliJ's interface :)

     

    I wasn't particularly asking you to help on the code, but was just insisting on the fact that the project is open sourced, so people can just fork it and modify it to their convenience. Your feedback is appreciated though :) That's a good way to contribute without the need to actually dev :p

     

    PS: Do you know why the embeds.xml isn't used anymore ? If I had to design a way to reference a bunch of libs in a config file, I would use something similar, like almost EVERY other 'package/dependency manager-like' tool. Not XML of course, but YAML or JSON, instead of having a list of entries in my main config file.

    Posted in: Lua Code Discussion
  • 0

    posted a message on IntelliJ Plugin for Wow AddOn development

    Oh, and repository keyword substitution only works with SourceForge right ? Not that it really matters, but I'd rather abstract the concept, add some deploy configuration, and implement SourceForge way of doing it x) That way, people pushing on different hosts can still chose not to implement it Sourceforge's way

    Posted in: Lua Code Discussion
  • 0

    posted a message on IntelliJ Plugin for Wow AddOn development

    Hey!

     

    Thanks for the feedback, it's much appreciated :)

     

    I didn't really pay attention to new ways of doing things AddOn-wise, so don't worry, I'm ready to hear pretty much any suggestion :p I'm an advanced object oriented designer and dev, not an AddOn dev, and the reason why I'm developing this plugin is simply that I didn't want to re-do those steps every time :p (Plus, some friends and I felt there was something missing in the Wow AddOn dev chain: good tools)

     

    I'll modify the TocFile to point to individual files instead of the enbeds.xml. To be frank, I'd rather never use xml, but I thought this was the accepted way of referencing libs x)

    About IntelliSense, the Lua plugin by sylvanaar should provide basic Lua support (I use it for add-ons) and I bundled the wow-api wrapper from the same guy. On a new project, I have all the Lua stdlib and the wow-api that autocompletes, but not Ace3, due to how their Lua "Objects" are created: the Lua plugin doesn't parse it very well.

    Impelmenting my own Lua parser is on my roadmap for the plugin though, it is a good way to train with Kotlin :p

     

    About your second post, I am considering using IntelliJ File Templates to generate the default files, but it was too much of a hassle without clear docs, and I first wanted something working :) For now, all the strings written in the default files are ust compile time constants. Every part of the plugin is abstracted though, so adding new functionalities is just a matter of actually implementing them.

     

    My job consists of allowing code to be re-used and understandable, so please, feel free to help on the project if you'd like (anyone, not just Myrroddin :p)

     

    Posted in: Lua Code Discussion
  • 3.88011284863073

    posted a message on IntelliJ Plugin for Wow AddOn development

    Hiho!

     

    I just finished the first version of a plugin for IntelliJ IDEA:

     

    https://plugins.jetbrains.com/plugin/10042-world-of-warcraft-addon-support

     

    The plugin generates:

     

    • Libs folder containing Ace3 libs
    • toc file
    • main lua file with default AddOn stub using LibStub (with console mixin)

    It is under MIT License, so feel free to fork it :)

    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.