posit-dev / posit-dev/positron

Workspace files in Positron should be named `[workspace].positron-workspace`

Open
#7,729 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
4.3k
Forks
184
Avg merge
1d 11h
Merged PRs (30d)
206

Description

Description

Currently in Positron, Workspace files are named [workspace].code-workspace. This conflicts with Visual Studio Code and, if you open one of them, it will open in Visual Studio Code instead of Positron. Positron should name its workspace files [workspace].positron-workspace and become the handler for that file type to avoid this conflict.

System details:

Positron and OS details:

Positron Version: 2025.05.0 (Universal) build 142
Code - OSS Version: 1.99.0
Commit: 17df8dd67df471d39688fc6cd02e3f23543b4d72
Date: 2025-05-05T15:42:05.662Z
Electron: 34.3.2
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Darwin arm64 24.5.0

Interpreter details:

Any interpreter.

Describe the issue:

Steps to reproduce the issue:

  1. With Visual Studio Code and Positron installed on your system, save a Workspace file using File -> Save Workspace As.
  2. Close Positron.
  3. Find your recently-created workspace file (in Finder or File Explorer) and double click it to open it.
  4. The workspace will open in Visual Studio Code instead of Positron.

Expected or desired behavior:

The workspace should be opened in Positron.

Were there any error messages in the UI, Output panel, or Developer Tools console?

Negative, Ghost Rider.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with File → Save Workspace As and the desktop file-association and external-opening configuration; trace how workspace filenames and double-click opens are handled. Done means saved files use the .positron-workspace suffix and open in Positron rather than Visual Studio Code.

Written by the indexing model from the issue text.

Assessment

Tech stack
electron, typescript
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.