Skip to content

Add Lesson 18: LSP Servers — code intelligence setup for Copilot CLI#20

Draft
calebwilson706 with Copilot wants to merge 5 commits into
mainfrom
copilot/add-lsp-server-setup-material
Draft

Add Lesson 18: LSP Servers — code intelligence setup for Copilot CLI#20
calebwilson706 with Copilot wants to merge 5 commits into
mainfrom
copilot/add-lsp-server-setup-material

Conversation

Copilot AI commented Mar 11, 2026

Copy link
Copy Markdown
  • Create new lesson tutorial/lessons/18-lsp-servers.md covering LSP server value and setup
  • Rename core lessons: 18→19 (images), 19→20 (billing), 20→21 (graduation)
  • Rename QA lessons: 21→22, 22→23, 23→24, 24→25, 25→26
  • Rename Design lessons: 26→27, 27→28, 28→29, 29→30, 30→31, 31→32
  • Update lesson titles (H1 headings) in all renamed files
  • Update tutorial/lessons/00-welcome.md to add lesson 18 and shift 18-21 in listing; fix stale image lesson reference (was Lesson 17, now Lesson 19)
  • Update .github/agents/next.agent.md — cap core at 21, QA at 26, design at 32
  • Update .github/agents/skip.agent.md — cap core at 21, QA at 26, design at 32
  • Update .github/agents/core.agent.md — update lesson 20 references to 21
  • Update .github/agents/progress.agent.md — add lesson 18, shift 18-20 to 19-21, update lesson counts to 21
  • Update .github/agents/qa.agent.md — start QA at 22
  • Update .github/agents/design.agent.md — start Design at 27
  • Update .github/copilot-instructions.md — update track ranges and lesson list; remove duplicate Design Lessons section
  • Update README.md — update QA (22-26) and Design (27-32) track ranges
  • Fix cross-references in 24-automated-test-generation.md (Lesson 22→23), 31-rapid-prototyping.md (Lesson 29→30), 32-design-track-graduation.md (Lesson 29→30)
  • Clarify that without LSP, Copilot falls back to slower grep-style text search with false-match risk
  • Add troubleshooting hint advising learners to ask Copilot to diagnose LSP server startup failures (e.g. pnpm symlink needed to place typescript in the expected node_modules location)

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: calebwilson706 <71669491+calebwilson706@users.noreply.github.com>
Copilot AI changed the title [WIP] Add material about setting up an LSP server Add Lesson 18: LSP Servers — code intelligence setup for Copilot CLI Mar 11, 2026
Comment thread tutorial/lessons/18-lsp-servers.md Outdated

### Why does this matter for Copilot CLI?

Without an LSP server, Copilot reads your code as text. It's smart enough to infer a lot — but it's still working from patterns in source files.

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.

@copilot is it also faster instead of needing to use grep / other search mechanisms

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Yes — updated in 50a9ad4. The "Why does this matter" section now explains that without LSP, Copilot falls back to grep-style text search, which is both slower and prone to false matches (e.g. a variable name appearing in comments, strings, and unrelated files).

Co-authored-by: calebwilson706 <71669491+calebwilson706@users.noreply.github.com>
@calebwilson706

Copy link
Copy Markdown
Contributor

@copilot add guidance saying to get copilot to troubleshoot, for example with pnpm i had to add a symlink to make sure typescript was in the excpected location in the node_modules

…r startup failures

Co-authored-by: calebwilson706 <71669491+calebwilson706@users.noreply.github.com>

Copilot AI commented Mar 16, 2026

Copy link
Copy Markdown
Author

@copilot add guidance saying to get copilot to troubleshoot, for example with pnpm i had to add a symlink to make sure typescript was in the excpected location in the node_modules

Done in e7cf28e. Added a fifth hint telling learners to paste the /lsp error into chat and ask Copilot to diagnose it, using the pnpm symlink case as a concrete example of the kind of environment-specific fix it can suggest.

@calebwilson706

Copy link
Copy Markdown
Contributor

@copilot don't make it an exercise, just make a point that they should do this

… a plain note

Co-authored-by: calebwilson706 <71669491+calebwilson706@users.noreply.github.com>

Copilot AI commented Mar 16, 2026

Copy link
Copy Markdown
Author

@copilot don't make it an exercise, just make a point that they should do this

Done in d1c75a2. Moved it out of Hints and into the main lesson body as a plain paragraph right after the install table — just a direct statement that if the server fails to start, paste the /lsp error into the chat and let Copilot diagnose it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants