Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an "Error Handling" section to Shaping docs #4686

Merged
merged 6 commits into from Jun 29, 2023
Merged

Conversation

philrz
Copy link
Contributor

@philrz philrz commented Jun 27, 2023

I recently spent some quality time with Zed's shaping features and found I was pretty happy with how things have improved. In particular the improvements in error handling (such as highlighted in the recent blog post from @jameskerr) definitely help plug some remaining UX gaps. To that end, I went back through some old issues to see if it's appropriate to close some, and #2776 definitely looked like fair game. However, I figured it's worthwhile to augment the docs with some examples that show how to catch shaping errors, hence this PR.

Fixes #2776
Fixes #2331

@philrz philrz requested a review from a team June 27, 2023 21:54
@philrz philrz self-assigned this Jun 27, 2023
docs/language/shaping.md Outdated Show resolved Hide resolved
Co-authored-by: Noah Treuhaft <noah.treuhaft@gmail.com>
docs/language/shaping.md Outdated Show resolved Hide resolved
docs/language/shaping.md Outdated Show resolved Hide resolved
philrz and others added 2 commits June 29, 2023 10:01
Co-authored-by: Noah Treuhaft <noah.treuhaft@gmail.com>
Co-authored-by: Noah Treuhaft <noah.treuhaft@gmail.com>
@philrz philrz merged commit 8bf604c into main Jun 29, 2023
4 checks passed
@philrz philrz deleted the shaper-error-docs branch June 29, 2023 17:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Notify users of shaper "misses" Add debug output beyond "put: a referenced field is missing"
2 participants