DevOps

The key to get your app running on the cloud. FAST.

Share this post:

This blog post is an update to a post written by Priya Aswani on the DevOps Services blog in May 2015.


IBM Bluemix Continuous Delivery, which is one of the DevOps services on Bluemix, allows for integrated agile planning, coding, building, deploying, and collaborating with your team. You can get your app running on the Bluemix cloud within minutes. Continuous Delivery provides a very strong infrastructure to support your coding needs. It’s a great way to increase your workplace productivity and reliability. Here are a few tips, tricks and hidden gems that can help you get coding at lightning speed. Discovering these valuable nuggets can enable you to get work done faster and make coding and life easier. It’s all about cutting out the nonsense and getting you up and running in the shortest amount of time. The time saved will be appreciated by you, your boss, your team and your clients.

Do you ever wish that the code editing tool you use could complete the code for you? A world where code writes itself. The Eclipse Orion Web IDE content assist feature gets us one step closer to that world. There are some really neat updates made to the online code editor that are bound to shave a few minutes off your work day and save you from getting a few gray hairs. One smart feature in the Web IDE is content assist, which helps you write code faster and more efficiently.

Create a manifest.yml file in just one shortcut key

Hot off the press! A quick shortcut to create a new manifest.yml file is to first create the file, then press CTRL+Space in the new file that you just created. Try it!

One of the main files used when deploying an app on Bluemix is the manifest.yml file. By using an application manifest, you reduce the number of deployment details that you must specify every time you deploy an application to Bluemix. In application manifests, you can specify options such as the number of application instances to create, the amount of memory and disk quota to allocate to applications, and other environment variables for the application. You can also use application manifests to automate application deployments. The default name of a manifest file is manifest.yml.

Auto-completion

You can quickly create the manifest with one shortcut, and then you can take it one step further.  You can use content assist auto-completion to add missing fields, to help you craft the manifest.yml file correctly.

Content assist auto-completion provides you with a list of accessible keywords based on the programming language chosen (in conjunction with specifications, variables, methods, data types, etc.). Specifically, the JavaScript content assist code templates/snippets allows for JSDoc formatted comments, parameters, RegExp literals and object type assistance as well as built-in indices. You can also create rules to create ESLint Directives that can allow you to detect empty blocks of code (new no-empty-block rule) which is indicated through an error notification. Similar characteristics exist for throw error-objects. Content assist can help with setting up an environment, enabling or disabling rules, and unclosed / incomplete comment blocks while parsing your source.

Syntax Highlighting

The Web IDE editor makes coding easier with content assist as well as syntax highlighting. Programming languages supported include: HTML, CSS, JavaScript, Ruby, and Python. When using JavaScript, the Web IDE supports syntax and semantic checking as well. The editor will check your code and indicate where you might run into issues and may need to debug before you execute the code. It can also mark occurrences of variables and other coding elements.

Happy Hacking with Bluemix!

More DevOps stories
April 25, 2019

Develop in Public Cloud, Deploy Anywhere with IBM Cloud DevOps

In this article, we explore how to deploy multicloud apps developed with IBM Cloud Continuous Delivery to a network-accessible IBM Cloud Private installation.

Continue reading

March 27, 2019

Versioned Base Images for Continuous Delivery

Developers know that everything—including the tools they use to build applications, the libraries and packages their applications depend on, and even the environments where the applications run—is always changing. The Continuous Delivery Pipeline Versioned Base Image support was created to help deal with competing pressures of currency and consistency when developing applications for IBM Cloud.

Continue reading

March 27, 2019

What’s Included in the IBM Cloud Developer Tools Version 2.1.17

We are pleased to announce the latest version of IBM Cloud Developer Tools CLI Version 2.1.17.

Continue reading