# assistant2: Extract method for adding a new profile to the settings \(\#27810\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 8a212be0b1a9b1a95f128099e776f9a3331af12b

Requested commit: 8a212be0b1a9b1a95f128099e776f9a3331af12b

Commit: 8a212be0b1a9b1a95f128099e776f9a3331af12b

Tree: f9ada84d2ebe3587ad9096454e75adc28c54122e

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant2: Extract method for adding a new profile to the settings (#27810)

This PR extracts a method for adding a new profile to the settings to
reduce the amount of code required inline.

Release Notes:

- N/A
```

## Parents

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

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