

# Using the Code Editor IDE in Amazon SageMaker Unified Studio
Code Editor

Code Editor, based on Code-OSS (Open Source Software) like VS Code, helps you write, test, debug, and run your analytics and machine learning code. It also supports integrated development environment (IDE) extensions available in the Open VSX Registry.

After creating a Code Editor space in Amazon SageMaker Unified Studio, you can access your Code Editor session directly through the browser. Within your Code Editor environment, you can do the following:
+ Access artifacts from Amazon SageMaker Unified Studio
+ Clone your GitHub repositories and commit changes
+ Access the SageMaker Python SDK

You can return to Amazon SageMaker Unified Studio to review any assets created in your Code Editor environment such as experiments, pipelines, or training jobs.

# Performing Git operations in Code Editor
Performing Git operations

The Code Editor IDE in Amazon SageMaker Unified Studio is configured with Git and initialized with the project repository when a Code Editor space is created.

You can use Git operations after launching your Code Editor space. To launch your project, choose **Open** next to the space you want to open in the **Spaces** tab of your project.

When Code Editor is open, choose the **Source Control** icon in the left navigation. You can use this window to perform Git operations such as committing and pushing files back to the project repository, switching your working branch or creating a new one, and managing tags.

To fetch notebooks committed by other users, do a pull from the project repository.

1. Navigate to Amazon SageMaker Unified Studio using the URL from your admin and log in using your SSO or AWS credentials. 

1. Navigate to your project.

1. In the **Build** menu, choose **Spaces**.

1. Choose **Open** next to the Code Editor space you want to open.

1. In the Source Control window of your Code Editor space, choose the three-dot menu. Then choose **Pull**.

**Note**  
When you create and enable a connection for Git access and the user accesses this connection in the Code Editor IDE in Amazon SageMaker Unified Studio, the repository is cloned. In other words, a local copy of the repository is created in the Amazon SageMaker Unified Studio project. If the administrator later disables or deletes this Git connection, the local repository remains in the user's IDE, but users can no longer push or pull files to or from it. For more information, see [Git connections in Amazon SageMaker Unified Studio](https://docs.aws.amazon.com/sagemaker-unified-studio/latest/adminguide/git-connections.html). 

# Checking the version of Code Editor in Amazon SageMaker Unified Studio
Checking the version

The following steps show how to check the version of your Code Editor application.

1. Navigate to Amazon SageMaker Unified Studio using the URL from your admin and log in using your SSO or AWS credentials. 

1. Navigate to your project.

1. In the **Build** menu, choose **Spaces**.

1. Choose **Open** next to the Code Editor space you want to open.

1. In the upper-left corner of the Code Editor UI, choose the three-bar menu button.

1. Choose **Help**. Then choose **About**.

# Connections and extensions in Code Editor
Connections and extensions

Code Editor supports IDE connections to AWS services as well as extensions available in the [Open VSX Registry](https://open-vsx.org/).

 Code Editor environments are integrated with the AWS Toolkit for VS Code to add connections to AWS services. Within your Code Editor environment, you can add connections to [AWS Explorer](https://docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/aws-explorer.html) to view, modify, and deploy AWS resources in Amazon S3, CloudWatch, and more. 

Code Editor supports IDE extensions available in the [Open VSX Registry](https://open-vsx.org/). To get started with extensions in your Code Editor environment, choose the Extensions icon in the left navigation pane. Here, you can configure connections to AWS by installing the AWS Toolkit. For more information, see [Installing the AWS Toolkit for Visual Studio Code](https://docs.aws.amazon.com/toolkit-for-vscode/latest/userguide/setup-toolkit.html).

In the search bar, you can search directly for additional extensions through the [Open VSX Registry](https://open-vsx.org/), such as the AWS Toolkit, Jupyter, Python, and more.