# IDA View

{% hint style="info" %}
The options below appear when the **Edit menu is opened from the** [**IDA View**](/core/user-interface/concepts/subviews.md#ida-view--disassembly-window). In other views, the menu adapts dynamically and may show a different set of options.
{% endhint %}

Below is an overview of all actions that can be accessed from this menu.

| UI Action Name                                                                     | Action Name                     | Description                                                                                                                                                                                                                                                                                                       |
| ---------------------------------------------------------------------------------- | ------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Copy](/ida-actions/editcopy.md)                                                   | `EditCopy`                      | Copy                                                                                                                                                                                                                                                                                                              |
| [Begin selection](/ida-actions/anchor.md)                                          | `Anchor`                        | Begin selection. Some IDA commands such as selecting a portion of file to output or specifying a segment to move need an anchor.                                                                                                                                                                                  |
| [Select all](/ida-actions/selectall.md)                                            | `SelectAll`                     | Select all                                                                                                                                                                                                                                                                                                        |
| [Select identifier](/ida-actions/selectidentifier.md)                              | `SelectIdentifier`              | Select identifier                                                                                                                                                                                                                                                                                                 |
| [Undo Process options...](/ida-actions/undoaction.md)                              | `UndoAction`                    | This command reverts the database to the state before executing the last user action.                                                                                                                                                                                                                             |
| [Redo](/ida-actions/redoaction.md)                                                 | `RedoAction`                    | This command reverts the previously issued Undo command.                                                                                                                                                                                                                                                          |
| [Export data](/ida-actions/exportdata.md)                                          | `ExportData`                    | Export data                                                                                                                                                                                                                                                                                                       |
| [Code](/ida-actions/makecode.md)                                                   | `MakeCode`                      | Convert to instruction.                                                                                                                                                                                                                                                                                           |
| [Data](/ida-actions/makedata.md)                                                   | `MakeData`                      | Convert to data.                                                                                                                                                                                                                                                                                                  |
| [Struct var...](/ida-actions/declarestructvar.md)                                  | `DeclareStructVar`              | Declare a structure variable.                                                                                                                                                                                                                                                                                     |
| [String](/ida-actions/makestrlit.md)                                               | `MakeStrlit`                    | Convert to string.                                                                                                                                                                                                                                                                                                |
| [C-style (0 terminated)](/ida-actions/stringc.md)                                  | `StringC`                       | C-style (0 terminated)                                                                                                                                                                                                                                                                                            |
| [DOS style ($ terminated)](/ida-actions/stringdos.md)                              | `StringDOS`                     | DOS style ($ terminated)                                                                                                                                                                                                                                                                                          |
| [Pascal style (1 byte length)](/ida-actions/stringpascal1.md)                      | `StringPascal1`                 | Pascal style (1 byte length)                                                                                                                                                                                                                                                                                      |
| [Wide pascal (2 byte length)](/ida-actions/stringpascal2.md)                       | `StringPascal2`                 | Wide pascal (2 byte length)                                                                                                                                                                                                                                                                                       |
| [Delphi (4 byte length)](/ida-actions/stringdelphi.md)                             | `StringDelphi`                  | Delphi (4 byte length)                                                                                                                                                                                                                                                                                            |
| [Unicode](/ida-actions/stringunicode.md)                                           | `StringUnicode`                 | Unicode                                                                                                                                                                                                                                                                                                           |
| [Unicode pascal (2 byte length)](/ida-actions/stringunicodepascal2.md)             | `StringUnicodePascal2`          | Unicode pascal (2 byte length)                                                                                                                                                                                                                                                                                    |
| [Unicode wide pascal (4 byte length)](/ida-actions/stringunicodepascal4.md)        | `StringUnicodePascal4`          | Unicode wide pascal (4 byte length)                                                                                                                                                                                                                                                                               |
| [Array...](/ida-actions/makearray.md)                                              | `MakeArray`                     | Convert to array.                                                                                                                                                                                                                                                                                                 |
| [Undefine](/ida-actions/makeunknown.md)                                            | `MakeUnknown`                   | Convert to undefined.                                                                                                                                                                                                                                                                                             |
| [Rename](/ida-actions/makename.md)                                                 | `MakeName`                      | Rename the current location.                                                                                                                                                                                                                                                                                      |
| [Offset (data segment)](/ida-actions/opoffset.md)                                  | `OpOffset`                      | Convert the current operand to an offset in the data segment.                                                                                                                                                                                                                                                     |
| [Offset (current segment)](/ida-actions/opoffsetcs.md)                             | `OpOffsetCs`                    | Convert the current operand to an offset in the current segment.                                                                                                                                                                                                                                                  |
| [Offset by (any segment)...](/ida-actions/opanyoffset.md)                          | `OpAnyOffset`                   | Convert the current operand to an offset in any segment.                                                                                                                                                                                                                                                          |
| [Offset (user-defined)...](/ida-actions/opuseroffset.md)                           | `OpUserOffset`                  | Convert the current operand to an offset with any base.                                                                                                                                                                                                                                                           |
| [Offset (struct)...](/ida-actions/opstructoffset.md)                               | `OpStructOffset`                | Convert the current operand to a structure offset.                                                                                                                                                                                                                                                                |
| [Number (default)](/ida-actions/opnumber.md)                                       | `OpNumber`                      | Convert the current operand to a number.                                                                                                                                                                                                                                                                          |
| [Hexadecimal](/ida-actions/ophex.md)                                               | `OpHex`                         | Convert the current operand to a hexadecimal number.                                                                                                                                                                                                                                                              |
| [Decimal](/ida-actions/opdecimal.md)                                               | `OpDecimal`                     | Convert the current operand to a decimal number.                                                                                                                                                                                                                                                                  |
| [Octal](/ida-actions/opoctal.md)                                                   | `OpOctal`                       | Convert the current operand to a octal number.                                                                                                                                                                                                                                                                    |
| [Binary](/ida-actions/opbinary.md)                                                 | `OpBinary`                      | Convert the current operand to a binary number.                                                                                                                                                                                                                                                                   |
| [Floating point](/ida-actions/opfloat.md)                                          | `OpFloat`                       | Convert to floating point.                                                                                                                                                                                                                                                                                        |
| [Toggle leading zeroes](/ida-actions/toggleleadingzeroes.md)                       | `ToggleLeadingZeroes`           | Toggle leading zeroes.                                                                                                                                                                                                                                                                                            |
| [Character](/ida-actions/opchar.md)                                                | `OpChar`                        | Convert the current operand to a character constant                                                                                                                                                                                                                                                               |
| [Segment](/ida-actions/opsegment.md)                                               | `OpSegment`                     | Convert the current operand to a segment base                                                                                                                                                                                                                                                                     |
| [Enum member...](/ida-actions/openum.md)                                           | `OpEnum`                        | Convert the current operand to a symbolic constant                                                                                                                                                                                                                                                                |
| [Stack variable](/ida-actions/opstackvariable.md)                                  | `OpStackVariable`               | Convert the current operand to a stack variable                                                                                                                                                                                                                                                                   |
| [Change sign](/ida-actions/changesign.md)                                          | `ChangeSign`                    | Change the sign of the current operand                                                                                                                                                                                                                                                                            |
| [Bitwise negate](/ida-actions/bitwisenegate.md)                                    | `BitwiseNegate`                 | Perform bitwise negation of the current operand                                                                                                                                                                                                                                                                   |
| [Manual...](/ida-actions/manualoperand.md)                                         | `ManualOperand`                 | Enter the current operand manually.                                                                                                                                                                                                                                                                               |
| [Set operand type...](/ida-actions/setoptype.md)                                   | `SetOpType`                     | Set the current operand's type                                                                                                                                                                                                                                                                                    |
| Copy pseudocode to disassembly                                                     | `hx:EditCmt`                    |                                                                                                                                                                                                                                                                                                                   |
| Add pseudocode comments...                                                         | `hx:AddPseudoCmt`               |                                                                                                                                                                                                                                                                                                                   |
| Delete pseudocode comments...                                                      | `hx:DelPseudoCmt`               |                                                                                                                                                                                                                                                                                                                   |
| [Enter comment...](/ida-actions/makecomment.md)                                    | `MakeComment`                   | Enter a regular comment.                                                                                                                                                                                                                                                                                          |
| [Enter repeatable comment...](/ida-actions/makerptcmt.md)                          | `MakeRptCmt`                    | Enter repeatable comment.                                                                                                                                                                                                                                                                                         |
| [Enter anterior lines...](/ida-actions/makeextralinea.md)                          | `MakeExtraLineA`                | Enter lines preceding the generated lines.                                                                                                                                                                                                                                                                        |
| [Enter posterior lines...](/ida-actions/makeextralineb.md)                         | `MakeExtraLineB`                | Enter lines following the generated lines                                                                                                                                                                                                                                                                         |
| Edit block comment...                                                              | `mv:EditBlockCmt`               |                                                                                                                                                                                                                                                                                                                   |
| Edit comment...                                                                    | `mv:EditCmt`                    |                                                                                                                                                                                                                                                                                                                   |
| [Create segment...](/ida-actions/createsegment.md)                                 | `CreateSegment`                 | This command allows you to create a new segment.                                                                                                                                                                                                                                                                  |
| [Edit segment...](/ida-actions/editsegment.md)                                     | `EditSegment`                   | Edit segment attributes. This command opens the Change segment attributes dialog.                                                                                                                                                                                                                                 |
| [Delete segment...](/ida-actions/killsegment.md)                                   | `KillSegment`                   | Delete segment.                                                                                                                                                                                                                                                                                                   |
| [Move current segment...](/ida-actions/movesegment.md)                             | `MoveSegment`                   | Change the current segment boundaries.                                                                                                                                                                                                                                                                            |
| [Rebase program...](/ida-actions/rebaseprogram.md)                                 | `RebaseProgram`                 | Rebase program.                                                                                                                                                                                                                                                                                                   |
| [Change segment translation...](/ida-actions/segmenttranslation.md)                | `SegmentTranslation`            | Change the current segment translation table                                                                                                                                                                                                                                                                      |
| [Change segment register value...](/ida-actions/setsegmentregister.md)             | `SetSegmentRegister`            | Change segment register value.                                                                                                                                                                                                                                                                                    |
| [Set default segment register value...](/ida-actions/setsegmentregisterdefault.md) | `SetSegmentRegisterDefault`     | Set default segment register value.                                                                                                                                                                                                                                                                               |
| [Struct var...](/ida-actions/declarestructvar.md)                                  | `DeclareStructVar`              | Declare a structure variable.                                                                                                                                                                                                                                                                                     |
| [Force zero offset field](/ida-actions/zerostructoffset.md)                        | `ZeroStructOffset`              | Toggle display of the first field of a structure in an offset expression.                                                                                                                                                                                                                                         |
| [Select union member...](/ida-actions/selectunionmember.md)                        | `SelectUnionMember`             | Choose the representation of a union member.                                                                                                                                                                                                                                                                      |
| [Create struct from selection](/ida-actions/createstructfromdata.md)               | `CreateStructFromData`          | This command defines a new structure from data already defined. The new structure is created with adequate data types, and each member uses the current data name if it is available.                                                                                                                             |
| [Copy field info to pointers](/ida-actions/copyfieldstopointers.md)                | `CopyFieldsToPointers`          | Copy field info to pointed addresses. This command scans the current struct variable and renames the locations pointed by offset expressions unless they already have a non-dummy name.                                                                                                                           |
| [Create function...](/ida-actions/makefunction.md)                                 | `MakeFunction`                  | Create a new function in the disassembly.                                                                                                                                                                                                                                                                         |
| [Edit function...](/ida-actions/editfunction.md)                                   | `EditFunction`                  | Edit function attributes - change function properties, including bounds, name, flags, and stack frame parameters. This command opens an Edit Function dialog, and allows you to modify function characteristics and stack frame structure. If the current address does not belong to any function, IDA will beep. |
| [Append function tail...](/ida-actions/appendfunctiontail.md)                      | `AppendFunctionTail`            | This command appends an arbitrary range of the program to a function definition. A range must be selected before applying this command. This range must not intersect with other function chunks (however, an existing tail can be added to multiple functions).                                                  |
| [Remove function tail...](/ida-actions/removefunctiontail.md)                      | `RemoveFunctionTail`            | Remove function tail.                                                                                                                                                                                                                                                                                             |
| [Delete function](/ida-actions/delfunction.md)                                     | `DelFunction`                   | Delete function. Deleting a function deletes only information about a function, such as information about stack variables, comments, function type, etc. The instructions composing the function will remain intact.                                                                                              |
| [Move to folder...](/ida-actions/movefunctiontofolder.md)                          | `MoveFunctionToFolder`          | This is the listing-specific version of [the tree view's similar operation](/ida-actions/dirtreemovetofolder.md), and lets you conveniently organize your database directly from `IDA View-*`, `Pseudocode-*` and `Microcode-*` widgets, without having to go through the "Functions" widget.                     |
| [Set function end](/ida-actions/functionend.md)                                    | `FunctionEnd`                   | Change the function end address. This command changes the current or previous function bounds so that its end will be set at the cursor. If it is not possible, IDA beeps.                                                                                                                                        |
| [Stack variables...](/ida-actions/openstackvariables.md)                           | `OpenStackVariables`            | Open the stack variables window. See [subviews](/core/user-interface/concepts/subviews.md) for more.                                                                                                                                                                                                              |
| [Change stack pointer...](/ida-actions/changestackpointer.md)                      | `ChangeStackPointer`            | Change stack pointer. This command allows you to specify how the stack pointer (SP) is modified by the current instruction.                                                                                                                                                                                       |
| [Rename register...](/ida-actions/renameregister.md)                               | `RenameRegister`                | Rename a general processor register.                                                                                                                                                                                                                                                                              |
| [Set type...](/ida-actions/settype.md)                                             | `SetType`                       | Set type information for an item or current function.                                                                                                                                                                                                                                                             |
| [Change byte...](/ida-actions/patchbyte.md)                                        | `PatchByte`                     | Change program bytes.                                                                                                                                                                                                                                                                                             |
| [Change word...](/ida-actions/patchword.md)                                        | `PatchWord`                     | Change program words                                                                                                                                                                                                                                                                                              |
| [Assemble...](/ida-actions/assemble.md)                                            | `Assemble`                      | This command allows you to assemble instructions. Currently, only the IBM PC processors provide an assembler, nonetheless, plugin writers can extend or totally replace the built-in assembler by writing their own.                                                                                              |
| [Patched bytes](/ida-actions/patchedbytes.md)                                      | `PatchedBytes`                  | Open the Patched bytes window. The Patched bytes view shows the list of the patched locations in the database. It also allows you to revert modifications selectively.                                                                                                                                            |
| [Apply patches to input file...](/ida-actions/applypatches.md)                     | `ApplyPatches`                  | Apply previously patched bytes back to the input file. If the "Restore" option is selected, then the original bytes will be applied to the input file.                                                                                                                                                            |
| Specify switch idiom...                                                            | `uiswitch:SpecSwitchIdiom`      |                                                                                                                                                                                                                                                                                                                   |
| [Create alignment directive...](/ida-actions/makealignment.md)                     | `MakeAlignment`                 | Create alignment directive.                                                                                                                                                                                                                                                                                       |
| [Manual instruction...](/ida-actions/manualinstruction.md)                         | `ManualInstruction`             | Specify alternate representation of the current instruction.                                                                                                                                                                                                                                                      |
| [Color instruction...](/ida-actions/colorinstruction.md)                           | `ColorInstruction`              | This command allows you to specify the background color for the current instruction or data item.                                                                                                                                                                                                                 |
| Reset decompiler information...                                                    | `hx:ResTypeInfo`                |                                                                                                                                                                                                                                                                                                                   |
| Toggle skippable instructions...                                                   | `hx:ToggleSkippableInsn`        |                                                                                                                                                                                                                                                                                                                   |
| Decompile as call...                                                               | `hx:UserDefinedCall`            |                                                                                                                                                                                                                                                                                                                   |
| [Toggle border](/ida-actions/toggleborder.md)                                      | `ToggleBorder`                  | Toggle the display of a border between code and data.                                                                                                                                                                                                                                                             |
| detect and parse golang metadata                                                   | `golang:detect_and_parse`       |                                                                                                                                                                                                                                                                                                                   |
| Open picture in default viewer                                                     | `picture_search:open_in_viewer` |                                                                                                                                                                                                                                                                                                                   |
| Save picture                                                                       | `picture_search:save_picture`   |                                                                                                                                                                                                                                                                                                                   |
| [Quick run plugins](/ida-actions/quickrunplugins.md)                               | `QuickRunPlugins`               | Quickly run a plugin                                                                                                                                                                                                                                                                                              |


---

# 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/core/user-interface/reference/menu-bar-actions/edit/ida-view-actions.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.
