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

Load a specific system-objecttype-extensions.xml #306

Open
carey opened this issue Dec 14, 2021 · 2 comments
Open

Load a specific system-objecttype-extensions.xml #306

carey opened this issue Dec 14, 2021 · 2 comments

Comments

@carey
Copy link

carey commented Dec 14, 2021

Is your feature request related to a problem? Please describe.

Code assistance using the generated system-objecttype-extensions.d.ts works well, except that we have a couple of LINK cartridges imported into our workspace, and one of them gets used instead of our own system object XML.

Describe the solution you'd like

I'd like to be able to pick up a specific system-objecttype-extensions.xml file, or multiple files, so that all our custom properties are present when editing code. This could be though configuration, or just by knowing where to put our file so that it gets picked up before external LINK cartridges.

Describe alternatives you've considered

We could delete the other XML files, but we're using Git submodules in some cases so this is a lot of work, and we'd prefer not to modify the upstream code at all.

@SqrTT
Copy link
Owner

SqrTT commented Dec 14, 2021

Hi @carey
Another options is to add extra files into files.exclude list in for VSCode or rename extra system-objecttype-extensions.xml to different name, for instance system-objecttype-extensions-example.xml

Introducing another configuration may confuse users of prophet (even at this moment amount of configs confuses people)

@carey
Copy link
Author

carey commented Dec 14, 2021

Thanks, using files.exclude for files that I can’t delete or rename for any reason is the workaround I need for now.

It would be nice to have a way to know which file is used when there a multiple ones, in the future, even if it's just the first one alphabetically and I can name my folders correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants