Building Google Cloud Platform Solutions
上QQ阅读APP看书,第一时间看更新

The Cloud Shell Code Editor

In addition to the Cloud Shell's included text editors, such as Vim and Emacs, the Cloud Console offers an in-browser IDE experience with the Cloud Shell Code Editor. The Code Editor allows you to easily view and edit files within your Cloud Shell's  $HOME directory. Released in October 2016 and entering beta in July 2017, the Code Editor rounds out the suite of developer tools available on GCP, making it feasible to develop and manage applications end-to-end without ever leaving your browser.

The Cloud Shell Code Editor is based on Orion, " a browser-based open tool integration platform which is entirely focused on developing for the web, in the web." ( https://wiki.eclipse.org/Orion). Orion is part of the larger Eclipse Cloud Development project, which looks to provide open source solutions for the cloud-based development space.

While somewhat basic in its feature set compared to modern desktop IDEs, the Cloud Shell Code Editor is capable of quite a few features to make development easier. A few of these features include:

  • A command pallet available with Alt + Shift + ?
  • IntelliSense for supported languages
  • Inline documentation on hover or with F2
  • Variable reference lookup and renaming
  • Source code outline with Ctrl + O
  • Rich customization with code formatting preferences, themes, and key binding