# editor: Add alignment setting to code completion context menu detail text \(\#45892\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/24572649d6f16c74d79d0ca186d900223f2c5ae5)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 24572649d6f16c74d79d0ca186d900223f2c5ae5

Requested commit: 24572649d6f16c74d79d0ca186d900223f2c5ae5

Commit: 24572649d6f16c74d79d0ca186d900223f2c5ae5

Tree: ffc5fc8e2eb8a195c8e0a4be2b8d161e5dcc386f

Author: legs

Committer: GitHub

## Message

```
editor: Add alignment setting to code completion context menu detail text (#45892)

Closes #5154

Release Notes:

- Added a setting (`completion_detail_alignment`) to change the detail
text alignment in code completion context menus.

<table>
<tr>
 <td>Right Alignment
 <td>Left Alignment
<tr>
 <td>
<img width="802" height="427" alt="image"
src="https://github.com/user-attachments/assets/46202f3d-32cc-4431-aebd-aa3c52d84993"
/>
 <td>
<img width="783" height="427" alt="image"
src="https://github.com/user-attachments/assets/d26559d2-c433-4bf7-a302-e683bd5fa9f7"
/>
</table>

---------

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
```

## Parents

- [0549689eee5efc07e28322308428b47cde035a33](https://git.cafe/gitcafe/zed/commit/0549689eee5efc07e28322308428b47cde035a33?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/24572649d6f16c74d79d0ca186d900223f2c5ae5?format=markdown)
