64 lines
1.8 KiB
Markdown
64 lines
1.8 KiB
Markdown
---
|
|
title: Project field notes
|
|
tags: [workspace, design]
|
|
---
|
|
|
|
# Project field notes
|
|
|
|
A place for the thinking that happens around the code. Keep your research,
|
|
implementation notes, and scripts together, with room to read and a terminal
|
|
close at hand.
|
|
|
|
## A calmer place to work
|
|
|
|
Good notes need a clear rhythm: **strong headings**, comfortable paragraphs,
|
|
and enough space to see how ideas relate. Use `project/config.ts` for a small
|
|
code reference, or follow a [[notes/welcome|related note]] without losing context.
|
|
|
|
> [!tip] Keep context close
|
|
> Write down the reason for a change alongside the script that implements it.
|
|
> Your future self gets both the decision and the details.
|
|
|
|
### From idea to implementation
|
|
|
|
1. Capture the question in a note.
|
|
- Link the relevant research.
|
|
- Keep examples beside the explanation.
|
|
2. Open the script and try the smallest useful change.
|
|
3. Run it in the project terminal.
|
|
|
|
## Working checklist
|
|
|
|
- [x] Keep notes and code in the same workspace
|
|
- [x] Preserve Markdown exactly as written
|
|
- [ ] Review the next iteration
|
|
- [ ] Check a narrow split view
|
|
- [ ] Record what changed
|
|
|
|
## At a glance
|
|
|
|
| Surface | Purpose | Shortcut |
|
|
| :--- | :--- | ---: |
|
|
| Notes | Decisions, research, and working drafts | `Ctrl N` |
|
|
| Editor | Scripts and source files | `Ctrl P` |
|
|
| Terminal | Run commands in the project directory | `Ctrl` + backtick |
|
|
|
|
### A small example
|
|
|
|
```python
|
|
from pathlib import Path
|
|
|
|
workspace = Path.cwd()
|
|
for note in workspace.rglob("*.md"):
|
|
print(note.relative_to(workspace))
|
|
```
|
|
|
|
Code keeps its indentation and punctuation. Text such as `**bold**` inside a
|
|
code span stays literal, while **bold** in a paragraph is formatted.
|
|
|
|
> The best workspace helps you return to a thought as easily as you return to a file.
|
|
|
|
---
|
|
|
|
One project, with room for both the explanation and the implementation.
|