cwtools / cwtools-vscode

A VS Code extension providing language server support for paradox script files using cwtools
Other
88 stars 12 forks source link

Suggestion: HOI4 - Add support for scoped loc #41

Open McOmghall opened 3 years ago

McOmghall commented 3 years ago

In HOI4 localization of technologies, parties and so on can be customized per tag. When that tag is known in the script itself, for example:

TAG = {
    communist > 0.1
}

Hovering over communist should give you the default name in the loc for the communist party and also the one that's defined for the tag TAG_communist.

Optionally, it'd be great if all this loc could be resolved to all the scoped locs that key can have, say, by right clicking on it.