# Give Name to the Location

```
 Action    name: MakeName
 
```

This command gives name/renames/deletes [name](/8.5/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](/8.5/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`](/8.5/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`](/8.5/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/8.5/user-guide/user-interface/menu-bar/edit/edit.md) submenu. [How to Enter an Identifier](/8.5/user-guide/disassembler/navigation/how-to-enter-an-identifier.md). [Names representation](/8.5/user-guide/user-interface/menu-bar/options.md#names-representation).


---

# 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/8.5/user-guide/user-interface/menu-bar/edit/give-name-to-the-location.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.
