# Select Fields Dialog

`Code | Generate | Equality (Relational) Operators`

This dialog can be invoked when you generate code for relational, equality and stream output operators.

## Common options

| Item | Description |
| --- | --- |
|  ![sortedAlphabetically@2x.png](https://resources.jetbrains.com/help/img/idea/2026.2/sortedAlphabetically%402x.png)  |  Click this button to sort the elements of a list in alphabetical order.  |
|  ![](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.collapseAll.svg)  |  Click this button to collapse all nodes.  |
|  ![](https://resources.jetbrains.com/help/img/idea/2026.2/app.expui.general.expandAll.svg)  |  Click this button to have all the nodes expanded.  |
|  Generate in place  |  Select this checkbox to generate an operator within implementation module.  |

## Common options for comparison operators

| Item | Description |
| --- | --- |
|  Generate as class members  |  Select this checkbox to define an operator as a class member.  |
|  Use std::tie  |  Select this checkbox to enable using a tuple.  |

## Generating equality operator

| Item | Description |
| --- | --- |
|  Generate != together with ==  |  Select this checkbox to generate operator `!=` defined through operator `==`  |

## Generating relational operators

| Item | Description |
| --- | --- |
|  Generate >, <=, >= together with <  |  Select this checkbox to generate operators `>`, `<=` and `>` defined through operator `<`.  |

