Git Product home page Git Product logo

cocos2d_x_luaautocomplete's Introduction

Cocos2d-x LuaAutocomplete


Edit from LuaAutocmplete
support LuaExtended plugin


auto-completion added

  • add cocos api(modules, class, class-method)
    • input module or class before an empty char or in a new line, will show cocos modules or classes in completions
    • input class after an module with dot, will show cocos classes of that module in completions
    • class-funcs
      • input specific class name follow ":", will show funcs that should use ":" to call in completions
      • input specific class name follow ".", will show funcs that should use "." to call in completions
  • require path(folder & file in str content)
  • file path(in str content)

configuration

Need configure the lua api files folder path(api files should generated by tolua), res folder and script folder in Cocos2d_x_LuaAutocomplete.py When first open subl or reload plugins, type words first time will stuck a while to load api files


wish-list

  • use a config file to configure vars above
  • vars go with .sublime-project
  • find a way to support more, now api files generated by tolua is not the full version
    • miss some functions which supported by manual.cpp, not recorded
    • some defined in cocos lua framework(script/cocos/*.lua and so on)
  • maybe use sqlite to store and get curtain completions to speed-up loading
  • log file not used yet, may record some crashes into it

update log

  • 20180524
    • support custom classes generated by tolua
    • all classes completions will insert into modules completions

cocos2d_x_luaautocomplete's People

Contributors

issacy avatar colonelthirtytwo avatar

Watchers

James Cloos avatar  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.