defold icon indicating copy to clipboard operation
defold copied to clipboard

Read editor preferences from a file in the project folder if it exist.

Open AGulev opened this issue 3 years ago • 1 comments

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. image image image

AGulev avatar Feb 16 '22 13:02 AGulev

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.

matgis avatar Jul 01 '22 13:07 matgis

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 avatar Aug 07 '23 12:08 vlaaad

@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

AGulev avatar Aug 07 '23 12:08 AGulev

Ah I mixed it up with #7028

vlaaad avatar Aug 07 '23 12:08 vlaaad

Shouldn't Bob be able to pick up this per-project build server setting somehow? Along with headers...

vlaaad avatar Aug 07 '23 12:08 vlaaad

@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)

AGulev avatar Aug 07 '23 12:08 AGulev

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 avatar Aug 07 '23 12:08 vlaaad

@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)

AGulev avatar Aug 07 '23 13:08 AGulev