Update vscode-rojo submodule reference and complete migration plan for path encoding

- Updated the vscode-rojo submodule to the latest commit.
- Marked all phases of the path encoding migration plan as completed, transitioning to a slugify and deduplication approach.
- Updated documentation to reflect changes in filename handling and metadata management.
This commit is contained in:
Joe 2026-02-10 03:14:18 -06:00
parent 0955e38b45
commit 126c8e66a4
77 changed files with 3512 additions and 799 deletions

View file

@ -210,10 +210,12 @@ snapshot.with_new_path(path, new_ref, old_ref)
```
**Filename generation** (`file_names.rs`):
- Uses instance name
- Slugifies instance name (`slugify_name()`: forbidden chars → `_`)
- Deduplicates against taken names (`deduplicate_name()`: appends `~1`, `~2`, etc.)
- Adds appropriate extension based on middleware
- Encodes Windows-invalid chars if enabled
- Stores real name in `.meta.json5` `name` field when slug differs
- Example: `Script` named "My Script" → `My Script.server.luau`
- Example: `Script` named "Hey/Bro" → `Hey_Bro.server.luau` + meta with `name: "Hey/Bro"`
### Property Filtering
@ -378,7 +380,7 @@ Filesystem:
- Solution: Use clean mode
2. **Invalid filename** - Instance name contains invalid chars
- Solution: Enable `decodeWindowsInvalidChars` or rename in Studio
- Solution: Handled automatically by `slugify_name()` + metadata `name` field
3. **Ref to pruned instance** - Property points to instance not in project
- Logged as warning, property not synced