# Contextual Menu

### BlackDiamond: Convert (available in the Sources folder)

Convert your source code from Teradata, Oracle, and SQL Server to Snowflake, Spark Scala to Snowpark Scala, and Spark Python to Snowpark Python.

To convert your source code right-click a file or folder and select the option **BlackDiamond: Convert** from the contextual menu.

&#x20;![](/files/PRo6Oxky5ekjqAZfDgMM)

#### Requirements:

{% hint style="info" %}
Source Platform and license must be previously configured on the BDS Portal.
{% endhint %}

Learn more about [conversions from the IDE.](/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/code-conversions/converting-from-the-ide.md)

### BlackDiamond: Conversion Settings (available in the Sources folder)

Convert your source code to Snowflake with SnowConvert using the default settings or customize them for any of these source platforms: [Teradata](https://docs.mobilize.net/snowconvert/for-teradata/introduction), [Oracle](https://docs.mobilize.net/snowconvert/for-oracle/introduction), or [SQL Server](https://docs.mobilize.net/snowconvert/for-transactsql/introduction).&#x20;

The conversion settings can be customized in the IDE by right-clicking the file or folder you want to convert and selecting the option **BlackDiamond: Conversion Settings.** For more information about the conversion settings in the IDE go to [Conversion Settings](/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/code-conversions/converting-sql-code-to-snowflake/conversion-settings.md).

![](/files/Gi8UXwKUAWOwFss99qBz)

### BlackDiamond: Deploy (available in the Target folder)

Deploy your source code to Snowflake by right-clicking on a file or folder and selecting **BlackDiamond: Deploy** from the context menu.

![](/files/XvG0wALJ7LmmByUcNsfm)

### BlackDiamond: Compare

Using the **BlackDiamond: Compare** option you can verify the changes between the source code and the target code produced during the conversion process.

You can verify all the changes in data types and object definitions before deploying the new migrated code into your Snowflake cloud database.

![](/files/Be9XSaQMr49XvCD9U3vm)

### BlackDiamond: Export Scala UDF (.sbt files)

Please check the [Scala Quick Start Guide](https://app.gitbook.com/o/-MB4z_O8Sl--Tfl3XVml/s/IINjKCcUCVrS1bNYxR1s/blackdiamond-studio-documentation/user-guide/scala-quickstart-guide/write-scala-code).

### BlackDiamond: Run Code Analyzer

Get Insight reports for your source and/or target code and inspect the relationships between the various objects and dependencies. Learn more about&#x20;

* To get the analysis of your code, right-click a folder from source or target and select the option **BlackDiamond: Run Code Analyzer**.&#x20;

![](/files/5HDGjESA3zLh33ahcjI7)

* Refer to the Reports folder to see the generated reports or use the [Reports Explorer](/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/code-insights/reports-explorer.md) feature for a better experience.&#x20;

![](/files/cs7sADYOEyFNxVNvts9G)

### BlackDiamond: Run Streamlit (available only for Python files)

Use the BlackDiamond: Run Streamlit menu option to start the execution of a Streamlit App. For more information see [Running a Streamlit App](/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/online-code-editor/running-a-streamlit-app.md).

<figure><img src="/files/IaeGHkDZqXUa4aUlZnKs" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gapvelocity.ai/blackdiamond-studio-or-mobilize.net/blackdiamond-studio-documentation/online-code-editor/contextual-menu.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
