Giter Site home page Giter Site logo

tokamak-terminal's Introduction

токамак Terminal

This package is a fork of PlatformIO IDE Terminal package which is fork of terminal-plus

A terminal package for Atom, complete with themes, API and more for Tokamak.

demo

Nucleus Dark UI with Atom Material Syntax and our Homebrew theme.

Usage

tokamak-terminal stays in the bottom of your editor while you work.

Click on a status icon to toggle that terminal (or ctrl-` ). Right click the status icon for a list of available commands. From the right-click menu you can color code the status icon as well as hide or close the terminal instance.

Terminal

You can open the last active terminal with the tokamak-terminal:toggle command (Default:ctrl-`). If no terminal instances are available, then a new one will be created. The same toggle command is used to hide the currently active terminal.

From there you can begin typing into the terminal. By default the terminal will change directory into the project folder if possible. The default working directory can be changed in the settings to the home directory or to the active file directory.

See available commands below.

Features

Full Terminal

Every terminal is loaded with your system’s default initialization files. This ensures that you have access to the same commands and aliases as you would in your standard terminal.

Themes

The terminal is preloaded with several themes that you can choose from. Not satisfied?
Use the following template in your stylesheet:

.tokamak-terminal .xterm {
  background-color: ;
  color: ;

  ::selection {
    background-color: ;
  }

  .terminal-cursor {
    background-color: ;
  }
}

Process Titles

By hovering over the terminal status icon, you can see which command process is currently running in the terminal.

Terminal Naming

Need a faster way to figure out which terminal is which? Name your status icons!

Available via the status icon context menu.

Color Coding

Color code your status icons!

The colors are customizable in the settings, however the color names remain the same in the context menu.

Sorting

Organize your open terminal instances by dragging and dropping them.

Resizable

You can resize the view vertically, or just maximize it with the maximize button.

Working Directory

You can set the default working directory for new terminals. By default this will be the project folder.

File Dropping

Dropping a file on the terminal will insert the file path into the input. This works with external files, tabs from the Atom tab-view, and entries from the Atom tree-view.

Insert Selected Text

Insert and run selected text from your text editor by running the tokamak-terminal:insert-selected-text command (ctrl-enter).

If you have text selected, it will insert your selected text into the active terminal and run it.
If you don't have text selected it, will run the text on the line where your cursor is then proceed to the next line.

Quick Command Insert

Quickly insert a command to your active terminal by executing the tokamak-terminal:insert-text command.

A dialog will pop up asking for the input to insert. If you have the Run Inserted Text option enabled in the settings (default is false), tokamak-terminal will automatically run the command for you.

Support for Special Keys

Support for IME, dead keys and other key combinations via the Insert Text dialog box. Just click the keyboard button in the top left of the terminal or set up a keymap to the tokamak-terminal:insert-text command.

Note: Make sure you have the Run Inserted Command toggle off otherwise it will run your inserted text.

Map Terminal To

Map your terminals to each file or folder you are working on for automatic terminal switching.

File

Folder

Toggling the Auto Open a New Terminal (For Terminal Mapping) option will have the mapping create a new terminal automatically for files and folders that don't have a terminal. The toggle is located right under the Map Terminals To option.

Install

Ready to install?

You can install via apm: apm install tokamak-terminal

Or navigate to the install tab in Atom’s settings view, and search for tokamak-terminal.

Commands

Command Action Default Keybind
tokamak-terminal:new Create a new terminal instance. ctrl-shift-t
or
cmd-shift-t
tokamak-terminal:toggle Toggle the last active terminal instance.
Note: This will create a new terminal if it needs to.
ctrl-`
(Control + Backtick)
tokamak-terminal:prev Switch to the terminal left of the last active terminal. ctrl-shift-j
or
cmd-shift-j
tokamak-terminal:next Switch to the terminal right of the last active terminal. ctrl-shift-k
or
cmd-shift-k
tokamak-terminal:insert-selected-text Run the selected text as a command in the active terminal. ctrl-enter
tokamak-terminal:insert-text Bring up an input box for using IME and special keys. ––––––––––––
tokamak-terminal:close Close the active terminal. ctrl-shift-x
or
cmd-shift-x
tokamak-terminal:close-all Close all terminals. ––––––––––––
tokamak-terminal:rename Rename the active terminal. ––––––––––––

A fork of jeremyramin/terminal-plus.

tokamak-terminal's People

Contributors

vertexclique avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

tokamak-terminal's Issues

Unable to call "electron" for app development testing

With atom installed in my global variables for cli use, i am unable to call it to compile and run an application from within this terminal; however, it works fine when doing the exact same command string within the builtin terminal of my mac. It is not entirely detrimental to my work, but just forces me to open other terminals elsewhere on my machine.

P.S. Strangely enough, when typing "electron" only, it seems to run a coding environment within the terminal as normal.

Terminal fails to launch

I did a clean install of my OS fedora 23 today, along with rust, and racer. Ran the command apm install tokamak after i Installed Atom. Now when i try to launch tokamak-terminal, i just see a black screen with no error output. I posted a screenshot to show.
screenshot from 2016-04-23 00-18-14

Uncaught Error: channel closed

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.20.1 x64
Electron: 1.6.9
OS: Microsoft Windows 10 Home
Thrown From: tokamak-terminal package 10.0.1

Stack Trace

Uncaught Error: channel closed

At events.js:160

Error: channel closed
    at ChildProcess.target.send (internal/child_process.js:548:16)
    at Task.module.exports.Task.send (~/AppData/Local/atom/app-1.20.1/resources/app/src/task.js:113:33)
    at TokamakTerminalView.module.exports.TokamakTerminalView.input (/packages/tokamak-terminal/lib/view.coffee:262:17)
    at /packages/tokamak-terminal/lib/view.coffee:141:8)
    at Terminal.EventEmitter.emit (/packages/platformio-ide-terminal/node_modules/term.js/src/term.js:109:12)
    at Terminal.handler (/packages/platformio-ide-terminal/node_modules/term.js/src/term.js:3493:8)
    at /packages/platformio-ide-terminal/node_modules/term.js/src/term.js:3253:12

Commands

     -7:32.6.0 core:select-all (input.hidden-input)
     -7:31.6.0 core:confirm (input.hidden-input)
     -1:51.1.0 core:backspace (input.hidden-input)
     -1:50.7.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.5 
highlight-selected 0.13.1 
minimap 4.29.7 
seti-syntax 1.1.3 
seti-ui 1.9.0 
tokamak-terminal 10.0.1 

Uncaught Error: Cannot find module './input-dialog'

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.16.0 x64
Electron: 1.3.13
OS: Microsoft Windows 8
Thrown From: tokamak-terminal package 10.0.1

Stack Trace

Uncaught Error: Cannot find module './input-dialog'

At module.js:457

Error: Cannot find module './input-dialog'
    at Module._resolveFilename (module.js:455:15)
    at Module._resolveFilename (~/AppData/Local/atom/app-1.16.0/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:403:25)
    at Module.require (module.js:483:17)
    at require (/app.asar/src/native-compile-cache.js:50:27)
    at TokamakTerminalView.module.exports.TokamakTerminalView.inputDialog (/packages/tokamak-terminal/lib/view.coffee:722:23)
    at /packages/tokamak-terminal/node_modules/space-pen/lib/space-pen.js:220:36)
    at HTMLButtonElement.dispatch (/packages/tokamak-terminal/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (/packages/tokamak-terminal/node_modules/jquery/dist/jquery.js:4121:28)

Commands

Non-Core Packages

busy-signal 1.3.0 
highlight-selected 0.13.1 
intentions 1.1.2 
linter 2.1.4 
linter-eslint 8.1.6 
linter-ui-default 1.2.3 
seti-icons 1.4.3 
tokamak-terminal 10.0.1 

Module Version Mismatch

When using the Tokamak Terminal package, I get a module version mismatch in the debug console that prevents the terminal window from being launched. This happened on the 1.7.x beta versions and now the 1.7.0 version of Atom. The errors reported are reported in the JavaScript console, not in an Atom alert.

Here are the relevant errors from the error console:

Module version mismatch. Expected 47, got 46. Error: Module version mismatch. Expected 47, got 46.
    at Error (native)
    at process.module.(anonymous function) [as dlopen] (ATOM_SHELL_ASAR.js:159:20)
    at Object.Module._extensions..node (module.js:450:18)
    at Object.module.(anonymous function) [as .node] (ATOM_SHELL_ASAR.js:159:20)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/eric/.atom/packages/tokamak-terminal/node_modules/pty.js/lib/pty.js:17:9)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/eric/.atom/packages/tokamak-terminal/node_modules/pty.js/index.js:2:18)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.<anonymous> (/Users/eric/.atom/packages/tokamak-terminal/lib/process.coffee:1:7)
    at Object.<anonymous> (/Users/eric/.atom/packages/tokamak-terminal/lib/process.coffee:1:1)
    at Module._compile (module.js:425:26)
    at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)(anonymous function) @ /Applications/Atom.app/Contents/Resources/app.asar/src/task.js:52

And also:

Cannot read property 'bind' of null TypeError: Cannot read property 'bind' of null
    at process.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/task-bootstrap.js:82:23)
    at emitTwo (events.js:87:13)
    at process.emit (events.js:172:7)
    at handleMessage (internal/child_process.js:686:10)
    at Pipe.channel.onread (internal/child_process.js:440:11)

Uncaught channel closed

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.28.1 ia32
Electron: 2.0.4
OS: Microsoft Windows 10 Pro
Thrown From: tokamak-terminal package 10.0.1

Stack Trace

Uncaught channel closed

At events.js:183

Error [ERR_IPC_CHANNEL_CLOSED]: channel closed
    at ChildProcess.target.send (internal/child_process.js:588:16)
    at Task.module.exports.Task.send (~/AppData/Local/atom/app-1.28.1/resources/app/src/task.js:113:33)
    at TokamakTerminalView.module.exports.TokamakTerminalView.resize (/packages/tokamak-terminal/lib/view.coffee:267:17)
    at TokamakTerminalView.module.exports.TokamakTerminalView.resizeTerminalToView (/packages/tokamak-terminal/lib/view.coffee:460:6)
    at TokamakTerminalView.module.exports.TokamakTerminalView.focus (/packages/tokamak-terminal/lib/view.coffee:428:6)
    at TokamakTerminalView.focus (/packages/tokamak-terminal/lib/view.coffee:1:1)
    at /packages/tokamak-terminal/lib/status-bar.coffee:93:24

Commands

Non-Core Packages

atom-clock 0.1.16 
platformio-ide-terminal 2.8.3 
tokamak-terminal 10.0.1 

Allow disabling Ctrl+Up and Ctrl+Down

I use tmux, and I resize panes by using my escape sequence and then Ctrl+Up and Ctrl+Down.

In Tokamak, it seems that these keys are permanently bound to scroll up and scroll down respectively, and thus these keys don't make it into my terminal emulator, making it impossible for me to resize panes.

Unable to specify theme colors in code

I'm looking to create a pull request to this repository adding the elementary Loki palette to one of the themes available.

I have done so for Guake terminal, but since tokamak doesn't seem to store these colors in its Less theme files, it doesn't seem possible to add these colors as a theme.

For now, I will add the foreground, cursor, and background colors in a forthcoming pull request, but please update to allow us to specify color themes for the sixteen standard ANSI colors.

Uncaught TypeError: Cannot read property 'element' of undefined

[Enter steps to reproduce:]

  1. Compile project.,
  2. Minimnize Close the output pane(s) at the bottom. (They are, however, minimized.)
  3. Click on the "Normal" (looks like maximize) button of a pane.

Atom: 1.23.3 x64
Electron: 1.6.15
OS: Windows 10
Thrown From: tokamak-terminal package 10.0.1

Stack Trace

Uncaught TypeError: Cannot read property 'element' of undefined

At C:\Users\[...]\.atom\packages\tokamak-terminal\lib\view.coffee:395

TypeError: Cannot read property 'element' of undefined
    at TokamakTerminalView.module.exports.TokamakTerminalView.adjustHeight (/packages/tokamak-terminal/lib/view.coffee:395:16)
    at TokamakTerminalView.module.exports.TokamakTerminalView.maximize (/packages/tokamak-terminal/lib/view.coffee:195:8)
    at /packages/tokamak/node_modules/space-pen/lib/space-pen.js:220:36)
    at HTMLButtonElement.dispatch (/packages/tokamak/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLButtonElement.elemData.handle (/packages/tokamak/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -2:24.4.0 core:move-up (input.hidden-input)
     -2:23.8.0 snippets:next-tab-stop (input.hidden-input)
     -2:23.8.0 snippets:expand (input.hidden-input)
     -2:23.8.0 editor:indent (input.hidden-input)
     -2:20.9.0 intentions:highlight (input.hidden-input)
     -2:20.8.0 core:paste (input.hidden-input)
     -2:19.9.0 intentions:highlight (input.hidden-input)
     -2:19.7.0 core:save (input.hidden-input)
     -1:40.7.0 tokamak:run (button.btn.inline-block-tight.right)
     -0:35.4.0 intentions:highlight (input.hidden-input)
     -0:35.1.0 core:undo (input.hidden-input)
     -0:33.2.0 intentions:highlight (input.hidden-input)
     -0:33 core:save (input.hidden-input)
     -0:31.1.0 tokamak:run (input.hidden-input)
     -0:21 editor:consolidate-selections (input.hidden-input)
     -0:21 core:cancel (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.9 
atom-ide-ui 0.7.2 
build-cargo 2.0.0 
busy-signal 1.4.3 
intentions 1.1.5 
language-rust 0.4.12 
languageserver-rust 0.3.0 
linter 2.2.0 
linter-rust 0.8.4 
linter-ui-default 1.6.10 
racer 0.20.0 
rustfmt 0.1.3 
tokamak 0.4.1 
tokamak-terminal 10.0.1 
tool-bar 1.1.4 

Feature Request - Quick Command Buttons

I was wondering if it would be possible to add buttons to the top of the terminal that can be used to paste commands into the terminal?

Basically where the keyboard icon in the top left is, add a + button that creates a button that you can add text to (similar to adding new terminals.) Then when that button is pressed it pastes the text into the terminal.

integrated terminal does not show up (Windows)

I tried with lots of versions but on windows, integrated terminal it's not starting any windows CLI (powershell, cmd, gitbash); it's just hanging.
Atom version: 1.39.0
tokamak terminal version: 10.0.1
tokamak_terminal_issue

Atom Integrated Terminal does not behave the same as Windows CMD outside of Atom

So this is a very strange error that's occurring for me. The integrated terminal in atom does not behave the same way as CMD or windows PowerShell outside of Atom.

Background Info: I'm developing a nodejs app with yeomen's angular-fullstack generator. My work computer at home runs linux where this package works perfectly as expected. But my workstation at work runs Windows 10 and figured this package would behave the same way. I've also tried configuring the integrated terminal to test both the Windows Powershell and CMD to make sure the same error is reproduced and I can confirm the issue is whether or not the terminal being used is integrated in Atom or running separately.

Problem: When I run gulp serve or npm install with the terminal configured to use CMD.exe or PowerShell.exe within atom, the command does not perform as expected. If i run either command in their respective independent application / window (cmd.exe or plowershell.exe) the commands work perfectly (just as if I was in a linux bash). But when I use your package within atom and configured to use either shell, npm install does not completely install all the modules (specifically non of the dev dependencies). So I ran npm install in a separate cmd.exe which installed all the modules to see if this was the only issue, but when when I run gulp serve within the tokamak-terminal i get a syntax error saying Unexpected token and its highlighting import express from express . This does not happen when i run gulp serve in a cmd.exe or windows powershell.exe independently, my nodejs app launches as expected.

Let me know if theres any logs or anything else i can contribute to debug this. Having a terminal within atom is highly convenient so if this is a quick fix i'd love to make sure i give you enough info to do it. The package works perfectly on my linux box.

tokamak terminal doesn't install on lastest Atom

This is what I see as error after installing on last Atom:

Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom.

bin@unknown – Cannot find module 'C:\Users\steve\.atom\packages\tokamak-terminal\node_modules\pty.js\bin'
bin@unknown – Cannot find module 'C:\Users\steve\.atom\packages\tokamak-terminal\node_modules\pty.js\bin'
bin@unknown – Cannot find module 'C:\Users\steve\.atom\packages\tokamak-terminal\node_modules\pty.js\bin'
bin@unknown – Cannot find module 'C:\Users\steve\.atom\packages\tokamak-terminal\node_modules\pty.js\bin'
bin@unknown – Cannot find module 'C:\Users\steve\.atom\packages\tokamak-terminal\node_modules\pty.js\bin'
bin@unknown – Cannot find module 'C:\Users\steve\.atom\packages\tokamak-terminal\node_modules\pty.js\bin'
bin@unknown – Cannot find module 'C:\Users\steve\.atom\packages\tokamak-terminal\node_modules\pty.js\bin'
bin@unknown – Cannot find module 'C:\Users\steve\.atom\packages\tokamak-terminal\node_modules\pty.js\bin'

I am on Windows7.

Uncaught TypeError: Cannot read property 'focus' of null

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 1.7.4
System: Ubuntu 16.04
Thrown From: tokamak-terminal package, v0.1.1

Stack Trace

Uncaught TypeError: Cannot read property 'focus' of null

At /home/vimana/.atom/packages/tokamak-terminal/lib/status-bar.coffee:93

TypeError: Cannot read property 'focus' of null
    at /home/vimana/.atom/packages/tokamak-terminal/lib/status-bar.coffee:93:23

Commands

     -3:01.6.0 core:save (atom-text-editor.editor.is-focused)
     -2:59.8.0 editor:newline (atom-text-editor.editor.is-focused)
  2x -2:49.8.0 tree-view:remove (span.name.icon.icon-file-text)
     -2:33.5.0 core:save-as (atom-text-editor.editor.is-focused)
     -2:11.7.0 core:save (atom-text-editor.editor.is-focused)
     -2:10.8.0 editor:newline (atom-text-editor.editor.is-focused)
     -2:03.0 core:save (atom-text-editor.editor.is-focused)
  5x -1:50.3.0 core:backspace (atom-text-editor.editor.is-focused)
     -1:31.6.0 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -1:29.1.0 core:move-right (atom-text-editor.editor.is-focused)
     -1:28.8.0 editor:newline (atom-text-editor.editor.is-focused)
     -1:27 core:backspace (atom-text-editor.editor.is-focused)
  2x -1:20 autocomplete-plus:activate (atom-text-editor.editor.is-focused)
     -1:16.3.0 core:save (atom-text-editor.editor.is-focused)
     -0:11.8.0 core:backspace (atom-text-editor.editor.is-focused)
     -0:09.5.0 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "latex-friend",
      "latextools",
      "linter-flake8"
    ],
    "themes": [
      "one-dark-ui",
      "darkpython-syntax"
    ]
  }
}

Installed Packages

# User
MagicPython, v0.5.11
atom-django, v0.3.2
atom-python-debugger, v0.3.4
autocomplete-fortran, v0.4.0
autocomplete-python, v1.7.3
block-comment-plus, v0.3.0
darkpython-syntax, v0.2.0
drag-drop-text, v0.1.4
gtk-dark-theme, v0.1.4
language-gherkin-pt, v1.0.1
language-ipynb, v1.3.0
language-latex, v0.6.1
latex-autocomplete, v0.4.3
latex-hyperclick, v0.1.0
latexer, v0.3.0
linter, v1.11.4
linter-chktex, v1.3.0
linter-gfortran, v0.2.1
minimap-find-and-replace, v4.5.1
pdf-view, v0.50.0
python-indent, v0.4.3
python-isort, v0.0.7
python-jedi, v0.3.6
run-in-terminal, v0.6.0
set-syntax, v0.3.0
spell-check-project, v0.7.0
spell-check-test, v0.77.0
terminal-panel, v1.14.1
texter, v0.1.0
tokamak-terminal, v0.1.1

# Dev
No dev packages

Uncaught Error: channel closed

[Enter steps to reproduce:]

  1. toamak brings up a blank terminal and will not display anything.
  2. Attempting to type anything or putting it fullscreen gives the error channel closed.

Atom: 1.25.0 x64
Electron: 1.7.11
OS: Microsoft Windows 10 Pro
Thrown From: tokamak-terminal package 10.0.1

Stack Trace

Uncaught Error: channel closed

At events.js:163

Error: channel closed
    at ChildProcess.target.send (internal/child_process.js:562:16)
    at Task.module.exports.Task.send (~/AppData/Local/atom/app-1.25.0/resources/app/src/task.js:113:33)
    at TokamakTerminalView.module.exports.TokamakTerminalView.resize (/packages/tokamak-terminal/lib/view.coffee:267:17)
    at TokamakTerminalView.module.exports.TokamakTerminalView.resizeTerminalToView (/packages/tokamak-terminal/lib/view.coffee:460:6)
    at TokamakTerminalView.module.exports.TokamakTerminalView.focus (/packages/tokamak-terminal/lib/view.coffee:428:6)
    at TokamakTerminalView.focus (/packages/tokamak-terminal/lib/view.coffee:1:1)
    at /packages/tokamak-terminal/lib/view.coffee:182:26
    at /packages/tokamak-terminal/lib/view.coffee:481:7)
    at HTMLDivElement.fn (/packages/build/node_modules/jquery/dist/jquery.js:4855:19)
    at HTMLDivElement.dispatch (/packages/build/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLDivElement.elemData.handle (/packages/build/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -2:15.7.0 core:confirm (input.hidden-input)
 11x -0:20.6.0 core:move-up (textarea.)

Non-Core Packages

atom-discord 1.5.1 
atom-wrap-in-tag 0.6.0 
auto-update-plus 0.5.6 
browse 1.10.6 
build 0.70.0 
busy 0.7.0 
busy-signal 1.4.3 
ctrl-dir-scroll 0.2.5 
minimap 4.29.8 
multi-cursor 2.1.5 
satisfy-dependencies 0.4.2 
set-syntax 0.4.0 
sublime 0.5.0 
sublime-block-comment 0.5.1 
Sublime-Style-Column-Selection 1.7.4 
sublime-word-navigation 0.2.0 
sublimify 0.10.0 
tag 0.5.0 
text-manipulation 0.6.0 
tokamak-terminal 10.0.1 

a little suggestion

image

i use Itrems as default terminal app, it is has a feature that describe in the pic above , i hope this feature can be add into tokamak-terminal.

Uncaught TypeError: Cannot read property 'childProcess' of undefined

[Enter steps to reproduce below:]

  1. Choose Insert Text in tokamak-terminal
  2. Run `echo "Hello World!"

Atom Version: 1.6.2
System: Mac OS X 10.11.4
Thrown From: tokamak-terminal package, v0.1.1

Stack Trace

Uncaught TypeError: Cannot read property 'childProcess' of undefined

At /Users/cfreeman/.atom/packages/tokamak-terminal/lib/view.coffee:259

TypeError: Cannot read property 'childProcess' of undefined
    at TokamakTerminalView.module.exports.TokamakTerminalView.input (/Users/cfreeman/.atom/packages/tokamak-terminal/lib/view.coffee:259:19)
    at InputDialog.module.exports.InputDialog.onConfirm (/Users/cfreeman/.atom/packages/tokamak-terminal/lib/input-dialog.coffee:19:19)
    at space-pen-div.atom.commands.add.core:confirm (/Users/cfreeman/.atom/packages/tokamak-terminal/lib/dialog.coffee:15:27)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:260:29)
    at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:580:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:388:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:3:61)

Commands

     -1:31.1.0 vim-mode-plus:reset-normal-mode (atom-text-editor.editor.vim-mode-plus.normal-mode.is-focused)
     -1:30.9.0 vim-mode-plus:move-down (atom-text-editor.editor.vim-mode-plus.is-focused.normal-mode)
     -1:30.6.0 vim-mode-plus:insert-after-end-of-line (atom-text-editor.editor.vim-mode-plus.is-focused.normal-mode)
     -1:30.3.0 core:save (atom-text-editor.editor.vim-mode-plus.is-focused.insert-mode)
     -1:28 command-palette:toggle (atom-text-editor.editor.vim-mode-plus.is-focused.insert-mode)
  4x -1:24.8.0 core:backspace (atom-text-editor.editor.mini.is-focused)
  7x -1:21.5.0 core:move-down (atom-text-editor.editor.mini.is-focused)
  5x -1:19.3.0 core:move-up (atom-text-editor.editor.mini.is-focused)
     -1:18.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:18.1.0 tokamak:build (atom-text-editor.editor.vim-mode-plus.insert-mode)
     -1:14.6.0 command-palette:toggle (atom-text-editor.editor.vim-mode-plus.insert-mode.is-focused)
     -1:13 core:confirm (atom-text-editor.editor.mini.is-focused)
     -1:13 tokamak:run (atom-text-editor.editor.vim-mode-plus.insert-mode)
     -1:10.1.0 settings-view:open (atom-text-editor.editor.vim-mode-plus.insert-mode.is-focused)
  5x -0:08.4.0 core:backspace (atom-text-editor.editor.mini.is-focused)
     -0:03.7.0 core:confirm (atom-text-editor.editor.mini.is-focused)

Config

{
  "core": {
    "disabledPackages": [
      "minimap",
      "meteor-api",
      "markdown-preview",
      "linter-tidy",
      "emmet",
      "markdown-scroll-sync",
      "vim-mode",
      "ex-mode",
      "pigments"
    ],
    "excludeVcsIgnoredPaths": false,
    "themes": [
      "atom-material-ui",
      "monokai"
    ]
  },
  "tokamak-terminal": {
    "core": {},
    "style": {}
  }
}

Installed Packages

# User
Parinfer, v1.14.0
Stylus, v3.0.0
Sublime-Style-Column-Selection, v1.5.1
atom-beautify, v0.29.1
atom-material-ui, v1.2.10
autoclose-html, v0.23.0
autocomplete-go, v1.0.6
builder-go, v1.0.0
environment, v1.2.0
file-icons, v1.7.1
file-types, v0.5.1
fonts, v1.2.0
go-config, v1.1.4
go-get, v1.0.3
go-plus, v4.1.0
gofmt, v1.1.5
gometalinter-linter, v1.1.0
gorename, v1.0.2
highlight-line, v0.11.1
highlight-selected, v0.11.2
language-babel, v2.17.0
language-ejs, v0.2.0
language-elixir, v0.12.3
language-ember-htmlbars, v0.3.0
language-r, v0.4.0
language-rust, v0.4.6
language-scala, v1.1.6
language-vue, v0.10.0
linter, v1.11.4
linter-elixirc, v1.1.7
linter-eslint, v7.1.3
linter-handlebars, v2.3.4
linter-rust, v0.4.5
linter-scalac, v1.4.0
markdown-preview-plus, v2.4.0
mathjax-wrapper, v0.1.0
monokai, v0.18.0
navigator-godef, v1.0.2
pain-split, v1.4.0
project-manager, v2.9.7
racer, v0.18.0
react, v0.15.0
save-session, vundefined
sync-settings, v0.7.2
tester-go, v1.0.4
tokamak, v0.2.6
tokamak-terminal, v0.1.1
tool-bar, v0.4.0
trailing-spaces, v0.3.2
tree-view-git-status, v0.2.3
vim-mode-plus, v0.31.0
wordcount, v2.6.0

# Dev
No dev packages

Failed to activate the tokamak-terminal package

[Enter steps to reproduce:]

  1. Load Atom
  2. Launch Terminal

Atom: 1.23.0-beta0 x64
Electron: 1.6.15
OS: Microsoft Windows 10 Pro
Thrown From: tokamak-terminal package 10.0.1

Stack Trace

Failed to activate the tokamak-terminal package

At target[Symbol.iterator] is not a function

TypeError: target[Symbol.iterator] is not a function
    at TooltipManager.add (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/tooltip-manager.js:117:35)
    at StatusBar.module.exports.StatusBar.initialize (/packages/tokamak-terminal/lib/status-bar.coffee:73:38)
    at /packages/tokamak-terminal/node_modules/space-pen/lib/space-pen.js:184:25)
    at /packages/tokamak-terminal/lib/status-bar.coffee:11:7)
    at Object.consumeStatusBar (/packages/tokamak-terminal/lib/tokamak-terminal.coffee:17:26)
    at Provider.module.exports.Provider.provide (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/service-hub/lib/provider.js:34:58)
    at ServiceHub.module.exports.ServiceHub.consume (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/node_modules/service-hub/lib/service-hub.js:50:24)
    at Package.module.exports.Package.activateServices (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/package.js:456:81)
    at Package.module.exports.Package.activateNow (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/package.js:258:22)
    at ~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/package.js:227:38
    at Package.module.exports.Package.measure (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/package.js:99:21)
    at ~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/package.js:220:32
    at Package.module.exports.Package.activate (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/package.js:217:40)
    at PackageManager.activatePackage (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/package-manager.js:695:42)
    at config.transactAsync (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/package-manager.js:670:36)
    at Config.module.exports.Config.transactAsync (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/config.js:367:24)
    at PackageManager.activatePackages (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/package-manager.js:668:23)
    at PackageManager.activate (~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/package-manager.js:647:50)
    at ~/AppData/Local/atom/app-1.23.0-beta0/resources/app/src/atom-environment.js:865:36

Commands

Non-Core Packages

atom-beautify 0.30.6 
seti-syntax 1.1.3 
seti-ui 1.9.0 
tokamak-terminal 10.0.1 

Pane.addItem is deprecated.

Pane::addItem(item, 1) is deprecated in favor of Pane::addItem(item, {index: 1})

Pane.addItem (<embedded>:29229:20)
StatusBar.onDropTabBar (/Users/daytonltaylor/.atom/packages/tokamak-terminal/lib/status-bar.coffee:629:12)
onDropTabBar (/Users/daytonltaylor/.atom/packages/tokamak-terminal/lib/status-bar.coffee:3:59)
HTMLUListElement.<anonymous> (/Users/daytonltaylor/.atom/packages/tokamak-terminal/lib/status-bar.coffee:285:26)
HTMLUListElement.dispatch (/Users/daytonltaylor/.atom/packages/tokamak-terminal/node_modules/jquery/dist/jquery.js:4435:9)
HTMLUListElement.elemData.handle (/Users/daytonltaylor/.atom/packages/tokamak-terminal/node_modules/jquery/dist/jquery.js:4121:28)

Object.dirname is deprecated.

Argument to path.dirname must be a string

Object.dirname (C:\Users\jgyurkovitz\AppData\Local\atom\app-1.17.2\resources\app\src\electron-shims.js:9:10)
<unknown> (C:\Users\jgyurkovitz\.atom\packages\tokamak-terminal\lib\status-bar.coffee:175:59)
Function.module.exports.Emitter.simpleDispatch (<embedded>:62396:20)
Emitter.emit (<embedded>:62512:34)
Workspace.didChangeActivePaneItemOnPaneContainer (<embedded>:22888:28)
WorkspaceCenter.paneContainer.onDidChangeActivePaneItem (<embedded>:70179:20)

HTMLDocument.registerElement is deprecated.

Use customElements.define instead of document.registerElement see https://javascript.info/custom-elements

HTMLDocument.registerElement (file:///C:/Users/Ati/AppData/Local/atom/app-1.63.0/resources/app.asar/static/index.js:160:12)
Object.<anonymous> (C:\Users\Ati\.atom\packages\tokamak-terminal\lib\status-icon.coffee:155:29)
Object.<anonymous> (C:\Users\Ati\.atom\packages\tokamak-terminal\lib\status-icon.coffee:160:4)
Object.<anonymous> (C:\Users\Ati\.atom\packages\tokamak-terminal\lib\status-icon.coffee:164:3)
Module._compile (<embedded>:11:149913)
Object..coffee (<embedded>:11:153507)

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.