Code Monkey home page Code Monkey logo

kirby-cms-auto-completion-for-sublime-text-2's Introduction

Kirby CMS Auto-completion for Sublime Text 2

This package provides you with the whole Kirby-API as shortcuts for Sublime Text 2. Follow the installation instructions down here to get your hands on that. All methods are out of the Kirby Cheat Sheet.

The package contains only the commands from the Kirby Cheat Sheet, so there's no kirbytext(), html() and things like that (maybe it'll be there sometime – see more on that on "upcoming").

Current Version

Contains all commands of Kirby 1.1.2

Issues

There is only one issue, but this is such a problem that it destroys the whole awesomeness of such a file. I don't know how to fix it – if you know it, it would be great if you could do a pull request or drop me a line @plartz or by mail. The things is that Sublime Text 2 seems to stop autocompletion if you enter the > symbol. Quite a big problem, because the Kirby API is jQuery-inspired, and is like $page->title(). So you can just enter the first part (e.g. $page) and then either type your command manually (because it won't show you the command's list if you type ->) or select your command out of this heavy list. Just try it out. It's mad, I know, but like I said, I don't know how to fix that. But maybe the package comes in handy for you anyway.

Installation

Just download all files and place them into a new folder "kirby" in your Packages folder.

  • OS X: ~/Library/Application Support/Sublime Text 2/Packages
  • Windows: %APPDATA%\Sublime Text 2\Packages
  • Linux: ~/.config/sublime-text-2/Packages (for more information on the data directory of Sublime Text, have a look at the Documentation)

Upcoming

I don't promise anything, because I'm really really busy at the moment, but maybe I (or somebody else) will add some snippets (like a breadcrumb, a short menu, some short tags…). And of course things like kirbytext(), html and those helpers are missing – I think this will be the first thing to add. So, just open Sublime Text and add some files to this repo…

Note

© 2013 by Jakob Plöns ([email protected]). Kirby © 2009-2013 Bastian Allgeier / OpenWe GmbH.

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.