Code Monkey home page Code Monkey logo

sublime-php-connector's Introduction

% PhpConnector for Sublime Text 2 & 3 % Richard Lea ([email protected])

PhpConnector for Sublime Text 2 & 3

VERSION: 3.1.1

Author: Richard Lea ([email protected])

Weibo: @千木郷

Introduction

The plugin is to add support for php developers to develop a sublime plugin using php.

Installation

  • With Package Control

    If you have Package Control installed, you can install PhpConnector from inside Sublime Text itself. Open the Command Palette and select “Package Control: Install Package”, then search for PhpConnector.

  • Without Package Control

    If you haven't got Package Control installed you will need to make a clone of this repository into your packages folder, like so:

    git clone https://github.com/chigix/sublime-php-connector.git "PhpConnector"

    If you find error or wathever just fork it and send me a pull request.

Usage

The only binding key map: ctrl+shift+r(OS X: ⇧⌘P).

You can override it via user settings.

What's new

  • High speed communication towards php interpretor embedded
  • Greatly improved developing experience with sophisticated model and command utils.

v0.1.0: Created!

  • php connect support

v2.0: PHP programing interface framework.

  • ADD pandoc convert markdown to html support.

v2.5: Welcome

  • ADD multi-language support.
  • ADD filesystem encoding support.
  • ADD configure wizard on php_path and filesystem encoding.
  • FIX sublime 3 support.
  • IMPROVE error exception catch.
  • Game start for hacking sublime with PHP.

v3.0: Play Gardon

  • Thoroughly individual php interpretor embedded
  • Accelerate Communication between PYTHON and PHP.
  • Rewrite Markdown building script for the new version.
  • Improve the whole framework upon php with Data Model and Command Manager.

For Developers

As demo, All built-in commands definition were in sublime_php_command\Core\Commands\, and every execute class should be under a unique namespace and extends the abstract class BaseCommand to finish the registration into the PhpConnector Context.

Demos are in the sublime_php_command\Core\Commands\, so as you can see, their namespace was Chigi\Sublime\Commands. We suggest you open the COMPOSER support, so that you could define the namespace map by your self, which is though still in Experiment (Really too busy to commit without other supermans π_π).

License

The plugin is licensed under the MIT license.

Copyright (C) <2014> Richard Lea [email protected]

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

sublime-php-connector's People

Contributors

chigix avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

wufaliang0415

sublime-php-connector's Issues

没有示列命令

说明上说 有demo 在 Demos are in the sublime_php_command\Commands\Chigi\目录里 我找了半天没法先,还有,3.0说有python和php的交互,也没看出来。没示列啊

global name 'CheckEnvironmentCommandThread' is not defined

Traceback (most recent call last):
  File "E:\GreenSoft\Sublime Text Build 3143 x64\sublime_plugin.py", line 1066, in run_
    return self.run(edit, **args)
  File "E:\GreenSoft\Sublime Text Build 3143 x64\Data\Packages\sublime-php-connector\ax_text.py", line 38, in run
    CheckEnvironmentCommandThread.GetInstance().start();
NameError: global name 'CheckEnvironmentCommandThread' is not defined

设置好全局php path 后执行命令报这个错

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.