You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set custom text 1 in the settings to: rspec $D/$F:$L
Call your new custom command (probably using the command palette, though I've tried both with the palette and a keybind)
Notes
I think I understand why this is. When I create the new terminal (via dispatching the new command), I don't wait for it to be done creating before I try to send text to it.
What I'd really like to do:
Have a way to create or reuse a terminal (probably toggle)
Then wait for the terminal to be available
Then paste in the text from one of the custom texts
One way to solve this would be to make the "insert custom text" commands create a new terminal if there isn't one available (maybe that could be a new option).
Atom: 1.41.0 x64 Electron: 4.2.7 OS: Mac OS X 10.15.1 Thrown From: termination package 0.7.6
Stack Trace
Uncaught TypeError: Cannot read property 'stopScrolling' of undefined
At /Users/cm022291/.dotfiles/atom/packages/termination/lib/view.coffee:479
TypeError: Cannot read property 'stopScrolling' of undefined
at TerminationView.module.exports.TerminationView.insertSelection (/packages/termination/lib/view.coffee:479:17)
at /packages/termination/lib/status-bar.coffee:64:72
at StatusBar.module.exports.StatusBar.runInActiveView (/packages/termination/lib/status-bar.coffee:280:14)
at /packages/termination/lib/status-bar.coffee:64:47)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349392)
at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:347867)
at HTMLElement.custom:run-rspec-for-line (/Users/cm022291/.dotfiles/atom/init.coffee:39:19)
at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:349392)
at KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1252536)
at KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:1248670)
at WindowEventHandler.handleDocumentKeyEvent (/Applications/Atom.app/Contents/Resources/app/static/<embedded>:11:284598)
Steps to Reproduce
rspec $D/$F:$L
Notes
I think I understand why this is. When I create the new terminal (via dispatching the new command), I don't wait for it to be done creating before I try to send text to it.
What I'd really like to do:
One way to solve this would be to make the "insert custom text" commands create a new terminal if there isn't one available (maybe that could be a new option).
Atom: 1.41.0 x64
Electron: 4.2.7
OS: Mac OS X 10.15.1
Thrown From: termination package 0.7.6
Stack Trace
Uncaught TypeError: Cannot read property 'stopScrolling' of undefined
Commands
Non-Core Packages
The text was updated successfully, but these errors were encountered: