• Packages
  • Themes
  • Documentation
  • Blog
  • Discussions
Sign in

eval-selecshun

evaluate selected js or coffeescript code, logs to developer console
jonahss
2.0.0 146
1
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

eval-selection package for the Atom editor

demo

  1. Select some code
  2. Hit f5
  3. ???
  4. Your js or coffeescript code is evaluated and result logged to developer console

Hitting f5 with no text selected, evals the current line.

It's eerily like the Acme editor. Write code snippets that do stuff in your editor O.o

Most of this code is taken from coffee-eval

In the demo above

Lines 1-7, written in coffeescript, are evaluated. They take the rest of the text in the editor and compile it to js. The js code is then selected and run. The result is an implementation of the classic 10PRINT program.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by