SUMMARY The "Build" plugin got recently somewhat modified UI and functionality and I have few minor notes about it: + the Help is now out of date (for example what's the difference between "Session" vs "Project" target sets?) + I was unable to find the variable placeholders for commands and working dirs. Reading the Kate source code I found there are %B, %b for working dir and %f, %n, %d for commands, but I remember it somewhere mentioned few years back, because I was aware of these. This would be nice to have at least in the Help, if not in some hint popup. + second column is now labeled "Working Directory / Command" - again it took me couple of experiments and look into source code to realize the original intent of the new UI to have build and run commands. I would suggest to modify label to "Build Command / Working Directory" to make it more prominent and match the third column "Run Command" label better. + second column values offer "Insert path" button which makes sense for working dir, could be useful but also confuse for build commands and it's missing for run commands (where it could help similarly to build commands, inserting actual paths by picker) + IIRC I had pristine Kate config (not migrated/upgraded this time, fresh reinstall of Neon) and the Build plugin by default had no examples of build commands, at least adding new target did add some cmake+ninja example.
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kate/-/merge_requests/1693
Git commit e729fd0a08f8b5460b6c08addb75748ee615b285 by Kåre Särs. Committed on 14/01/2025 at 06:28. Pushed by sars into branch 'master'. Update the build plugin documentation Add "insert path" also to "Run Command" M +8 -8 addons/katebuild-plugin/TargetHtmlDelegate.cpp M +1 -1 addons/katebuild-plugin/TargetModel.cpp M +1 -0 addons/katebuild-plugin/UrlInserter.h M +- -- doc/kate/build-output.png A +- -- doc/kate/media-playback-start-22.png M +83 -55 doc/kate/plugins.docbook A +- -- doc/kate/run-build-22.png https://invent.kde.org/utilities/kate/-/commit/e729fd0a08f8b5460b6c08addb75748ee615b285