> For the complete documentation index, see [llms.txt](https://docs.hex-rays.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hex-rays.com/9.0/user-guide/user-interface/menu-bar/edit/give-name-to-the-location.md).

# Give Name to the Location

```
 Action    name: MakeName
 
```

This command gives name/renames/deletes [name](/9.0/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](/9.0/user-guide/user-interface/menu-bar/options.md#names-representation) name.

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`](/9.0/user-guide/user-interface/menu-bar/jump.md#jump-to-the-named-location)`. If the name is hidden, you will not see it in` [`names window`](/9.0/user-guide/user-interface/menu-bar/view/open-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.
```

See also [Edit](https://github.com/HexRaysSA/docs/blob/main/user-guide/user-interface/menu-bar/edit/edit.md) submenu. [How to Enter an Identifier](/9.0/user-guide/disassembler/navigation/how-to-enter-an-identifier.md). [Names representation](/9.0/user-guide/user-interface/menu-bar/options.md#names-representation).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.hex-rays.com/9.0/user-guide/user-interface/menu-bar/edit/give-name-to-the-location.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
