Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Make it possible to quickly jump to the (per-project - #1517) compilation buffer if there's already one. I mention #1517 because this becomes even more useful with that, as there may be many compilation buffers to select between otherwise.
A complication here is if you have a running
projectile-test-project, then you try to useprojectile-run-projectto switch to it ... they're different commands, so the "raise" might be confusing. Not sure what the right solution is -- maybe have distinct compilation buffers for each "type" of compilation, or maybe check the top of the compilation buffer, if it's not the same command as would be run otherwise, then ask if you want to switch or run the new command?Expected behavior
C-c p cswitches to the compilation buffer if there is one (where I can hitgif it's not running), otherwise it starts a new compilation process in a new bufferActual behavior
When there's already a running compilation process,
C-c p csays "A compilation process is running; kill it?"Steps to reproduce the problem
Type
C-c p cwhile a compilation is running.Environment & Version information
Projectile version information
Projectile 20191216.2105
Emacs version
GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.13)
Operating system
NixOS 20.03