Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature Request: Load preferences from project/environment #316

Open
FluffyGhoster opened this issue Oct 10, 2024 · 0 comments
Open

Feature Request: Load preferences from project/environment #316

FluffyGhoster opened this issue Oct 10, 2024 · 0 comments
Labels
feat New feature or request

Comments

@FluffyGhoster
Copy link

Problem to be solved

When a new contributor starts mapping for a codebase, he opens the map using StrongDMM and does the changes, then files a PR for it to be merged.

The issue is, there is no way to ensure the settings he has are consistent, eg. in our codebase we require that all vars are sanitized, all maps are in TGM, and nudge is done with pixel_x/y, but we have no way to enforce that, we can just hope the contributor will read the readme and configure those settings

Sugest a solution

When an environment is loaded (.DME) alongside a map, look in the same directory of the .DME for a file whose settings will be used instead of preferences.json inside said environment

Only the settings specified in said file are overriding the preferences in preferences.json

@FluffyGhoster FluffyGhoster added the feat New feature or request label Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant