Features
- Organizes AL files inside src
- Folders per object type (tables, pages, codeunits, reports, queries, enums, interfaces, xmlports)
- Fast keyword-based detection, no heavy parsing
- Async operations with VS Code APIs; handles locked files
Usage
- Open your AL workspace in VS Code
- Press Ctrl + Shift + P
- Run AL: Organize Project Structure
- Files are moved into folders under src
Performance
- Uses
workspace.findFiles to scan quickly
- Detects type from filename or first non-comment keyword
- Batches directory creation and moves
- Keeps the extension stateless; avoids touching outside src
Extensibility
- Configurable folder mapping via settings (future)
- Dry-run preview before moving files
- Custom include/exclude globs