# dannydorito/npp-sqf architecture

> Architecture diagram of the GitHub repository dannydorito/npp-sqf, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dannydorito/npp-sqf
- Repository: https://github.com/dannydorito/npp-sqf

## Overview

This repository is a configuration bundle that adds SQF language support to Notepad++. Users import the language definition for syntax highlighting and code folding, and install the API definition for function completion. Optional theme XML supplies styles that users can copy into the API definition. The tree and README document these relationships; no implementation source was provided.

Main entry points: [`autocompletion/SQF.xml`](https://github.com/dannydorito/npp-sqf/blob/main/autocompletion/SQF.xml) (SQF completion API), [`syntaxhighlighting/SQF.xml`](https://github.com/dannydorito/npp-sqf/blob/main/syntaxhighlighting/SQF.xml) (SQF language definition), [`themes/Default.xml`](https://github.com/dannydorito/npp-sqf/blob/main/themes/Default.xml) (Default theme), [`themes/Zenburn.xml`](https://github.com/dannydorito/npp-sqf/blob/main/themes/Zenburn.xml) (Zenburn theme)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_language_support["SQF editor support"]
  node_syntax["SQF language definition<br/>[SQF.xml]"]
  node_completion["SQF completion API<br/>[SQF.xml]"]
end

subgraph group_styles["Style options"]
  node_default_theme["Default theme<br/>[Default.xml]"]
  node_zenburn_theme["Zenburn theme<br/>[Zenburn.xml]"]
end

node_user(("Editor user"))
node_notepad["Notepad++"]

node_user -->|"imports"| node_syntax
node_syntax -->|"defines highlighting"| node_notepad
node_user -->|"installs"| node_completion
node_completion -->|"enables completion"| node_notepad
node_user -->|"chooses styles"| node_default_theme
node_user -->|"chooses styles"| node_zenburn_theme
node_default_theme -.->|"style content"| node_completion
node_zenburn_theme -.->|"style content"| node_completion

click node_syntax "https://github.com/dannydorito/npp-sqf/blob/main/syntaxhighlighting/SQF.xml"
click node_completion "https://github.com/dannydorito/npp-sqf/blob/main/autocompletion/SQF.xml"
click node_default_theme "https://github.com/dannydorito/npp-sqf/blob/main/themes/Default.xml"
click node_zenburn_theme "https://github.com/dannydorito/npp-sqf/blob/main/themes/Zenburn.xml"

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_syntax,node_completion,node_user toneBlue
class node_default_theme,node_zenburn_theme toneAmber
class node_notepad toneIndigo
```

## Components

### SQF editor support

- [SQF language definition](https://github.com/dannydorito/npp-sqf/blob/main/syntaxhighlighting/SQF.xml): `syntaxhighlighting/SQF.xml`
- [SQF completion API](https://github.com/dannydorito/npp-sqf/blob/main/autocompletion/SQF.xml): `autocompletion/SQF.xml`

### Style options

- [Default theme](https://github.com/dannydorito/npp-sqf/blob/main/themes/Default.xml): `themes/Default.xml`
- [Zenburn theme](https://github.com/dannydorito/npp-sqf/blob/main/themes/Zenburn.xml): `themes/Zenburn.xml`

### Other components

- **Editor user**
- **Notepad++**

## Connections

- Editor user → SQF language definition: imports
- SQF language definition → Notepad++: defines highlighting
- Editor user → SQF completion API: installs
- SQF completion API → Notepad++: enables completion
- Editor user → Default theme: chooses styles
- Editor user → Zenburn theme: chooses styles
- Default theme → SQF completion API: style content
- Zenburn theme → SQF completion API: style content
