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

Help! Prevent Delphi modifying its DPK unexpectedly #13

Open
giorgiobazzo opened this issue Jan 5, 2022 · 0 comments
Open

Help! Prevent Delphi modifying its DPK unexpectedly #13

giorgiobazzo opened this issue Jan 5, 2022 · 0 comments

Comments

@giorgiobazzo
Copy link

Hi Andreas,

I would like to know if you know any solutions to prevent the IDE from removing INCLUDE directives from .dpk or .dpr files. I have a specific situation where I need to use something like {$INCLUDE units.inc} right above "end." in the .dpk file. The units.inc file has the entire definition of the "contains" clause, so instead of declaring the "contains" and the units directly in the .dpk file, I would like to use an .inc file.
This even works for me. The big problem with this is, every time the project makes any changes to its options, through the menu: Project / Options, the IDE reformats the entire .dpk file, and removes all $INCLUDE directives, which forces me to redo it them.

As you've already done an excellent job with DDevExtensions and IDE Fix Pack, I believe you might know something along these lines.

Any chance that DDevExtensions has an option for this? :)

Grateful for the attention!

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

1 participant