> ## Documentation Index
> Fetch the complete documentation index at: https://radiusbrowser.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Build a development workspace

> Create separate issue and pull-request tabs with one local-server split.

Use this recipe when starting work on a project or worktree.

## Result

* The current terminal remains in the group.
* The Linear issue opens as an ordinary tab.
* The GitHub pull request opens as an ordinary tab.
* The local server opens beside the terminal in a split.
* The local server receives focus when it is ready.

## Recipe

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
#!/usr/bin/env bash
set -euo pipefail

: "${RADIUS_GROUP_ID:?Run this from a Radius group terminal}"
: "${RADIUS_TAB_ID:?Run this from a Radius group terminal}"

radius group rename "$RADIUS_GROUP_ID" "Development"

radius tab open "https://linear.app/linear/issue/LIN-111/welcome-to-linear"
radius tab open "https://github.com/electron/electron/pull/48091"

server="$(radius tab open "http://localhost:3000" --right-of "$RADIUS_TAB_ID" --size 60%)"
radius tab wait "$server" --load --timeout-ms 30000
radius tab focus "$server"
```

The server tab is created even when nothing is listening on port 3000. Remove
`tab wait --load` if the server may start after the browser workspace.

## Use project-specific values

Read URLs from environment variables so the same script works across projects:

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
issue_url="${ISSUE_URL:-https://linear.app/linear/issue/LIN-111/welcome-to-linear}"
pull_request_url="${PULL_REQUEST_URL:-https://github.com/electron/electron/pull/48091}"
dev_url="${DEV_URL:-http://localhost:3000}"

radius tab open "$issue_url"
radius tab open "$pull_request_url"
radius tab open "$dev_url" --right-of "$RADIUS_TAB_ID" --size 60%
```

## Keep the terminal focused

```bash theme={"theme":{"light":"github-light","dark":"github-dark"}}
radius tab open "http://localhost:3000" --right-of "$RADIUS_TAB_ID" --keep-anchor-active
```

The tab is created in the split, but focus remains in the terminal.
