Skip to content

metascript/language-metascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

language-meta-script

Metascript support for the atom editor.

Installation

  1. Install the editor-grammar-scope package using the atom package manager
  2. git clone language-metascript
  3. cd language-metascript && npm install
  4. ln -s `pwd` ~/.atom/packages/

You might also want to install the linter-metascript package for on-the-fly error checking.

Keyboard shortcuts

Keyboard shortcut Description
ctrl-alt-, Run the tests for the current package.
ctrl-alt-x Evaluate selected region.
ctrl-alt-m t Toggle test view.
ctrl-alt-m r Toggle REPL view.
alt-= Toggle folding at current indent level.

Snippets

Insert a snippet by typing the prefix below followed by tab.

Prefix Expansion
v var v
v= var v = 42
c const c = 42
f fun f () -> 42
if if true true
ife if true true else false
#e #external symbol
#m #metaimport module
#r #require module
d describe 'given' #->
it it 'should' #->
ita it 'should' done ->
be before-each #->
bea before-each done ->
log console.log '42'