2025-12-17 Wed
- JetBrains/RustRover
- Today I used a DevContainer in for the first time in Jetbrains ...
- I saw a warning this morning when opening Langstar in Rust LRover:
- So, I need to use a devcontainer to standardize how my dev envirnoment marshals resources, but now I need to do that not just in a way that can be utilized in Codespaces as well as locally, but ALSO I need to somehow do that in such a way that filesystem syncing is turned off, implying that it's cloned ...
- It seems like the way devcontainers are meant to work in VSCode is different than in JetBrains. In Jetbrains, they want you to clone the project into a container AFAICT.
- As a result, we need to do
File → Close Project, then doRemote Development → Dev Containers, then enter in the path to.devcontainer.json, then it will build the image. - I ended up filing Use named volume for /workspace in devcontainer to fix JetBrains file watching · Issue #711 · codekiln/langstar for this.
- BTW w.r.t. Mermaid Diagrams ...
- I used to use Mermaid diagrams exclusively for sharing representations of architecture with LLMs. Lately, I've noticed that they can just as well generate, and crucially, understand ascii art diagrams as well, which don't require a mermaidjs runtime to render for humans.
┌─────────────────────────────────────────────────────────────────┐ │ HOST MACHINE │ │ ┌─────────────────────────────────────────────────────────┐ │ │ │ .devcontainer/ │ │ │ │ ├── .env ← Your secrets (gitignored) │ │ │ │ ├── docker-compose.yml ← Reads .env for substitution │ │ │ │ └── devcontainer.json │ │ │ └─────────────────────────────────────────────────────────┘ │ │ │ │ │ Docker Compose │ │ substitutes ${VARS} │ │ │ │ │ ▼ │ │ ┌─────────────────────────────────────────────────────────┐ │ │ │ CONTAINER │ │ │ │ Environment variables set via docker-compose.yml │ │ │ │ ├── GITHUB_PAT=<from .env> │ │ │ │ ├── AWS_ACCESS_KEY_ID=<from .env> │ │ │ │ └── LANGSMITH_API_KEY=<from .env> │ │ │ │ │ │ │ │ /workspace ← Named Docker volume (code lives here) │ │ │ └─────────────────────────────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────┘- For example, in this diagram, if you paste it into chatgpt, it will know exactly what's going on.
- POSIX issues
- using Claude/Code in a terminal ends up not receiving the
ESCkey for some reason using the new terminal in JetBrains.
- using Claude/Code in a terminal ends up not receiving the
- Today I used a DevContainer in for the first time in Jetbrains ...