Giter Club home page Giter Club logo

teacode-sublime-helper's Introduction

TeaCode Sublime Helper

Provides integration with TeaCode https://www.apptorium.com/teacode

TeaCode is a powerful app, created to write code super fast by expanding short, dynamic code templates into the real code. It comes with a simple variable-based language that supports subexpressions, optional patterns and filters. Creating new expanders is extremely easy. TeaCode supports native editors (Xcode, TextMate, Coda, etc.) as well as Atom, Sublime Text, VSC and JetBrains IDEs (PHPStorm, AppCode, etc.)

Alt Text

How to use it

  1. Install TeaCode from https://www.apptorium.com/teacode.
  2. Open TeaCode
  3. Write an expression (for example -f helloWorld) and press ctrl+cmd+e (notice that shortcut is different than the shortcut for native macOS apps)

teacode-sublime-helper's People

Contributors

r-zawislak avatar

Stargazers

Lloyd Woodham avatar Jason Warren avatar vancaem avatar zacklocx avatar Karsten Gresch avatar

Watchers

James Cloos avatar Marcin Krzywonos avatar Lloyd Woodham avatar

teacode-sublime-helper's Issues

It doesn't work at all

After installing this plugin, I tried to expand code in sublime text, TeaCode keeps pushing notifications of Are you using a text editor?

image

BTW, If I have thousands code snippets, how can I remember so many expander patterns, it's unusable!

Some suggestions:

The Quick browser... searching is too slow and does support fuzzy search, the snippets search should be like:

  1. can search title pattern description language and even code snippet content.
  2. should sort by priority above
  3. should support fuzzy search
  4. description and language should be in the result list

How to expand the code

I think it better to expand after press enter when locate the snippet in Quick browser....

Here are the steps to use it:

  1. launch Quick browser...
  2. fuzzy search my code snippets
  3. locate the snippets and press enter
  4. if the snippet has no var to fill, then skip this step. Or Quick browser... should auto navigate a editor UI(this UI belongs to TeaCode itself), user fills up the vars, then press a shortcut(like cmd + enter)
  5. TeaCode should bring the last active app to front, then paste the code(just do cmd + v)
  6. all done!

So snippet's pattern is meaningless, the editors' plugins are not necessary.

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.