Skip to content

vtsls "Always update imports" option is not persisted #35930

@dariodjuric

Description

@dariodjuric

Summary

When renaming TypeScript files, the "Always" option in the vtsls popup to rename imports is not persisted.

Description

Steps to reproduce:

  1. Open a TypeScript project
  2. Rename a TypeScript file
  3. Choose "Always" in the vtsls popup to rename imports
  4. Close the project
  5. Open the project again and do another rename. You will again get asked whether to rename imports.

Expected Behavior: The "Always" option should be persisted on the editor-level.
Actual Behavior: The "Always" option seems to persist only for the duration of the session, while the project is open.

This is the Zed log, if relevant:

2025-08-09T19:31:48+02:00 INFO  [lsp] Language server with id 3 sent unhandled notification eslint/status:
{
  "uri": "file:///Users/dario/Projects/myproject/hooks/use-model2.ts",
  "state": 1,
  "validationTime": 9
}
2025-08-09T19:31:50+02:00 INFO  [lsp] Language server with id 3 sent unhandled notification eslint/status:
{
  "uri": "file:///Users/dario/Projects/myproject/hooks/use-model.ts",
  "state": 1,
  "validationTime": 9
}
2025-08-09T19:35:51+02:00 INFO  [db] Opening database /Users/dario/Library/Application Support/Zed/db/0-stable/db.sqlite

Zed Version and System Specs

Zed: v0.198.5 (Zed)
OS: macOS 15.6.0
Memory: 24 GiB
Architecture: aarch64

Metadata

Metadata

Assignees

Labels

area:language serverAn umbrella label for all language serversarea:languagesAn umbrella label for all programming languages syntax behaviorsarea:languages/typescriptTypeScript programming language supportfrequency:uncommonBugs that happen for a small subset of users, special configurations, rare circumstances, etcpriority:P3Papercuts, minor issues with a clear workaround, cosmetic bugs

Type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions