Include file questions

I have a couple of general questions about include files.

Wappler only allows the selected section in the App Structure to be transferred to an include file. Is there a technical reason why this is the best approach or is it like this to make it easier to create includes visually, just by using the App Structure panel?

I would find it slightly more convenient if include files were created from the currently selected code rather than the currently-selected selection in App Structure - to make it possible to select more than one section to export to the new file. As it is, I select a single section and then manually add the additional code I want to include. It’s not much of a problem. I just wonder if others have the same issue or if I should approach things differently.

Another matter relating to includes I’m not clear about is the comment section which is prefixed to the exported code (ie the include file). Should this code be updated to reflect changes to the files and components and files it references - either during the current development or in the future? Eg if a different version of jQuery or Fontawesome is used, should any linked include files be updated?

Community Page
Last updated: