LoginSignup
0
0

More than 5 years have passed since last update.

Ruby on Railsチュートリアルが捗るCloud9使い方まとめ ※随時更新予定

Last updated at Posted at 2018-10-24

注意事項

この記事は筆者がRuby on Railsチュートリアルを進めていきながら、
作業効率アップのために調べたコマンドやショートカットキーなどを書いていきます。
そのため、随時更新予定となっております。

AWS Cloud9

AWS Cloud9 は、ブラウザのみでコードを記述、実行、デバッグできるクラウドベースの統合開発環境 (IDE) です。
https://aws.amazon.com/jp/cloud9/

Terminalからの操作

Cloud9 CLI のインストール

cloud9_terminal
$ npm install -g c9

ファイルを開く
openはあってもなくてもOK

cloud9_terminal
$ c9 open README.md
$ c9 README.md

Cloud9エディタのキーバインドまとめ

Ruby on Rails チュートリアルをAWSのサービスであるCloud9を使って進めていく上で、
作業効率を高めるためのキーバインドをまとめました。

※Windows環境でのKeyBindになるのでMacOSは適宜読み替えてください。

KeyBinding Command 説明
Alt+S EditorとTerminalの切り替え(フォーカス移動)
Alt+W Tabを閉じる
Alt+Shift+W Tabを全て閉じる
Alt+Ctrl+W 現在開いてるTab以外を閉じる
Ctrl+D 1行削除
Ctrl+Shift+D 行を複製
Alt+↑(KeyUp) 行を1個上に移動
Alt+↓(KeyDown) 行を1個下に移動

参考サイト

https://cloud9-sdk.readme.io/docs/the-cloud9-cli
https://docs.c9.io/docs/keybindings
https://qiita.com/shin1kt/items/03eed49c12104002a2c7
https://www.shortcutfoo.com/app/dojos/cloud9-win/cheatsheet

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0