11 Commits

Author SHA1 Message Date
julien stjean
b28ad33a57 Added a new search directory type: ProjectOverrides.
It's a in between the default for a project and the one user add to is local configs.

Added a way to register a search directory before editor config subsystem is initialized. This usefull if you need to add a search directory before a editor config could be read.

#rb Benoit.Deschenes

[CL 26181271 by julien stjean in 5.3 branch]
2023-06-22 09:59:51 -04:00
sebastian nordgren
d9b2639fd2 EditorConfigSubsystem no longer creates new threads every frame.
This was caused by a logic error, whereby a new thread was spawned 3 seconds after the save was enqueued and then every frame thereafter regardless of whether or not one had been created. We now use EAsyncExecution::TaskGraph as well.

[REVIEW] [at]danny.couture, [at]devin.doucette
#rnx

[CL 22888566 by sebastian nordgren in ue5-main branch]
2022-11-01 15:07:25 -04:00
sebastian nordgren
4d7ea59775 Fixed wrong include: ScopeExit.h -> ScopeLock.h
#rb trivial
#rnx
#preflight 635fac7fe27df24a3f927668

[CL 22858311 by sebastian nordgren in ue5-main branch]
2022-10-31 07:21:37 -04:00
sebastian nordgren
0ccecd8e22 EditorConfigSubsystem no longer crashes when running under -nothreading.
Async() could complete before the result of the call was assigned to the FPendingSave::WasSuccess variable, which would cause OnSaveCompleted() to remove the entry and then immediately after assign to the newly deleted memory. We now remove all completed saves in Tick().

#jira UE-1644780
[REVIEW] [at]paul.chipchase
#preflight 635a9b1f7515720a5f6b3dfd

[CL 22812050 by sebastian nordgren in ue5-main branch]
2022-10-27 12:40:12 -04:00
rex hill
16a7bb17c5 Add support for UE_SAVED_DIR_OVERRIDE to EditorConfigSubsystem
#preflight skip

#ROBOMERGE-AUTHOR: rex.hill
#ROBOMERGE-SOURCE: CL 21341680 via CL 21344202 via CL 21344415 via CL 21344601
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21346102 by rex hill in ue5-main branch]
2022-08-11 17:45:14 -04:00
jason stasik
57ecabf8c0 Expose AddSearchDirectory and LoadFromFile for EditorConfigs
#rb sebatian.nordgren

#ROBOMERGE-OWNER: jason.stasik
#ROBOMERGE-AUTHOR: jason.stasik
#ROBOMERGE-SOURCE: CL 18795736 via CL 18797126 via CL 18803326 via CL 18803348 via CL 18803356 via CL 18804424 via CL 18821688
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v908-18788545)

[CL 18822076 by jason stasik in ue5-main branch]
2022-02-02 02:16:18 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
sebastian nordgren
bb68ab3b81 Added UClass & UStruct versions of FEditorConfigSubsystem::TryGetRoot*.
#review-16449464 @lauren.barnes
#preflight

[CL 16467398 by sebastian nordgren in ue5-main branch]
2021-05-26 08:27:40 -04:00
sebastian nordgren
5072dd8816 UEditorConfigSubsystem now has helpers to directly load into UObjects based on the EditorConfig= class metadata, as well as filtering of properties tagged with the EditorConfig property metadata.
#rb tim.smith, lauren.barnes
#jira UETOOL-3448
#preflight 60aceb521d02bb000144bc59

[CL 16447508 by sebastian nordgren in ue5-main branch]
2021-05-25 10:01:03 -04:00
sebastian nordgren
1b2a1ceacb Added some includes to fix non-unity compile issues.
#jira UE-107391
#rb trivial

#ROBOMERGE-SOURCE: CL 15311900 in //UE5/Release-5.0-EarlyAccess/...
#ROBOMERGE-BOT: STARSHIP (Release-5.0-EarlyAccess -> Main) (v771-15082668)

[CL 15311992 by sebastian nordgren in ue5-main branch]
2021-02-04 05:47:39 -04:00
sebastian nordgren
560ed14eb0 Added EditorMetadataOverrides subsystem and enabled its usage for details view favourites.
The Favorites category is now always visible, and displays a note about how to add properties there when empty.

#rb chris.gagnon
#jira UETOOL-2769

[CL 15208242 by sebastian nordgren in ue5-main branch]
2021-01-26 11:51:28 -04:00