Open ti-jalopez opened 1 year ago
Hi, we use the following way to group API pages:
// in .vscode/settings.json or your.code-workspace
"explorer.fileNesting.enabled": true,
"explorer.fileNesting.expand": false,
"explorer.fileNesting.patterns": {
"*.report.al": "$(capture).report.rdl, $(capture).report.docx, $(capture).report.xlsx",
"*.reportext.al": "$(capture).reportext.rdl, $(capture).reportext.docx, $(capture).reportext.xlsx",
"_APIPageContainer.txt": "API*.Page.al", // <------------------
"_APIQueryContainer.txt": "API*.Query.al", // <------------------
},
So if you create a file named _APIPageContainer.txt in pages folder all pages starting with API will appear to be under _APIPageContainer.txt.
This only works in inside VS Code though.
Nowadays it is quite common to create API pages. It would be nice to use a folder for the APIs, instead of using the Page folder.
Perhaps a parameter can be added to indicate if a different folder is used for the APIs, using the default API as a folder name.
Best regards,