{"id":49331989,"url":"https://github.com/emberglazee/hearts-of-modding","last_synced_at":"2026-06-30T01:00:47.299Z","repository":{"id":354045508,"uuid":"1221918999","full_name":"emberglazee/hearts-of-modding","owner":"emberglazee","description":"VS Code extension for Hearts of Iron IV modding.","archived":false,"fork":false,"pushed_at":"2026-06-27T22:58:17.000Z","size":4183,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-06-28T00:17:34.723Z","etag":null,"topics":["hearts-of-iron-4","hoi4","lsp","paradox","paradox-interactive","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/emberglazee.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2026-04-26T21:03:18.000Z","updated_at":"2026-06-27T22:58:06.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/emberglazee/hearts-of-modding","commit_stats":null,"previous_names":["emberglazee/hearts-of-modding"],"tags_count":43,"template":false,"template_full_name":null,"purl":"pkg:github/emberglazee/hearts-of-modding","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emberglazee%2Fhearts-of-modding","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emberglazee%2Fhearts-of-modding/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emberglazee%2Fhearts-of-modding/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emberglazee%2Fhearts-of-modding/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emberglazee","download_url":"https://codeload.github.com/emberglazee/hearts-of-modding/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emberglazee%2Fhearts-of-modding/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34948227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-29T02:00:05.398Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hearts-of-iron-4","hoi4","lsp","paradox","paradox-interactive","vscode-extension"],"created_at":"2026-04-26T23:01:20.170Z","updated_at":"2026-06-30T01:00:47.279Z","avatar_url":"https://github.com/emberglazee.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hearts of Modding\n\n[![made-for-VSCode](https://img.shields.io/badge/Made%20for-VSCode-1f425f.svg)](https://code.visualstudio.com/)\n[![GitHub license](https://badgen.net/github/license/emberglazee/Hearts-of-Modding)](https://github.com/emberglazee/Hearts-of-Modding/blob/main/LICENSE)\n![GitHub top language](https://img.shields.io/github/languages/top/emberglazee/hearts-of-modding?logo=rust\u0026logoColor=ff8c00\u0026label=Rust)\n![GitHub Actions Workflow Status](https://img.shields.io/github/actions/workflow/status/emberglazee/hearts-of-modding/.github%2Fworkflows%2Fbuild.yml?logo=githubactions\u0026logoColor=white\u0026link=https%3A%2F%2Fgithub.com%2Femberglazee%2Fhearts-of-modding%2Factions)\n![GitHub Release](https://img.shields.io/github/v/release/emberglazee/hearts-of-modding?label=release\u0026logo=github\u0026link=https%3A%2F%2Fgithub.com%2Femberglazee%2Fhearts-of-modding%2Freleases)\n\n\u003cdiv align=\"center\"\u003e\n\u003ctable\u003e\n\u003ctbody\u003e\n\u003ctd align=\"center\"\u003e\n\u003ca href=\"https://github.com/emberglazee/hearts-of-modding\" target=\"_blank\"\u003e\u003cstrong\u003eGitHub\u003c/strong\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\n\u003ca href=\"https://github.com/emberglazee/hearts-of-modding/discussions/3\" target=\"_blank\"\u003e\u003cstrong\u003eDiscussion\u003c/strong\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\n\u003ca href=\"https://marketplace.visualstudio.com/items?itemName=emberglaze.hearts-of-modding\" target=\"_blank\"\u003e\u003cstrong\u003eVSC Marketplace\u003c/strong\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003ctd align=\"center\"\u003e\n\u003ca href=\"https://open-vsx.org/extension/emberglaze/hearts-of-modding\" target=\"_blank\"\u003e\u003cstrong\u003eOVSX Registry\u003c/strong\u003e\u003c/a\u003e\n\u003c/td\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003c/div\u003e\n\nAn experimental work-in-progress high-performance **Visual Studio Code** extension for **Hearts of Iron IV (HOI4)** modding, powered by a dedicated Language Server Protocol (LSP) server written in **Rust**.\n\nInspired by [CWTools](https://github.com/cwtools/cwtools) and [VModer](https://github.com/textGamex/VModer). Written with performance in mind.\n\n---\n\n## 🚀 Features\n\n### ✍️ Smarter editing\n\n- **Auto-complete** triggers, modifiers, countries, ideas, traits, abilities.\n\n- **Hover over anything** to see what it does: hover a trigger to read its documentation, an idea to see its modifiers, a state ID to see its name, a localization to preview it.\n\n- **Click to jump** to definitions: F12 on any event, idea, character, or focus takes you straight to where its defined.\n\n### 🔎 Catch mistakes early\n\n- **Errors** for typos, missing brackets, unknown entities, invalid values.\n\n- **Warns** for too high leader skill levels, building levels exceeding their max, or non-existant victory points in a province.\n\n- **Checks** your localization for missing and duplicate keys, unclosed color codes, and invalid scopes/commands.\n\n### 🗺️ Map \u0026 data tools\n\n- **Validates `definition.csv` and `adjacencies.csv`**: checks province IDs, terrain names, flags unknown provinces.\n\n- **Hover over map files** to see province terrain, type, and coastal status.\n\n### 🎨 Better visuals\n\n- **Vibrant syntax highlighting** with custom light/dark VSCode themes: color-coded triggers, effects, modifiers, scope references, and localization strings.\n\n- **In-editor color previews**: localization color codes render as their actual colors right in the editor.\n\n## ✨ Get started\n\n1. **Install the extension** from the [VSCode Marketplace](https://marketplace.visualstudio.com/items?itemName=emberglaze.hearts-of-modding) or the [Open VSX Registry](https://open-vsx.org/extension/emberglaze/hearts-of-modding).\n\n2. **Open your mod folder** in VSCode.\n\n3. **(Recommended)** Set `hoi4.gamePath` in your settings to your HOI4 installation for vanilla file references.\n\n4. **Happy modding.**\n\n## 🧑‍🧒 For submods\n\nThe extension automatically discovers installed mods and loads them to provide accurate completions and validation in submods as well.\n\n## ⚙️ Might wanna tweak these\n\n| Setting | What it does |\n| ------- | ------------ |\n| `hoi4.gamePath` | Path to your local HOI4 install. Enables vanilla + submod data support. |\n| `hoi4.styling.enabled` | ✨ Styling suggestions ✨ (tabs vs spaces, trailing whitespace, etc). On by default. |\n| `hoi4.validator.workspaceScan.enabled` | Scan all mod files for errors on startup. Off by default, slow for huge mods. |\n| `hoi4.showMemoryUsage.enabled` | Shows the HoM LSP RAM usage in the status bar. |\n\n## ⌨️ Commands\n\nType \"Hearts of Modding\" in the command palette (`Ctrl+Shift+P`) to see all commands:\n\n- **Toggle LSP:** Start/stop the language server.\n\n- **Set Game Path:** Point to your HOI4 installation.\n\n- **Toggle Workspace Scan:** Scan all the files for issues.\n\n- **Toggle Theme:** Switch between the extension themes.\n\n## ☝️ Requirements\n\n- **VSCode v1.82.0+**\n\n- **Windows or Linux (`amd64`/x64) or macOS (`arm64`)**\n\nA HOI4 install is optional but strongly recommended for the complete experience.\n\n---\n\n*Made with ❤️ by a [Hearts of Minecraft](https://steamcommunity.com/sharedfiles/filedetails/?id=2624254320) mod developer.*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femberglazee%2Fhearts-of-modding","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femberglazee%2Fhearts-of-modding","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femberglazee%2Fhearts-of-modding/lists"}