Giter Club home page Giter Club logo

run-lua's Introduction

run-lua package

Runs the current lua script in a console and shows the output. This is still a work in progress, and if you have any suggestions, feel free to email me at [email protected].

A screenshot of your package

run-lua's People

Contributors

dqsully avatar

Watchers

James Cloos avatar  avatar  avatar

run-lua's Issues

??

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.0
System: Microsoft Windows 8.1
Thrown From: run-lua package, v0.1.1

Stack Trace

Uncaught Error: Can't save buffer with no file path

At C:\Users\Radosław\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:983

Error: Can't save buffer with no file path
  at TextBuffer.module.exports.TextBuffer.saveAs (C:\Users\Radosław\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:983:15)
  at TextBuffer.module.exports.TextBuffer.save (C:\Users\Radosław\AppData\Local\atom\app-1.0.0\resources\app.asar\node_modules\text-buffer\lib\text-buffer.js:978:19)
  at TextEditor.module.exports.TextEditor.save (C:\Users\Radosław\AppData\Local\atom\app-1.0.0\resources\app.asar\src\text-editor.js:579:26)
  at Object.module.exports.RunLua.executeCurrent (C:\Users\Radosław\.atom\packages\run-lua\lib\run-lua.coffee:27:40)
  at atom-workspace.subscriptions.add.atom.commands.add.run-lua:executeCurrent (C:\Users\Radosław\.atom\packages\run-lua\lib\run-lua.coffee:18:90)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\Radosław\AppData\Local\atom\app-1.0.0\resources\app.asar\src\command-registry.js:241:29)
  at CommandRegistry.handleCommandEvent (C:\Users\Radosław\AppData\Local\atom\app-1.0.0\resources\app.asar\src\command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\Radosław\AppData\Local\atom\app-1.0.0\resources\app.asar\src\command-registry.js:156:19)
  at EventEmitter.<anonymous> (C:\Users\Radosław\AppData\Local\atom\app-1.0.0\resources\app.asar\src\window-event-handler.js:70:30)
  at emitOne (events.js:77:13)
  at EventEmitter.emit (events.js:166:7)

Commands

     -4:48.8.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
     -4:48.8.0 snippets:expand (atom-text-editor.editor.is-focused)
     -4:48.8.0 editor:indent (atom-text-editor.editor.is-focused)
     -4:46.6.0 core:backspace (atom-text-editor.editor.is-focused)
     -4:41.7.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -4:41.3.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -4:40.3.0 core:move-right (atom-text-editor.editor.is-focused)
     -4:38.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -4:38.4.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -4:35.9.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -4:32.7.0 core:backspace (atom-text-editor.editor.is-focused)
     -4:31 core:save (atom-text-editor.editor.is-focused)
     -4:06.3.0 package-generator:generate-syntax-theme (atom-text-editor.editor.is-focused)
     -3:55.7.0 grammar-selector:show (atom-text-editor.editor.is-focused)
  5x -3:41.3.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  2x -2:31.8.0 run-lua:executeCurrent (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  },
  "run-lua": {}
}

Installed Packages

# User
run-lua, v0.1.1
toggle-packages, v1.0.1

# Dev
No dev packages

Uncaught Error: Can't save buffer with no file path

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: run-lua package, v0.2.0

Stack Trace

Uncaught Error: Can't save buffer with no file path

At /Users/johngarland/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:983

Error: Can't save buffer with no file path
  at TextBuffer.module.exports.TextBuffer.saveAs (/Users/johngarland/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:983:15)
  at TextBuffer.module.exports.TextBuffer.save (/Users/johngarland/Downloads/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:978:19)
  at TextEditor.module.exports.TextEditor.save (/Users/johngarland/Downloads/Atom.app/Contents/Resources/app.asar/src/text-editor.js:579:26)
  at Object.module.exports.RunLua.executeCurrent (/Users/johngarland/.atom/packages/run-lua-master/lib/run-lua.coffee:29:40)
  at atom-workspace.subscriptions.add.atom.commands.add.run-lua:executeCurrent (/Users/johngarland/.atom/packages/run-lua-master/lib/run-lua.coffee:16:90)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Users/johngarland/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at CommandRegistry.handleCommandEvent (/Users/johngarland/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Users/johngarland/Downloads/Atom.app/Contents/Resources/app.asar/src/command-registry.js:156:19)
  at EventEmitter.<anonymous> (/Users/johngarland/Downloads/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:70:30)
  at emitOne (events.js:77:13)
  at EventEmitter.emit (events.js:166:7)

Commands

     -0:44.6.0 run-lua:executeCurrent (atom-text-editor.editor.is-focused)
  2x -0:28.4.0 encoding-selector:show (atom-text-editor.editor)
     -0:20.5.0 grammar-selector:show (atom-text-editor.editor)
  2x -0:11.1.0 core:move-left (atom-text-editor.editor.is-focused)
     -0:07.8.0 core:backspace (atom-text-editor.editor.is-focused)
  7x -0:06.9.0 core:move-right (atom-text-editor.editor.is-focused)
     -0:06.3.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:00.6.0 run-lua:executeCurrent (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
No installed packages

# Dev
No dev packages

Failed to activate the run-lua package

[Enter steps to reproduce below:]

  1. ... install the package, ???, profit.

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: run-lua package, v0.0.7

Stack Trace

Failed to activate the run-lua package

At View markup must have a single root element

Error: View markup must have a single root element
  at LuaOutput.View (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/node_modules/space-pen/lib/space-pen.js:160:17)
  at LuaOutput.ScrollView (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/scroll-view.js:12:47)
  at new LuaOutput (/Users/andreaskramer/.atom/packages/run-lua/lib/lua-output.coffee:16:5)
  at Object.module.exports.RunLua.activate (/Users/andreaskramer/.atom/packages/run-lua/lib/run-lua.coffee:16:23)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:240:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:221:30
  at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:165:15)
  at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:213:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:452:21)
  at /Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:362:29
  at exit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/settings-view/lib/package-manager.js:53:16)
  at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:213:47)
  at ChildProcess.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:235:18)
  at emitTwo (events.js:87:13)
  at ChildProcess.emit (events.js:169:7)
  at Process.ChildProcess._handle.onexit (child_process.js:1057:12)

Commands

     -1:48.7.0 core:close (atom-pane.pane.active)
     -1:11 editor:select-to-first-character-of-line (atom-text-editor.editor.is-focused)
     -1:07.1.0 command-palette:toggle (atom-text-editor.editor.is-focused)
     -1:03.9.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:39.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{}

Installed Packages

# User
run-lua, v0.0.7

# Dev
No dev packages

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.