Skip to content

Conversation

@kpal81xd
Copy link
Contributor

@kpal81xd kpal81xd commented Jan 9, 2026

Important

Requirements

What's Changed

  • Added a new Editor setting - Code Editor
  • When clicking edit on a text based asset for VSCode and Cursor will now deep link directly to opening the script in the extension

Preview

image

@kpal81xd kpal81xd self-assigned this Jan 9, 2026
@kpal81xd kpal81xd added area: code editor enhancement New feature or request labels Jan 9, 2026
@kpal81xd kpal81xd requested review from Copilot and willeastcott and removed request for willeastcott January 9, 2026 16:07
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds support for external code editor linking, enabling users to open scripts directly in VSCode or Cursor via deep links. Users can now select their preferred code editor from a new setting in the Editor settings panel.

Key changes:

  • Added a new "Code Editor" setting in the Editor settings panel with options for Web, VSCode, and Cursor
  • Modified the code editor picker to detect the selected IDE and generate deep links for VSCode and Cursor
  • Added TypeScript type definitions to the AssetInspector class for improved type safety

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
src/editor/toolbar/toolbar-code-editor.ts Implements deep linking logic for VSCode and Cursor, checking the user's code editor preference and opening the appropriate editor
src/editor/inspector/settings-panels/editor.ts Adds the "Code Editor" dropdown setting with Web, VSCode, and Cursor options
src/editor/inspector/asset.ts Adds TypeScript type definitions to the AssetInspector class and fixes style.flex type issues (number to string)
src/editor/attributes/reference/settings.ts Adds documentation for the new code editor setting reference

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@Maksims
Copy link
Collaborator

Maksims commented Jan 9, 2026

There is also one more case in launcher, if runtime error happens, clicking on script in a bottom panel, will open IDE and highlight the necessary line (with error).

},
{
v: 'vscode',
t: 'VSCode'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
t: 'VSCode'
t: 'VS Code'

@Maksims
Copy link
Collaborator

Maksims commented Jan 23, 2026

Before this is deployed, please test dramatically, and provide some beta access to those users who can test it in real environment. Many attempts of using VSCode/Claudie with Editor, so far were not possible due to bugs and issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: code editor enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants