PhaserEditor2D-v3
PhaserEditor2D-v3 copied to clipboard
Open with VSCode
Hello,
It will be cool if we could open .ts or .js file with VS Code. With a double click or with the context menu.
Ok.
For now you can open vscode in the current project Ctrl+Alt+U. Or open the current scene's js/ts code with Ctrl+Alt+E.
Will work on implementing opening with system's default text editor.
Will work on implementing opening with system's default text editor.
Well, not the system's default text editor, else VS Code.
Will work on implementing opening with system's default text editor.
Well, not the system's default text editor, else VS Code.
Does this mean the only external editor is VSCode?
Hi @aunpyz
I can provide the two options, the system text editor and vs code. For now vs code goes first because it is the code editor we better support.
Done.
Now you have two commands for enabling/disabling to open coding files in the configured external editor:
The coding files are: .js
, .ts
, .html
, .css
.
You can configure the external editor. By default, it is Visual Studio Code, so probably you don't need to configure another external editor.
Look the -external-editor-command
server option: https://help-v3.phasereditor2d.com/misc/server-options.html