2.6 KiB
2.6 KiB
Manual extension-host acceptance — checklist
The one test of the VS Code extension that is not editors/vscode/smoke.js.
Run it on a release build (code --install-extension lucisv-<v>-darwin-arm64.vsix --force)
with /Users/guoliangchen/repo/opentitan open as the workspace. About an
hour. Record the release, the date and any failure in the table at the end.
| # | Step | Expected |
|---|---|---|
| 1 | Open hw/ip/aes/rtl/aes.sv. Status bar. |
"lucisv" item appears; no error toast; Output → lucisv shows the server version. |
| 2 | Wait for the scan bar to finish. Hover aes_core in an instantiation. |
Hover card with the module's header and file:line; F12 jumps to aes_core.sv. |
| 3 | Insert a tab at the start of a line. | A no-tabs squiggle within a second; lightbulb offers "Replace tab"; fix-on-save (editor.codeActionsOnSave with source.fixAll.lucisv) removes it. Undo. |
| 4 | Cursor on .clk_i in an instantiation; open the lightbulb. |
Port refactorings listed instantly (no hitch); picking one applies an edit (undo). |
| 5 | Format Document (Shift+Alt+F) on aes.sv. |
Reformats without an error toast; Format again is a no-op. Undo all. |
| 6 | Settings → search "lucisv.lint". | Every rule has a toggle; severity.style off removes all style squiggles immediately. Restore. |
| 7 | Add [lint] select = ["no-tabs"] in a scratch lucisv.toml beside the file. |
Only no-tabs diagnostics remain; removing the file restores the defaults. |
| 8 | Theme: switch Dark+ → Light+ → High Contrast. | Semantic highlighting readable in all three; no invisible tokens. |
| 9 | Zoom: View → Appearance → Zoom In ×3, then reset. | Hierarchy view and hover cards scale; nothing clipped. |
| 10 | Keyboard only: Ctrl+Shift+O (symbols), F12, Shift+F12, F2 rename, Esc. |
Every action reachable without the mouse; rename preview shows all files. |
| 11 | Screen reader (VoiceOver, ⌘F5): tab through the lucisv hierarchy view. | Each row announced with its name; the toggle buttons announced. Turn VoiceOver off. |
| 12 | Old server: point lucisv.server.path at ~/.cache/lucisv-baselines/lucisv-0.39.0's sibling server if kept, else skip. |
Extension warns about the version mismatch and still works. Reset the setting. |
| 13 | The other VSIX shape: install the lucisv-<v>-universal.vsix (no bundled server) with the CLI on PATH. |
Same behaviour as steps 1–5. |
| 14 | Restart the server (command palette: "lucisv: Restart Server"). | Diagnostics return within a few seconds; no duplicate status items. |
Runs
| Release | Date | Result | Failures (step, what happened) |
|---|---|---|---|