microsoft / microsoft/vscode-cmake-tools

Improve the UI/UX of the Multi-Root Workspace Project Outline Pane

Open
#1,362 11 comments 0 reactions 0 assignees View on GitHub
enhancement Feature: Project Outline View stale-exempt
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

This is just a slight UI/UX improvement request.

### Brief Issue Summary

I'm using a multi-root workspace SSH'd into a remote VM. The CMake Project Outline pane shows full paths even though they all start with the same string - `/home/vagrant/mercury`. Here's what it looks like:

![image](https://user-images.githubusercontent.com/12706574/87182142-8edbf080-c2b1-11ea-88dc-6aca4d675c82.png)

### Expected:

If all the multi-root workspace paths start with the same prefix (EG: `/home/vagrant/mercury`), then get rid of that prefix. This would make the pane easier to read.

### Apparent Behavior:

N/A

### CMake Tools Log

N/A

### Developer Tools Log

N/A

### Platform and Versions

- **Operating System**: Win10 VSCode SSH-Remoted into an Ubuntu 20.04 VM
- **CMake Version**: 3.16.3
- **VSCode Version**: 1.46.1
- **CMake Tools Extension Version**: 1.4.1
- **Compiler/Toolchain**: Several. Hence the multi-root workspace.

### Other Notes/Information

N/A

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the CMake Project Outline pane in a multi-root workspace whose folders share a common path prefix, using the described VS Code SSH setup as context. Trace the outline pane entry point in the repository and check existing UI tests, if present. Done means the shared prefix is omitted while distinct path portions remain readable.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, typescript, vscode
Domain
developer-experience, frontend, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.