Skip to content

Use VSCode for the web

Chaofan Yang edited this page May 12, 2023 · 1 revision

Since v0.7.0, HOI4 mod utilities supports Visual Studio Code for the Web. Most features are same as desktop version. Here're differences and limitations of web version.

HOI4 install path setting

The setting hoi4ModUtilities.installPath doesn't work on web version. You need to use command palette (Ctrl+Shift+P) and type Select HOI4 Install Path to select install path from a directory picker. This needs to be done every time you open VSCode for the web. This is a limitation of browser.

By the way, you can use Select HOI4 Install Path command on desktop version. It will update the setting hoi4ModUtilities.installPath on user scope.

DLC content

DLC content in dlc00x_name.zip can't be loaded on web version, even the setting hoi4ModUtilities.loadDlcContents is enabled. Luckily, this only affects old version of HOI4. In current version, they are not in .zip file, but are extracted instead. This is a limitation of the library I'm using to load .zip file.