File tree 2 files changed +24
-1
lines changed
2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ pairing with smart people at Hashrocket.
10
10
11
11
For a steady stream of TILs, [ sign up for my newsletter] ( https://crafty-builder-6996.ck.page/e169c61186 ) .
12
12
13
- _ 1544 TILs and counting..._
13
+ _ 1545 TILs and counting..._
14
14
15
15
---
16
16
@@ -1797,6 +1797,7 @@ _1544 TILs and counting..._
1797
1797
- [ See Overlaps For A Set Of Time Zones] ( workflow/see-overlaps-for-a-set-of-time-zones.md )
1798
1798
- [ Send A Message To A Discord Channel] ( workflow/send-a-message-to-a-discord-channel.md )
1799
1799
- [ Set Recurring Reminders In Slack] ( workflow/set-recurring-reminders-in-slack.md )
1800
+ - [ Show Linting Errors In Zed] ( workflow/show-linting-errors-in-zed.md )
1800
1801
- [ Toggle Between Stories In Storybook] ( workflow/toggle-between-stories-in-storybook.md )
1801
1802
- [ Update asdf Plugins With Latest Package Versions] ( workflow/update-asdf-plugins-with-latest-package-versions.md )
1802
1803
- [ View The PR For The Current GitHub Branch] ( workflow/view-the-pr-for-the-current-github-branch.md )
Original file line number Diff line number Diff line change
1
+ # Show Linting Errors In Zed
2
+
3
+ When working in a language like TypeScript or Go, the language server tooling
4
+ in [ Zed] ( https://zed.dev/ ) can draw my attention to errors in my code. This
5
+ could be an unrecognized function or variable, a type error, or a syntax error.
6
+ When these linting errors are detected, the editor underlines them with a red
7
+ squiggly. I can hover over offending token or statement and see what the error
8
+ is.
9
+
10
+ There are also a few mouse-free ways to do this.
11
+
12
+ First, I can hit ` F8 ` to jump to the next one of these errors in the current
13
+ file. That will move my cursor to that location and display a small overlay
14
+ with the error details.
15
+
16
+ Second, assuming Vim mode, I can navigate my cursor over a specific highlighted
17
+ token and then hit ` Shift+k ` . That will pop open the same small overlay to
18
+ display the error details.
19
+
20
+ Third, I can hit ` Cmd+Shift+M ` to open the _ Project Diagnostics_ tab which
21
+ displays a series of file buffer results with the offending lines and the error
22
+ description.
You can’t perform that action at this time.
0 commit comments