defold
defold copied to clipboard
Read editor preferences from a file in the project folder if it exist.
Is your feature request related to a problem? Please describe (REQUIRED):
Different projects may use different preferences. That would be useful to have a possibility to read preferences from the project folder itself such a file exists in the project folder.

I think it makes sense for projects to control the Build Server setting from a file committed into the project. But all the other preferences are user-preferences in my mind. Although it might be useful to have some of these user-preferences be per-project, they shouldn't be committed into the project and apply to all users.
Is this an issue about storing per-user preferences in a file at a known location or is it about making the build server a checked-in per-project setting?
@vlaaad it's about an ability to specify the build serve URL per project. It is possible that some other settings may be specified on per-project basis as well. Feel free to change the ticket and create a new one for the second case if you need it
Ah I mixed it up with #7028
Shouldn't Bob be able to pick up this per-project build server setting somehow? Along with headers...
@vlaaad we use Bob only for bundle creation, and it has a parameter to do so, that means it's up to a Bob user to set this parameter.
Build (cmd+b) process is up to the editor. Also the editor sets the parameter for bob when bundle (e.g. --build-server https://build-stage.defold.com)
Yeah but if there is a specially intended checked-in build server for a project, maybe Bob should pick it up automatically? Because it is intended and checked-in in a file in the repo...
@vlaaad maybe, but I think it's not so important, since if somebody builds using bob, it's already possible to do. This will be something like a *.sh file in your repo where you specify what want. In case with the editor, you can't do that (you have to manually change this value in Preferences)