# Tips

## General

{% hint style="info" %}
By pressing **SHIFT + ALT + F or Right Clicking on the editor and pressing Format Document**, you can format the code.
{% endhint %}

{% hint style="info" %}
Use **CTRL + S** to save your work.
{% endhint %}

{% hint style="info" %}
Use **CTRL + Z/Y** to Undo/Redo steps in your code
{% endhint %}

## Comparing Scripting rules

You can compare different scripting rules or different versions of the same scripting rule with each other!

Simply select compare from one of these three menus and choose which to rule to use as a reference in the shown modal.

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

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

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

<figure><img src="/files/qJUXGscFrhnXhPhkZjtR" 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.decisionrules.io/doc/v1/scripting-rules/tips.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.
