ZeroBrane Studio

基于 Lua 的轻量级 Lua 集成开发环境,具有代码自动补全、语法高亮、实时编码、远程调试器和代码分析器;支持 Windows、macOS 和 Linux 上的 Lua 5.1、5.2、5.3、LuaJIT 和其他 Lua 解释器。「Lightweight Lua-based IDE for Lua with code completion, syntax highlighting, live coding, remote debugger, and code analyzer; supports Lua 5.1, 5.2, 5.3, LuaJIT and other Lua interpreters on Windows, macOS, and Linux」

Project Description

ZeroBrane Studio is a lightweight cross-platform Lua IDE with code completion,
syntax highlighting, remote debugger, code analyzer, live coding,
and debugging support for various Lua engines
(Lua 5.1,
Lua 5.2,
Lua 5.3,
Lua 5.4,
LuaJIT,
LÖVE,
Moai,
Gideros,
Corona,
Marmalade Quick,
Cocos2d-x,
OpenResty/Nginx,
Torch7,
Redis,
GSL-shell,
Adobe Lightroom,
Lapis,
Moonscript,
and others).

ZeroBrane Studio debugger screenshot

Features

  • Small, portable, and cross-platform (Windows, macOS, and Linux).
  • Written in Lua and is extensible with Lua packages.
  • Syntax highlighting and folding for 125+ languages and file formats.
  • Project view with auto-refresh and ability to hide files and directories from the list.
  • Bundled with several of the most popular Lua modules
    (luasocket,
    luafilesystem,
    lpeg,
    and luasec)
    compiled for all supported Lua versions.
  • Auto-complete for functions, keywords, and custom APIs with scope-aware completion for variables.
  • Scope-aware variable indicators for Lua code.
  • Integrated debugger with local and remote debugging
    for Lua 5.1,
    Lua 5.2,
    Lua 5.3,
    Lua 5.4,
    LuaJIT,
    and other Lua engines.
  • Interactive console to directly test code snippets with local and remote execution.
  • Live coding
    with Lua,
    LÖVE,
    Gideros,
    Moai,
    Corona SDK,
    GSL-shell, and other engines.
  • Static analysis to catch errors and typos during development.
  • Function outline.
  • Go to definition navigation.
  • Multi-cursor editing with scope-aware variable selection and renaming.
  • Fuzzy search with Go To File, project-wide Go To Symbol navigation, and Insert Library Function.
  • Find and replace in multiple files with preview and undo.
  • Several ways to extend the current functionality:
    • packages (packages/): plugins that provide additional functionality;
    • translations (cfg/i18n/): translations of the menus and messages to other languages;
    • user configuration (cfg/): settings for various components, styles, color themes, and other preferences.

Documentation

Installation

The IDE can be installed into and run from any directory. There are three options to install it:

No compilation is needed for any of the installation options, although the scripts to compile required libraries for all supported platforms are available in the build/ directory.

See the installation section in the documentation for further details and uninstallation instructions.

Usage

The IDE can be launched by using the zbstudio command with slight variations depending on whether a packaged installation or a repository copy is used:

  • Windows: Run zbstudio from the directory that the IDE is installed to or create a shortcut pointing to zbstudio.exe.
  • Linux: Run zbstudio when installed from the package installation or run ./zbstudio.sh when using a snapshot/clone of the repository.
  • macOS: Launch the ZeroBrane Studio application if installed or run ./zbstudio.sh when using a snapshot/clone of the repository.

The general command for launching is the following: zbstudio [option] [<project directory>] [<filename>...].

  • Open files: zbstudio <filename> [<filename>...].
  • Set project directory (and optionally open files): zbstudio <project directory> [<filename>...].
  • Overwrite default configuration: zbstudio -cfg "string with configuration settings", for example: zbstudio -cfg "editor.fontsize=12; editor.usetabs=true".
  • Load custom configuration file: zbstudio -cfg <filename>, for example: zbstudio -cfg cfg/xcode-keys.lua.

All configuration changes applied from the command line are only effective for the current session.

If you are loading a file, you can also set the cursor on a specific line or at a specific position by using filename:<line> and filename:p<pos> syntax (0.71+).

In all cases only one instance of the IDE will be allowed to launch by default:
if one instance is already running, the other one won't launch, but the directory and file parameters
passed to the second instance will trigger opening of that directory and file(s) in the already started instance.

Contributing

See CONTRIBUTING.

Author

ZeroBrane Studio and MobDebug

ZeroBrane LLC: Paul Kulchenko (paul@zerobrane.com)

Estrela Editor

Luxinia Dev: Christoph Kubisch (crazybutcher@luxinia.de)

Where is Estrela?

The Estrela project that this IDE is based on has been merged into ZeroBrane Studio.
If you have used Estrela for graphics shader authoring, you can use this GraphicsCodePack
to get access to all API files, specifications and tools.

License

See LICENSE.

主要指标

概览
名称与所有者pkulchenko/ZeroBraneStudio
主编程语言Lua
编程语言Lua (语言数: 5)
平台
许可证Other
所有者活动
创建于2011-12-05 00:52:11
推送于2024-05-19 22:43:13
最后一次提交2024-05-19 15:42:25
发布数37
最新版本名称2.01 (发布于 2023-09-26 21:37:32)
第一版名称0.25 (发布于 2012-01-17 20:38:46)
用户参与
星数2.7k
关注者数146
派生数520
提交数4.1k
已启用问题?
问题数1072
打开的问题数100
拉请求数68
打开的拉请求数5
关闭的拉请求数50
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?