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
November 27, 2018

Increase Observability: IBM Log Analysis with LogDNA is Available Today on IBM Cloud

IBM Log Analysis with LogDNA is available today on IBM Cloud. This service to simplifies log management in the Cloud and helps your developers pinpoint issues quickly in their dynamically scaling applications and workloads.

Continue reading

October 30, 2018

DevOps Insights: New Item Charging Metric

Starting in December of 2018, IBM Cloud DevOps Insights will change the way it charges for usage. Instead of charging by Application, Insights will use the term Item. By charging for items within Insights, we will be able to scale our value across future feature sets.

Continue reading

October 26, 2018

Modernize and Simplify Your IT and Network Operations

IBM Netcool Operations Insight on IBM Cloud Private is a containerized version of Netcool that covers operations management and agile service management. You can now run your management software on the same modern platform as other workloads, making it cost-effective and scalable for future migrations.

Continue reading