# MakeName

## Description

Rename the current location. This command gives name/renames/deletes [name](https://github.com/HexRaysSA/ida-docs/blob/9.3/user-guide/disassembler/navigation/how-to-enter-an-identifier.md) for the current item.

To delete a name, simply give an empty name.

If the current item is referenced, you cannot delete its name. Even if you try, IDA will generate a dummy name (See Options → Name representation...).

List of available options:

* **Local name**: The name is considered to be defined only in the current function. Please note that IDA does not check the uniqueness of the local names in the whole program. However, it does verify that the name is unique for the function.
* **Include in name list**: Here you can also include/remove the name from the name list (see the Jump by name... command; action `JumpName`). If the name is hidden, you will not see it in the [names window](https://github.com/HexRaysSA/ida-docs/blob/9.3/user-guide/user-interface/subviews.md#names-window).
* **Public name**: You can declare a name as a public (global) name. If the current assembler supports the "public" directive, IDA will use it. Otherwise, the publicness of the name will be displayed as a comment.
* **Autogenerated name**: An autogenerated name will appear in a different color. If the item is indefined, it will disappear automatically.
* **Weak name**: You can declare a name as a weak name. If the current assembler supports the "weak" directive, IDA will use it. Otherwise, the weakness of the name will be displayed as a comment.
* **Create name anyway**: If this flag is on, and if the specified name already exists, IDA will try to variate the specified name by appending a suffix to it.


---

# 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.hex-rays.com/ida-actions/makename.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.
