GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - amazari/CoffeeScript.mode: A CoffeeScript syntax coloring mode for Coda and SubEthaEdit

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

26 Commits
26 Commits

Folders and files

NameName
Last commit message
Last commit date
Contents
Contents
 
 
README
README
 
 

Repository files navigation

  = Read me =

    This is a Coda/SubEthaEdit syntax coloring mode for the CoffeeScript language.
    It's plenty rough around the edges, but it's usable.
    It's still under development (in my spare time).
    
    I mostly based it on the built-in JavaScript Mode.
    Special thanks to Brajeshwar's Sass.Mode;
    I used it for reference while developing this mode.

    Checkout template.coffee file (in Coda with the mode installed) to see what works and what doesn't.

    = Installation =

   Download and unpack either the ZIP or TAR version of the Django-Template mode.
   - Coda:
   Manually copy the CoffeeScript.mode directory into  ~/Library/Application\ Support/Coda/Modes/.

   - SubEthaEdit:
   Open the Django-Template.mode file using the File > Open command or by dragging the CoffeeScript.mode 
   file onto the SubEthaEdit application icon in the dock.

  = Known issues =
  
  - Comment bug:
    When you press Command + / on a line consisting of "###",
    Coda will throw a grumpy error, and suggest you shut it down.
    No clue what's causing this.
    May have to track down the guys at Coding Monkeys.





  = To-do =
  
  - Choose colors
    I have been using same colors as Javascript mode.
    Need to choose colors in an intentional, designerly fashion.
  

  
  - Colorize function arguments:
    Should we colorize args inside the function 
    the same as the function? Differently? treat as "default?"
	
  - Colorize instance variables
	Make @vars stand out.
    
  - Colorize mathematical operators?
    Maybe we should colorize characters like +, -, *, /, and ()--parens only if not preceding a function
    
  - Colorize boolean operators?
    Could distinguish if, else, unless, and, or, not, &&, ||, ==, <, >, ?, ?= from other types of operators
    
  - Colorize =, :, or=
    These have the same appearance as the vars they come after.
	This is fine for now, but I may want to change the color slightly.
  
  
  
  - Can we have single line auto-comment?
    Now, Command + '/' keyboard shortcut wraps a single line in "### ###".
    I would prefer it prepended single line comments with "#",
    and multi-line comments with "### ###"

About

A CoffeeScript syntax coloring mode for Coda and SubEthaEdit

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.