Skip to content

TS server initialization and saving changes after organizeImports#14

Merged
unbrokenclayman merged 3 commits intomainfrom
organize-import
Dec 4, 2025
Merged

TS server initialization and saving changes after organizeImports#14
unbrokenclayman merged 3 commits intomainfrom
organize-import

Conversation

@unbrokenclayman
Copy link
Collaborator

No description provided.

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 addresses TypeScript server initialization timing and implements automatic saving of documents after the organizeImports command is executed. The changes ensure that when imports are organized in newly created screen files, the modifications are automatically saved to disk.

  • Adds TypeScript server restart on extension initialization to ensure proper language service availability
  • Implements event-driven auto-save mechanism after organizing imports in scaffolded files
  • Standardizes the import organization command string literal format

Reviewed changes

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

File Description
acumate-plugin/src/extension.ts Adds TypeScript server restart command during extension initialization
acumate-plugin/src/scaffolding/create-screen/create-screen.ts Implements document change event handler to auto-save after organizing imports
acumate-plugin/src/scaffolding/create-screen-extension/create-screen-extension.ts Implements document change event handler to auto-save after organizing imports

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

unbrokenclayman and others added 2 commits December 4, 2025 14:24
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
…screen-extension.ts

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@unbrokenclayman unbrokenclayman merged commit 71a2395 into main Dec 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Random] Sometime unnecessary import are not removed

3 participants