Add config() Go to Definition support to VS Code extension

Always include params in window.rsxapp to reduce state variations
Add request params to window.rsxapp global
Enhance module creation commands with clear nomenclature guidance
Add module/submodule/feature nomenclature clarification to docs

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
root
2025-10-30 19:13:57 +00:00
parent 8c8fb8e902
commit ac082bce2a
15 changed files with 546 additions and 16 deletions

View File

@@ -22,7 +22,7 @@ class Submodule_Feature_Create_Command extends Command
*
* @var string
*/
protected $description = 'Create a new feature within an RSX submodule';
protected $description = 'Create a feature (CRUD page group) within a submodule';
/**
* Execute the console command.
@@ -54,14 +54,24 @@ class Submodule_Feature_Create_Command extends Command
// Check if module exists
$module_path = base_path("rsx/app/{$module_name}");
if (!is_dir($module_path)) {
$this->error("Module '{$module_name}' does not exist. Create it first with: php artisan rsx:app:module:create {$module_name}");
$this->error("Module '{$module_name}' does not exist.");
$this->line('');
$this->line('Create the module first:');
$this->info(" php artisan rsx:app:module:create {$module_name}");
return 1;
}
// Check if submodule exists
$submodule_path = "{$module_path}/{$submodule_name}";
if (!is_dir($submodule_path)) {
$this->error("Submodule '{$submodule_name}' does not exist. Create it first with: php artisan rsx:app:submodule:create {$module_name} {$submodule_name}");
$this->error("Submodule '{$submodule_name}' does not exist in module '{$module_name}'.");
$this->line('');
$this->line('NOMENCLATURE:');
$this->line(' Submodule = Page group with own layout within a module');
$this->line(' Feature = CRUD page group within a submodule');
$this->line('');
$this->line('Create the submodule first:');
$this->info(" php artisan rsx:app:submodule:create {$module_name} {$submodule_name}");
return 1;
}