| Summary: | Tools > Scripts > Quick Coding: supposed usage? | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | Gregor Mi <codestruct> |
| Component: | scripting | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | minor | CC: | christoph, justin.zobel |
| Priority: | NOR | ||
| Version First Reported In: | 18.12.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/frameworks/ktexteditor/commit/3346a05c277c63b6e39dd27d991db27faccdb0cf | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Gregor Mi
2019-01-13 00:10:16 UTC
In ktexteditor.git, I can find in the code this comment:
* construct abbreviation object
* e.g. for c#n:Test#p:Parent => { "n" => "Test", "p" => "Parent" }
Testing this with highlighting C++: c#n:Point <Ctrl>+<Alt>+# indeed expands to the class defined in ktexteditor/src/script/data/files/quickcoding/cpp/c.template
Some years ago this was added, mostly as test. It still works, but never left the testing stage. It probably lacks a proper UI, and I think this should rather be a plugin (like external tools etc...).
I agree this should likely just be a plugin addon. That can just be removed, was never documented nor finalized by me. Git commit 3346a05c277c63b6e39dd27d991db27faccdb0cf by Christoph Cullmann. Committed on 07/05/2022 at 18:44. Pushed by cullmann into branch 'master'. remove never finished quick coding was never documented nor finalized D +0 -168 src/script/data/commands/quickcoding.js D +0 -17 src/script/data/files/quickcoding/cpp/a.template D +0 -16 src/script/data/files/quickcoding/cpp/c.template https://invent.kde.org/frameworks/ktexteditor/commit/3346a05c277c63b6e39dd27d991db27faccdb0cf |