Open jonaszuberbuehler opened 4 years ago
Hey, great idea! Just to make sure, do you mean a parameter on the normalizer or (also) a CLI parameter?
@RandomByte My use case was targeting a param in ui5.yaml
.
So a per-project configuration and not per-user? What would be your use case? A path relative to the project?
AFAIR (lots happens in two weeks :)) I was trying out the new framework option where you don't need to specify the openui5 deps in package.json. Therefore my IDE (IntelliJ IDEA) was having a hard time w/ code completion since I normally define the @openui5 node modules as JS libraries. Digging through the code I found the ui5HomeDir.
Maybe my use case is too specific but having the homeDir relatively to the project would be convenient (like node_modules).
Would this custom parameter also solve my problem?
Context:
We work on a shared Citrix-Host (closed network) and have a local home in C:\Users\
I think it would be of great value to set a custom path to the .ui5 folder.
Concerning shared data: the P-Home is personal to each user, but it would be also interesting to host at least the framework-files in a systemwide .ui5 Folder, since we cannot download on demand and would avoid duplicated framework-data for reach user.
For more context, there is also a brief converation on https://blogs.sap.com/2020/04/01/ui5ers-buzz-49-the-ui5-tooling-and-sapui5-the-next-step/comment-page-1/#comment-535938
if my post needs clarification , please let me know, so I can elaborate. best regards! Tim
It would be nice to pass in a custom
ui5HomeDir
that get's picked up byAbstractResolver
.