Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A collection of language modules and clipping sets for BBEdit.
Branch: master

block folding works with the `block append <name>`, `block prepend <n…

…ame>`, `append <name>` and `prepend <name>` syntax

Signed-off-by: David Becher <david@skookum.com>
latest commit accf421b52
@dbecher authored

README.md

A collection of Packages and Clipping Sets for BBEdit.

Packages

CoffeeScript

Codeless Language Module

  • Keywords and predefined names
  • String coloring, including multi-line and block strings
  • Regular expressions (including block regular expressions) are colored as strings.
  • Comments (line and block)
  • Function folding and names in the function popup. It'll match functions like this:

    square = (x) -> x * x

    Or this:

      grade = (student) ->
        if student.excellentWork
          "A+"
        else if student.okayStuff
          if student.triedHard then "B" else "B-"
        else
          "C"

    Or class methods, like this:

      move: ->
        alert "Slithering..."
        super 5

    Or even this:

      String::dasherize = ->
        this.replace /_/g, "-"

    Note that, due to a limitation of BBEdit's codeless language modules, nested functions will not be parsed.

  • Function lookup in the MDN Reference Library

Scripts

  • Compile - Run file through the CoffeeScript compiler and open the resulting JS file.
  • Show Javascript - Run file through the CoffeeScript compiler and show the resulting JS (does not save file to disk).
  • Run - Runs the file and opens a new window with the results.
  • Run Selection - Runs the selected lines and opens a new window with the results. Note that the entire line will be run, even if it is only partially selected.

Jade template engine

Codeless Language Module

  • Keywords and predefined words
  • Comments, including multi-line block comments and HTML-style comments
  • Blocks map to functions, so block names show up in the function pop-up and can be folded.

Stylus CSS framework

Codeless Language Module

  • Keywords and lots of predefined names
  • Look up CSS properties in the MDN Reference Library
  • Comment syntax coloring (both // and /* */ syntax)
  • Function/mixin folding and names in the function popup
  • String coloring

Clippings

Clippings for some common CSS properties.

Clipping Sets

  • NodeJS and the Express framework.
Something went wrong with that request. Please try again.