Shatur / neovim-cmake

CMake integration for Neovim
GNU General Public License v3.0
87 stars 19 forks source link

Add the ability to run program in built-in terminal #33

Open Civitasv opened 2 years ago

Civitasv commented 2 years ago

Description

My C++ code includes cin, which need some input value, but I can't input in the CMake window. It simply cannot make changes.

Steps to reproduce

Below is a very simple example, it wants a input value, but I can't make any changes.

image

Shatur commented 2 years ago

You can't input data into a quickfix window, it not possible. You need to run your program directly in terminal.

Civitasv commented 2 years ago

I see, but it's easier if I can directly run or debug my program after building.

Shatur commented 2 years ago

The only option is to run it in :terminal or any other terminal helper. We probably could add a feature for it.

Civitasv commented 2 years ago

Will appreciate it!