Choose the studio editor: VSCode, Zed or none

Port v3e's studio.editor setting. StudioEditorLauncher opens packs and pack
files in the chosen editor: VSCode through the desktop, Zed as its own
process on the pack folder. ZedProjectSettings keeps the pack's
.zed/settings.json schema mappings in step with the code workspace.
studio.editor replaces studio.openVSCode, with no legacy bridge.

`iris studio editor` (aliases vscode, vsc), `iris edit`, the modded edit
and workspace commands and the studio app's "Open biome file" all go
through the launcher. The bridge now says which editor opened the file,
or why none could.
This commit is contained in:
piexel committed 2026-11-06 05:31:17 +01:00
1 parent 9c39c564be
commit eb2ac206b1
40 files changed
+686 -256

No files matched your search

+6 -7
View File
@@ -106,15 +106,14 @@
"iris.bukkit.commandedit.no_studio_world_is_open": "§cNo studio world is open!",
"iris.bukkit.commandedit.you_must_be_studio_world": "§cYou must be in a studio world!",
"iris.bukkit.commandedit.cannot_open_files_headless_environments": "§cCannot open files in headless environments!",
"iris.bukkit.commandedit.desktop_is_not_supported_by_this_environment": "§cDesktop is not supported by this environment!",
"iris.bukkit.commandedit.no_editor_set": "§cNo studio editor is set. Set studio.editor in the Iris settings.",
"iris.bukkit.commandedit.could_not_open_editor": "§cCould not open {editor}. See the server console.",
"iris.bukkit.commandedit.cannot_find_file_perhaps_it_was_not_loaded_directly_from": "§6Cannot find the file; Perhaps it was not loaded directly from a file?",
"iris.bukkit.commandedit.opening_vscode": "§aOpening {value} {value2} in VSCode! ",
"iris.bukkit.commandedit.opening_in_editor": "§aOpening {value} {value2} in {editor}! ",
"iris.bukkit.commandedit.cant_find_file_registrant_does_not_exist": "§cCant find the file. Or registrant does not exist",
"iris.bukkit.commandedit.cannot_find_file_perhaps_it_was_not_loaded_directly_from_2": "§6Cannot find the file; Perhaps it was not loaded directly from a file?",
"iris.bukkit.commandedit.opening_vscode_2": "§aOpening {value} {value2} in VSCode! ",
"iris.bukkit.commandedit.cant_find_file_registrant_does_not_exist_2": "§cCant find the file. Or registrant does not exist",
"iris.bukkit.commandedit.cannot_find_file_perhaps_it_was_not_loaded_directly_from_3": "§6Cannot find the file; Perhaps it was not loaded directly from a file?",
"iris.bukkit.commandedit.opening_vscode_3": "§aOpening {value} {value2} in VSCode! ",
"iris.bukkit.commandedit.cant_find_file_registrant_does_not_exist_3": "§cCant find the file. Or registrant does not exist",
"iris.bukkit.commandfind.not_iris_world_5": "§6Not in an Iris World!",
"iris.bukkit.commandfind.not_iris_world_2": "§6Not in an Iris World!",
@@ -233,7 +232,7 @@
"iris.bukkit.commandstudio.opening_studio_pack_seed": "§aOpening studio for the \"{value}\" pack (seed: {seed})",
"iris.bukkit.commandstudio.provide_dimension_pack_iris_std_importvanilla_pack_dimension": "§cProvide a dimension pack: /iris std importvanilla pack=<dimension>",
"iris.bukkit.commandstudio.could_not_resolve_pack_dimension": "§cCould not resolve the pack for dimension {value}",
"iris.bukkit.commandstudio.opening_vscode_pack": "§aOpening VSCode for the \"{value}\" pack",
"iris.bukkit.commandstudio.opening_editor_pack": "§aOpening {editor} for the \"{value}\" pack",
"iris.bukkit.commandstudio.pack_has_version": "§aThe \"{value}\" pack has version: {value2}",
"iris.bukkit.commandstudio.opening_image_map_studio": "§aOpening the Image Map Studio.",
"iris.bukkit.commandstudio.cannot_add_items_virtual_inventory_because": "§cCannot add items to virtual inventory because of: {value}",
@@ -759,8 +758,8 @@
"iris.director.commandstudio.param.dimension_pack_import_vanilla_content_into": "The dimension pack to import vanilla content into",
"iris.director.commandstudio.param.how_many_variants_capture_per_tree_object_feature": "How many variants to capture per tree/object feature",
"iris.director.commandstudio.param.also_import_vanilla_datapack_structures_jigsaw_into_pack": "Also import vanilla & datapack structures/jigsaw into the pack",
"iris.director.commandstudio.director.open_vscode_dimension": "Open VSCode for a dimension",
"iris.director.commandstudio.param.dimension_open_vscode": "The dimension to open VSCode for",
"iris.director.commandstudio.director.open_editor_dimension": "Open VSCode/Zed for a dimension",
"iris.director.commandstudio.param.dimension_open_editor": "The dimension to open VSCode/Zed for",
"iris.director.commandstudio.director.close_open_studio_project": "Close an open studio project",
"iris.director.commandstudio.director.toggle_your_studio_debug_scoreboard": "Toggle your Studio debug scoreboard",
"iris.director.commandstudio.director.create_new_studio_project": "Create a new studio project",