eecs280staff / tutorials

Tools and tutorials
https://eecs280staff.github.io/tutorials/
Other
5 stars 4 forks source link

VS Code Tutorial Revisions #192

Closed jamesjuett closed 2 months ago

jamesjuett commented 2 months ago

This PR contains revisions to the VS Code tutorials. It incorporates some changes to smooth out minor incompatibilities with the new P1, adjustments for the move to Ubuntu-24.04, and other revisions.

I'd put it at moderate urgency, because I believe the changes will make setup significantly smoother for current students.

Significant Revisions

The hierarchy of the page is changed:

It also attempts to resolve a few issues that result from students literally using this to set up P1 AND students using the tutorial for a later project in EECS 280 (or for people not in EECS 280 at all).

Some images are updated, and most didn't need to be. There are a few slightly outdated images not showing the exact set of new F24 P1 files, and I've created #195 for that, but I think it's lower priority and shouldn't block these updates.

Section Headings

I double checked that no links are broken as a result of changes to some section headings (or removing others). I did this by inspecting a grep across all our relevant repositories, e.g.:

grep -r "#debug" p1-stats p2-cv p3-euchre p4-editor p5-ml tutorials/docs

Here's my accounting of the ones that have changed.

"Run" -> "Launch Debugger" (was not linked from anywhere) "Run" -> "Run" (another heading called run, was not linked from anywhere) "Arguments and Options" -> "Command Line Arguments and Options" (preserved old heading via anchor tag) "Debug" (There were multiple headings called "debug". None are linked except internally within the vscode mac tutorial. They're still good.) "Breakpoint" -> "Set Breakpoints" (was not linked from anywhere)

Try it out

I've walked through the updated version on these platforms:

github-actions[bot] commented 2 months ago

The spec from this PR is available at https://preview.sesh.rs/previews/eecs280staff/tutorials/192/.

(Available until Sun Sep 29 2024.)

jamesjuett commented 2 months ago

@awdeorio I think this is ready to re-review. In 254fe00, I've implemented the changes we discussed so that the sample main.cpp and Makefile are introduced earlier. Run/Debug examples now use main.exe rather than anything specific to P1.

The changes are compatible with the current P1, since we have a main.exe target in the Makefile there for compatibility purposes. (So current EECS 280 students are expected to wget/create the sample tutorial files, then the P1 starter files. That will clobber the Makefile, but it's compatible.)

Thanks for the feedback and suggesting these changes! I think having the prominent set of sample files for the tutorial will work well for both 280 and non 280 folks.

jamesjuett commented 2 months ago

Thanks for the improvements! LGTM