microsoft / microsoft/vscode-cmake-tools

Use "OUTPUT" for the "Compile Active File" task

Open
#4,012 13 comments 0 reactions 0 assignees View on GitHub
enhancement Feature: build
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Feature Request

Could you change the "Compile Active File" task (the button at the top-right of the opened C++ file) to report the g++ output to the OUTPUT tab rather than to TERMINAL?

The reason is because it is inconvenient to navigate upon the errors and warnings inside the TERMINAL tab. Home and End buttons actually move the cursor to the begin/end of the command line at the bottom of the tab rather than scroll the compilation output top/down. And PgUp/PgDown also do not scroll up/down.

PS. Previously I posted this issue to [VS Code](https://github.com/microsoft/vscode/issues/225974). They say it has to be moved here. Please excuse me if that is the wrong place again. I just do not know which plugin created the "Compile Active File" button.

Contributor guide

Open the contributing guide

Research direction

Start by locating the implementation of the "Compile Active File" task and how it selects the TERMINAL tab in CMake Tools. Compare that path with the OUTPUT tab integration and verify the task's g++ diagnostics can be navigated there. Done means compilation output appears in OUTPUT instead of TERMINAL while the task remains usable from the opened C++ file.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp, typescript
Domain
build-system, developer-experience
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.