Skip to content

gpui: Document standalone app setup - #58766

Merged
ChristopherBiscardi merged 4 commits into
zed-industries:mainfrom
GoldStrikeArch:fix/update-gpui-docs
Jun 9, 2026
Merged

gpui: Document standalone app setup#58766
ChristopherBiscardi merged 4 commits into
zed-industries:mainfrom
GoldStrikeArch:fix/update-gpui-docs

Conversation

@GoldStrikeArch

@GoldStrikeArch GoldStrikeArch commented Jun 7, 2026

Copy link
Copy Markdown
Contributor

Summary:

  • Document gpui_platform::application() as the entry point for standalone GPUI apps.
  • Add platform-specific gpui_platform feature guidance for macOS, Linux/FreeBSD, and Windows.
  • Use Git dependencies for the repository-based setup example.

Self-Review Checklist:

  • I've reviewed my own diff for quality, security, and reliability
  • Unsafe blocks (if any) have justifying comments
  • The content is consistent with the UI/UX checklist
  • Tests cover the new/changed behavior
  • Performance impact has been considered and is acceptable

Release Notes:

  • N/A

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Jun 7, 2026
@GoldStrikeArch
GoldStrikeArch marked this pull request as ready for review June 7, 2026 06:39

@ChristopherBiscardi ChristopherBiscardi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I made a couple updates, including not mentioning the git urls in the Cargo.toml (since we don't want people to depend on main and unintentionally bring in breaking commit updates), and adding some code examples which are more easily digested compared to prose descriptions.

@ChristopherBiscardi ChristopherBiscardi added the area:docs This is a PR label! For issues use issue type 'Docs' instead. label Jun 9, 2026
auto-merge was automatically disabled June 9, 2026 09:13

Head branch was pushed to by a user without write access

@GoldStrikeArch

GoldStrikeArch commented Jun 9, 2026

Copy link
Copy Markdown
Contributor Author

@ChristopherBiscardi Thanks! I updated the code example to use:

```rust,no_run

So it will not fail tests

@ChristopherBiscardi
ChristopherBiscardi added this pull request to the merge queue Jun 9, 2026
Merged via the queue into zed-industries:main with commit 170b2db Jun 9, 2026
31 checks passed
This was referenced Jun 18, 2026
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
Summary:

- Document `gpui_platform::application()` as the entry point for
standalone GPUI apps.
- Add platform-specific `gpui_platform` feature guidance for macOS,
Linux/FreeBSD, and Windows.
- Use Git dependencies for the repository-based setup example.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A

---------

Co-authored-by: Christopher Biscardi <chris@christopherbiscardi.com>
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
Summary:

- Document `gpui_platform::application()` as the entry point for
standalone GPUI apps.
- Add platform-specific `gpui_platform` feature guidance for macOS,
Linux/FreeBSD, and Windows.
- Use Git dependencies for the repository-based setup example.

Self-Review Checklist:

- [x] I've reviewed my own diff for quality, security, and reliability
- [x] Unsafe blocks (if any) have justifying comments
- [x] The content is consistent with the [UI/UX
checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist)
- [x] Tests cover the new/changed behavior
- [x] Performance impact has been considered and is acceptable

Release Notes:

- N/A

---------

Co-authored-by: Christopher Biscardi <chris@christopherbiscardi.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs This is a PR label! For issues use issue type 'Docs' instead. cla-signed The user has signed the Contributor License Agreement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants