Recently in August Oracle launched the OCI Code Editor which is an in-console tool designed on Eclipse. In this blog, we will cover the fundamentals of the code editor, its benefits, and how to access it in the Oracle Cloud Console.
Code Editor Overview
Oracle Cloud Infrastructure (OCI) Code Editor offers a rich, in-console editing environment enabling users to edit code and update service workflows/scripts without having to switch between the Console and their local development environment. It provides an easier way to perform common code updates for various services, like creating and deploying Functions, editing Terraform configurations used with Resource Manager stacks, or creating and editing an API.
Why Code Editor?
Now that you are familiar with what a code editor is, the next question that comes is why we need a code editor. So to answer your question, here are a few reasons:
1.) In-console editor: Oracle code editor being a console-based code-editing tool requires no infrastructure setup or installation and can be easily launched from anywhere within the OCI console, supported services, and cloud shell.
2.) Cloud Shell access: Direct access to the Oracle Cloud Shell and its more than 30 cloud-based tools enables users to read and edit code files stored in the OCI Cloud Shell home directory in addition to this users can natively compile, run and deploy code, and perform Git actions.
3.) Git Integration: Git integration enables cloning of any Git-based repository and provides the ability to track file changes, commit, and pull and push code through intuitive UI elements.
4.) Persists state across user sessions: Code Editor autosaves progress and persists user states across multiple user sessions, so developers can pick up right where they left off.
Features/Benefits
Code editor provides various go-to features making it easier for Oracle customers to code & edit in the OCI console. Some of them are:
1.) Code Editor lets you focus solely on writing efficient code, while OCI takes care of the complex infrastructure setup and management tasks on your behalf.
2.) Code Editor has out-of-the-box integrations with key OCI services, which enables a multitude of use cases like natively creating and deploying Functions, editing Resource Manager IaC configurations, editing Data Science job artifacts, developing API specifications using the interactive OpenAPI rendering functionality, and many new services which are planned to be launched soon.
3.) Direct access to the Cloud Shell from Code Editor enables you to edit files in your Cloud Shell home directory and natively compile, run, and deploy code.
4.) It reduces code development efforts through intelligent code editing features, including syntax highlighting, code suggestions, bracket matching, linting, and code navigation in 15 popular languages, such as Java, Python, Docker, JSON, and Terraform.
5.) Code editor offers session continuity i.e., it opens the last edited file when relaunched, automatically saves progress, and persists your user state across multiple sessions.
Using Code Editor
In this section, we will see how we can work with the Oracle code editor in the Oracle Cloud.
Step 1: You can start the code editor by clicking on the Code Editor button in the upper right corner of the OCI Console:
Step 2: Code Editor can also be started from an OCI Service workflow. In this example, Code Editor is being launched from the Functions console by clicking the Create Using Code Editor link:
Step 3: Once you start the code editor, the interface looks something like as shown in the image below. It is very similar to the Visual Studio Code editor.
Step 4: You can customize Code Editor’s position on the screen as per your needs. Click the View menu view at the top of the screen to change the layout of your code editor.
Step 5: Code Editor features a Command Palette that is easily accessible at all times by just pressing the F1 key. It displays a searchable list of available Code Editor commands, along with their keyboard shortcuts if any.
Step 6: The Code Editor user interface allows users to perform basic operations on files, including moving, deleting, renaming, and downloading.
Step 7: Users can also embed Git functionality in Code Editor. They can clone their repositories and perform basic Git operations.
To know more about performing GIT operations in the code editor, read the OCI Code Editor official documentation.
Conclusion
With Code Editor, building and prototyping solutions on OCI is easier and streamlines your day-to-day development efforts. It is free to use and can be launched from the top navigation bar anywhere in the Console.
Related/References
- 1Z0-1072-22 Oracle Cloud Infrastructure 2022 Architect Associate: All You Need To Know About
- Transit Routing: Access To Multiple VCNs From On-Premise
- OCI Networking | OCI Networking Architecture Overview
- OCI Gateways & OCI NAT Gateway
- OCI Load Balancer & How To Create: Step By Step
- OIC Console Walkthrough
- Command Line Interface (CLI) in OCI
Begin Your Cloud Journey
Begin your journey towards becoming a Certified Oracle Cloud Infrastructure Architect and earn a lot more in 2022 by joining our FREE CLASS. You will also know more about the Roles and Responsibilities, Job opportunities for OCI Architects in the market, and what to study Including Hands-On labs you must perform to clear the Oracle Cloud Architect Associate Certification (OCI) certification exam by registering for our FREE Masterclass.
Click on the below image to Register for Our FREE Class on Master Oracle Cloud (OCI) and Get a Higher Paying Job!
The post OCI Code Editor appeared first on Cloud Training Program.