# jhenneberg/guide_vscode-fortran architecture

> Architecture diagram of the GitHub repository jhenneberg/guide_vscode-fortran, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/jhenneberg/guide_vscode-fortran
- Repository: https://github.com/jhenneberg/guide_vscode-fortran

## Overview

This repository is a practical guide for setting up a Fortran development workflow in Visual Studio Code, not an editor extension or language-server implementation. Its principal user journey is configuring the editor, adding Fortran language support and optional fortls integration, then arranging compilation and debugging. The tree provides no source excerpts, so the graph reflects only README-documented relationships; the Fortran source file is not described as part of that workflow.

Main entry points: [`README.md`](https://github.com/jhenneberg/guide_vscode-fortran/blob/master/README.md) (Build and launch configs), [`src/program.f90`](https://github.com/jhenneberg/guide_vscode-fortran/blob/master/src/program.f90) (Fortran source)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_editor["Editor setup"]
  node_vscode["Visual Studio Code"]
  node_editorconfig["Editor preferences<br/>[README.md]"]
end

subgraph group_language["Fortran language support"]
  node_modernfortran["Modern Fortran"]
  node_fortls["fortls"]
  node_pythonpip["Python and pip"]
end

subgraph group_builddebug["Build and debug"]
  node_gfortran["gfortran compiler"]
  node_taskslaunch["Build and launch configs<br/>[README.md]"]
  node_debugger["Debugger"]
end

node_user(("Developer"))
node_fortransource["Fortran source<br/>[program.f90]"]

node_user -->|"uses"| node_vscode
node_user -->|"configures"| node_editorconfig
node_user -->|"installs"| node_modernfortran
node_modernfortran -.->|"integrates optionally"| node_fortls
node_user -->|"installs prerequisites"| node_pythonpip
node_pythonpip -->|"installs"| node_fortls
node_user -->|"configures"| node_taskslaunch
node_taskslaunch -->|"invokes build"| node_gfortran
node_taskslaunch -->|"builds"| node_fortransource
node_taskslaunch -->|"launches"| node_debugger

click node_editorconfig "https://github.com/jhenneberg/guide_vscode-fortran/blob/master/README.md"
click node_fortransource "https://github.com/jhenneberg/guide_vscode-fortran/blob/master/src/program.f90"
click node_taskslaunch "https://github.com/jhenneberg/guide_vscode-fortran/blob/master/README.md"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_vscode,node_editorconfig toneBlue
class node_modernfortran,node_fortls,node_pythonpip toneAmber
class node_gfortran,node_taskslaunch,node_debugger toneMint
class node_user toneIndigo
class node_fortransource toneTeal
```

## Components

### Editor setup

- **Visual Studio Code**
- [Editor preferences](https://github.com/jhenneberg/guide_vscode-fortran/blob/master/README.md): `README.md`

### Fortran language support

- **Modern Fortran**
- **fortls**
- **Python and pip**

### Build and debug

- **gfortran compiler**
- [Build and launch configs](https://github.com/jhenneberg/guide_vscode-fortran/blob/master/README.md): `README.md`
- **Debugger**

### Other components

- **Developer**
- [Fortran source](https://github.com/jhenneberg/guide_vscode-fortran/blob/master/src/program.f90): `src/program.f90`

## Connections

- Developer → Visual Studio Code: uses (evidence: `README.md`)
- Developer → Editor preferences: configures (evidence: `README.md`)
- Developer → Modern Fortran: installs (evidence: `README.md`)
- Modern Fortran → fortls: integrates optionally (evidence: `README.md`)
- Developer → Python and pip: installs prerequisites (evidence: `README.md`)
- Python and pip → fortls: installs (evidence: `README.md`)
- Developer → Build and launch configs: configures (evidence: `README.md`)
- Build and launch configs → gfortran compiler: invokes build (evidence: `README.md`)
- Build and launch configs → Fortran source: builds (evidence: `README.md`)
- Build and launch configs → Debugger: launches (evidence: `README.md`)
