GithubHelp home page GithubHelp logo

atom-karaf-terminal's Introduction

Karaf Terminal

Opens a terminal tab or pane within Atom that is configured to run Karaf.

The main objective is to provide the simplest way to try Karaf by providing direct access to an isolated install of Karaf that does not interfere with a system JVM Installation.

Another objective is creating better integration between the terminal and the editor without re-implementing terminal features in the editor or editor features in the terminal.

Note: this project is alpha-stage. It is being developed on OS X first, but will eventually support Linux and Windows as well. For outstanding work, see the issues.

The Karaf Terminal installs a binary build of Karaf.

License

Karaf Terminal is licensed under Mozilla Public License, 2.0.

Thanks

Karaf Terminal is heavily inspired by term2, term, and terminal. Thanks to the authors of those packages. The term.js library is used. The copyright notice for term.js is included in lib/vendor/term.js.

atom-karaf-terminal's People

Contributors

gurkerl83 avatar

Watchers

 avatar  avatar

atom-karaf-terminal's Issues

Uncaught Error: This socket is closed.

[Enter steps to reproduce below:]

  1. Opened the terminal on mac os
  2. ...

Atom Version: 1.4.0
System: Mac OS X 10.11.3
Thrown From: atom-karaf-terminal package, v0.25.0

Stack Trace

Uncaught Error: This socket is closed.

At events.js:141

Error: This socket is closed.
    at Socket._writeGeneric (net.js:640:19)
    at Socket._write (net.js:694:8)
    at doWrite (_stream_writable.js:292:12)
    at writeOrBuffer (_stream_writable.js:278:5)
    at Socket.Writable.write (_stream_writable.js:207:11)
    at Socket.write (net.js:618:40)
    at KarafTerminalView.input (/Users/nenad/.atom/packages/atom-karaf-terminal/lib/karaf-terminal-view.coffee:107:14)
    at Terminal.<anonymous> (/Users/nenad/.atom/packages/atom-karaf-terminal/lib/karaf-terminal-view.coffee:97:36)
    at Terminal.EventEmitter.emit (/Users/nenad/.atom/packages/atom-karaf-terminal/lib/vendor/term.js:109:12)
    at Terminal.handler (/Users/nenad/.atom/packages/atom-karaf-terminal/lib/vendor/term.js:2913:8)
    at Terminal.keyDown (/Users/nenad/.atom/packages/atom-karaf-terminal/lib/vendor/term.js:2643:8)
    at HTMLDocument.<anonymous> (/Users/nenad/.atom/packages/atom-karaf-terminal/lib/vendor/term.js:521:29)

Commands

     -4:18.3.0 command-palette:toggle (textarea.)
     -4:09.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -4:09.7.0 settings-view:install-packages-and-themes (textarea.)
     -3:29.8.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:03.0 atom-karaf-terminal:open (atom-text-editor.editor.is-focused)
     -0:00.7.0 core:confirm (div.terminal)

Config

{}

Installed Packages

# User
atom-fuzzy-grep, v0.11.2
atom-karaf-terminal, v0.25.0
auto-detect-indentation, v0.4.2
change-case, v0.6.0
highlight-selected, v0.11.1
language-lua, v0.9.4
project-manager, v2.7.5
quick-highlight, v0.3.10
terminal-plus, v0.14.5

# Dev
No dev packages

Changes required for upcoming CoffeeScript upgrade

Hi! Thanks for maintaining the atom-karaf-terminal package!

In Atom v1.12, we are going to upgrade CoffeeScript to the latest version. This upgrade entails one potentially breaking change to the language:

Changed strategy for the generation of internal compiler variable names. Note that this means that @example function parameters are no longer available as naked example variables within the function body.

We think your package may be affected by this upgrade, in the following places:

  • The opts variable here
  • The opts variable here
  • The opts variable here
  • The opts variable here

These findings are based on linting packages with coffeescope. We could be wrong about some of them. When we release v1.12 beta, please test your package against it to make sure that it works. Let me know if you have any further questions; I will be happy to help!

Uncaught ReferenceError: opts is not defined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.35.1 x64
Electron: 2.0.18
OS: Mac OS X 10.14.3
Thrown From: atom-karaf-terminal package 0.25.0

Stack Trace

Uncaught ReferenceError: opts is not defined

At /Users/jihonggeun/.atom/packages/atom-karaf-terminal/lib/karaf-terminal-view.coffee:29

ReferenceError: opts is not defined
    at /packages/atom-karaf-terminal/lib/karaf-terminal-view.coffee:29:5)
    at Object.createTerminalView (/packages/atom-karaf-terminal/lib/karaf-terminal.coffee:102:20)
    at Object.newTerminal (/packages/atom-karaf-terminal/lib/karaf-terminal.coffee:122:26)
    at /packages/atom-karaf-terminal/lib/karaf-terminal.coffee:69:10)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:350017)
    at KeymapManager.t.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1212981)
    at KeymapManager.t.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1209115)
    at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:285196)

Commands

     -8:30.2.0 atom-mac-terminal:open (input.hidden-input)
     -8:08.2.0 core:select-all (input.hidden-input)
     -6:06.9.0 terminal:open (input.hidden-input)
     -3:39.2.0 core:select-all (input.hidden-input)
     -3:37.2.0 core:backspace (input.hidden-input)
     -3:25.1.0 find-and-replace:show (div.package-detail)
     -3:23.3.0 editor:consolidate-selections (input.hidden-input)
  2x -3:23.3.0 core:cancel (input.hidden-input)
     -3:21.7.0 find-and-replace:show (div.package-readme.native-key-bindings)
     -3:20.4.0 editor:consolidate-selections (input.hidden-input)
     -3:20.4.0 core:cancel (input.hidden-input)
     -0:02.8.0 atom-karaf-terminal:open (div.package-detail)

Non-Core Packages

atom-karaf-terminal 0.25.0 
gpp-compiler 3.0.7 

Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.48.0 x64
Electron: 5.0.13
OS: Unknown Windows version
Thrown From: atom-karaf-terminal package 0.25.0

Stack Trace

Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

At C:\Users\davos\.atom\packages\atom-karaf-terminal\lib\karaf-terminal.coffee:24

TypeError: Cannot read property 'toLowerCase' of undefined
    at /packages/atom-karaf-terminal/lib/karaf-terminal.coffee:24:36
    at /packages/atom-karaf-terminal/lib/karaf-terminal.coffee:23:16)
    at /packages/atom-karaf-terminal/lib/karaf-terminal.coffee:1:1)
    at /packages/atom-karaf-terminal/lib/karaf-terminal.coffee:1:1)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:147503)
    at Object.value [as .coffee] (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:151051)
    at Module.load (internal/modules/cjs/loader.js:701:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:633:12)
    at Function.Module._load (internal/modules/cjs/loader.js:625:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (internal/modules/cjs/helpers.js:14:16)
    at customRequire (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:1:735013)
    at Package.requireMainModule (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:3308385)
    at Package.activateConfig (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:3297673)
    at PackageManager.packageHasSettings (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:920272)
    at PackageCard.hasSettings (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:14:2543559)
    at PackageCard.updateSettingsState (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:14:2533839)
    at PackageCard.updateInterfaceState (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:14:2533662)
    at ~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:14:2541792
    at ~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:14:2543810
    at Function.simpleDispatch (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:1201460)
    at Emitter.emit (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:1202901)
    at PackageManager.emitPackageEvent (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:929729)
    at ~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:926861
    at r (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:11:921391)
    at n (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:14:1063434)
    at ChildProcess.<anonymous> (~/AppData/Local/atom/app-1.48.0/resources/app/static/<embedded>:14:1063640)
    at ChildProcess.emit (events.js:194:13)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:254:12)

Commands

     -2:01.8.0 core:paste (input.hidden-input)

Non-Core Packages

atom-i18n 0.23.1 
atom-karaf-terminal 0.25.0 

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.