Coder Social home page Coder Social logo

j2nppac's Introduction

j2nppac

Parses JASS natives, functions, constants and types into a npp autocomplete file along with descriptions support.

Usage

Run j2nppac.py, main configurations can be made inside the script. Jass script files you can find in Jassdoc and Wc3 jass history scripts. common.j must always be parsed first to gather types.

Jassdoc should get you the latest scripts used by retail while Wc3 JASS history scripts should get you any version you could ever need. Or you may also just extract the scripts from the game files yourself and feed it your own made data as well.

If you want to write your own documentation for functions see: Jassdoc#Annotations.

For j2nppac's purposes, any @annotation is equivalent to annotation - in the same line and a directive to not append the annotation line into a previous line; @pure and @async get converted to <pure> and <async> though.

Issues/todo

  • Escaping for descriptions isn't supported.
  • Code not marked as such inside a code block isn't detected
  • Text wrapping could be better.

j2nppac's People

Contributors

leyki avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.