Platformio-atom-ide-terminal: The "platformio-ide-terminal:insert-selected-text" is not working.

Created on 11 Aug 2016  路  7Comments  路  Source: platformio/platformio-atom-ide-terminal

I installed the package but one of the features that must meter for mi is "insert-selected-text" is not working.

I use "ctrl-enter" but it is not passing the code to the shell.

I test it on windows 10 and 7.

fixed outdated versions workaround posted

Most helpful comment

By default in atom, ctrl+enter inserts a new line. To make ctrl-enter behave as expected, you could add this to keymap.cson

'atom-workspace atom-text-editor:not([mini])':
  'ctrl-enter': 'platformio-ide-terminal:insert-selected-text

All 7 comments

By default in atom, ctrl+enter inserts a new line. To make ctrl-enter behave as expected, you could add this to keymap.cson

'atom-workspace atom-text-editor:not([mini])':
  'ctrl-enter': 'platformio-ide-terminal:insert-selected-text

If these are necessary changes, this should be documented. It can't be considered a 'feature' if it doesn't do this by default.

For mac users' reference:

'atom-workspace atom-text-editor:not([mini])':
'cmd-enter': 'platformio-ide-terminal:insert-selected-text'

ctrl-enterto _insert-selected-text_ worked by default when i installed _platformio-ide-terminal_ on my mac.

However, after I later installed the _linter-shellcheck_ package, ctrl-enter stopped working. So i followed these instructions and added the line to _keymap.cson_, and the ctrl-enter function was restored. (I prefer ctrl-enter over cmd-enter, in my case).

by the way, when copying the above line, remove the newline between ([mini])': and 'cmd-enter':

Thank you!

i have now also successfully used this (to re-bind ctrl-enter) in the keymap.cson in Atom installed on Ubuntu 16 inside VirtualBox on macOS (whew!):

'atom-workspace atom-text-editor:not([mini])': 'ctrl-enter': 'platformio-ide-terminal:insert-selected-text'

Ubuntu 18.04 LTS Atom solve the bug thanks all the guys above -

change paltform ide key binding

'atom-workspace atom-text-editor:not([mini])':
'ctrl-enter': 'platformio-ide-terminal:insert-selected-text'

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hrishikeshac picture hrishikeshac  路  5Comments

wo0dpeker picture wo0dpeker  路  4Comments

JoanaRFerreira picture JoanaRFerreira  路  4Comments

kiiiit picture kiiiit  路  5Comments

hsaltan picture hsaltan  路  4Comments