No description or website provided.
Python C#
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Editor
quickxlib
.gitignore
Context.sublime-menu
Context.sublime-menu.meta
Default (Linux).sublime-keymap
Default (Linux).sublime-keymap.meta
Default (OSX).sublime-keymap
Default (OSX).sublime-keymap.meta
Default (Windows).sublime-keymap
Default (Windows).sublime-keymap.meta
Editor.meta
LICENSE
Lua.sublime-build
Lua.sublime-build.meta
Main.sublime-menu
Main.sublime-menu.meta
QuickXDev.sublime-settings
QuickXDev.sublime-settings.meta
README.md
README.md.meta
Side Bar.sublime-menu
Side Bar.sublime-menu.meta
SluaDev.sublime-project
SluaDev.sublime-project.meta
SluaDev.sublime-workspace
SluaDev.sublime-workspace.meta
definition.py
definition.py.meta
helper.py
helper.py.meta
package-metadata.json
package-metadata.json.meta
quickx.py
quickx.py.meta
quickxlib.meta
rebuild.py
rebuild.py.meta

README.md

QuickXDev --ver 3.3

Powerful quick-cocos2d-x develop plugin for sublime text 2/3

CHINESE:http://my.oschina.net/lonewolf/blog?catalog=412647

Description

A quick-cocos2d-x develop plugin for sublime text 2/3.

Features

  • quick-cocos2d-x api completions support(framework and cocos2dx tolua)
  • goto definition
  • create new project
  • run with player
  • compile scripts
  • user definition auto completion
  • system api completions support (lua 5.1)
  • some snippets,like if-else,if-elseif-else,while,comment,repeat-until....
  • create new lua file with template
  • lua biuld system

Installation

1.Install via Package Control

2.Download .zip source file, then unzip it,rename it with "QuickXDev",then clone "QuickXDev" folder into the SublimeText Packages directory. A restart of SublimeText might be nessecary to complete the install.

Usage

setting

{
    "quick_cocos2dx_root": "<path>/quick-cocos2d-x",
    "author": "<your name>",
    "compile_scripts_key": "encrypt_key"
}

you must set "quick_cocos2dx_root"

goto definition

select a word then right click ->Goto Definition or press key ctrl+shift+g

  • support framework (i.e. CCNodeExtend, display.newScene, newScene, display.CENTER)
  • support cocos2dx (i.e. CCMoveBy, getWritablePath, CCMoveTo:create, create, kCCHTTPRequestMethodGET)
  • support user definition

Create New Project

right click a folder on the sidebar,select "Create New Project",enter the package name,then a new project will created.

Run with player

right click "src" folder on the sidebar,select "Run With Player",the player will run with current project.

Compile Scripts

right click "src" folder on the sidebar,select "Compile Scripts",enter the output file,then it will compile all scripts to the output file.

User definition auto completion

right click "src" folder on the sidebar,select "Rebuild User Definition". and when you save a lua file in sublime,it will auto build all user definition in the current file.# ToLuaDev