We are looking for a way (not by cloning the AL project in a 'Simple App Project' and 'Complex App+Test' template) to add a conditional parameter (true/false, e.g. 'Include Test App') to the 'NAB: Create AL Project' so we can remove code based on a condition (similar to #pragma directives, but really remove the code)
Describe the solution you'd like
If we would be able to add a region start / end marker in files
Is your feature request related to a problem? Please describe.
Our template contains following boiler plate (app.json)
We are looking for a way (not by cloning the AL project in a 'Simple App Project' and 'Complex App+Test' template) to add a conditional parameter (true/false, e.g. 'Include Test App') to the 'NAB: Create AL Project' so we can remove code based on a condition (similar to #pragma directives, but really remove the code)
Describe the solution you'd like If we would be able to add a region start / end marker in files
#region [placeholdername]
#endregion [placeholdername]
[#region [placeholdername]]
[#endregion [placeholdername]]
[#NABALTOOLS START [placeholdername]]
[#NABALTOOLS END [placeholdername]]
The NAB AL Create Project could test if the [placeholdername] is true or false.
Describe alternatives you've considered
Manually cleaning up all references to test for (proxy / listing) apps that don't really require a test app.
PS: Still looking on how I could use this 'Include Test' app parameter to then remove redundant files as well in a later stage.