Platformio-atom-ide-terminal: Send commands to terminal via init script?

Created on 1 Jun 2016  路  3Comments  路  Source: platformio/platformio-atom-ide-terminal

Is there any way for me to send a command to the terminal via Atom's init script? I'm new to scripting in Atom, so forgive me if this is a newbie question!

help wanted question

Most helpful comment

Well, what I really want is to be able to create a script to set up my development environment, which changes based on what project I'm working on. For example, I'd like to open up 3 terminal tabs and run a different command in each one of them.

All 3 comments

How about Settings > platformio-ide-terminal > Core > Auto Run Command?

Well, what I really want is to be able to create a script to set up my development environment, which changes based on what project I'm working on. For example, I'd like to open up 3 terminal tabs and run a different command in each one of them.

Some how related: I tried to open a terminal on start up from the init file with the flowing line but failed :( Any ideas why?

atom.commands.dispatch(document.querySelector('atom-text-editor'), 'platformio-ide-terminal:toggle')

Was this page helpful?
0 / 5 - 0 ratings

Related issues

EdgarUstian picture EdgarUstian  路  4Comments

conradolucas picture conradolucas  路  5Comments

televators picture televators  路  4Comments

yangwao picture yangwao  路  4Comments

0ski picture 0ski  路  5Comments