microsoft / microsoft/vscode-cmake-tools

Long compilation command truncated

Open
#3,575 10 comments 3 reactions 2 assignees Claimed by @hanniavalera View on GitHub
bug Feature: build
Dominant language
TypeScript
Stars
1.7k
Forks
546
Avg merge
2d 16h
Merged PRs (30d)
32

Description

### Brief Issue Summary

I have a C project with compilation database.
The project is very complex and has files with thousands of lines of code.
When running CMake: Compile Active File, the compilation command is spit into the newly created terminal, and below it a shell prompt with the same compilation command but truncated to 4096 (or 4095) characters.
The command fails because it is truncated and gcc cannot find which file to compile (which is.the last argument)
Running on vs code remote with ssh to ubuntu 20.04.

### CMake Tools Diagnostics

_No response_

### Debug Log

_No response_

### Additional Information

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.