https://bugs.kde.org/show_bug.cgi?id=497266
--- Comment #5 from Waqar Ahmed <waqar....@gmail.com> --- > would adding a script add it to the "Plugins" list in Kate? In a quick local > test it seems not. No. Scripts are limited to the current document. You execute them in the command bar (F7) or via shortcuts or via menu actions. I think the docs cover this. Some example built in scripts: https://invent.kde.org/frameworks/ktexteditor/-/blob/master/src/script/data/commands/utils.js You can find some of them if you right click and check the "Editing" submenu and others inside Tools->Scripts main menu. > As for what I'd personally like: I'd like to get my Python development > workflow going. For that Kate needs to support Python's virtual environments > (so it automatically opens the terminal with it activated and runs additional > commands inside that virtualenv) So I think this would be possible within our current scripting framework with some extra work. Some things need to be exposed. I mentioned earlier that a script is limited to a document, this is true but it can access other commands exposed by kate c++ plugins, see view.executeCommand. So, to do something like what you want, the "project plugin" can expose commands that allow you to execute stuff in the terminal. > and some additionals tools like the Ruff formatter. To me this seemed like > good reasons to build a plugin. Ruff formatter is available in the formatting plugin already if you would like to use it. -- You are receiving this mail because: You are watching all bug changes.