Kate issueshttps://invent.kde.org/utilities/kate/-/issues2024-02-15T07:25:05Zhttps://invent.kde.org/utilities/kate/-/issues/29kde-devel plugin for kate2024-02-15T07:25:05ZWaqar Ahmedkde-devel plugin for kateThis is a space for discussing how we can provide a better kde development environment to kde contributors. Suggestions are welcome from everyone.
### Goals
- Make it very simple and straightforward to build / run kde stuff
### Idea / ...This is a space for discussing how we can provide a better kde development environment to kde contributors. Suggestions are welcome from everyone.
### Goals
- Make it very simple and straightforward to build / run kde stuff
### Idea / Impl
- Wrap kdesrc-build to automate build / run
- Maybe provide some Qt specifc / KDE docs specific things? (like wrap with QStringLiteral and co.),
...https://invent.kde.org/utilities/kate/-/issues/36[UNB] Use vim / gedit style for jumping on the last line of a file.2022-01-30T13:01:38ZTomaz Canabrava[UNB] Use vim / gedit style for jumping on the last line of a file.vim and gedit uses the `+` key to state "jump to the last line of a file" when opening a document.vim and gedit uses the `+` key to state "jump to the last line of a file" when opening a document.https://invent.kde.org/utilities/kate/-/issues/40Feature Request: Multiple Column Markers2021-09-29T09:27:52Zxi otaFeature Request: Multiple Column MarkersIt would be nice if Kate could show multiple column markers. A screenshot of a different text editor with this ability is attached.
![column-markers](/uploads/504d3eeacafc886158b0949748674801/column-markers.png)It would be nice if Kate could show multiple column markers. A screenshot of a different text editor with this ability is attached.
![column-markers](/uploads/504d3eeacafc886158b0949748674801/column-markers.png)https://invent.kde.org/utilities/kate/-/issues/44LSP Symbol Outline sorting and context menu2022-05-01T20:14:21ZDániel GrószLSP Symbol Outline sorting and context menuIn the LSP Client Symbol Outline,
- Clicking the header toggles between sorting alphabetically and sorting reverse-alphabetically. (Once you click it, there is no way to go back to sorting by occurrence by clicking the header again.)
- I...In the LSP Client Symbol Outline,
- Clicking the header toggles between sorting alphabetically and sorting reverse-alphabetically. (Once you click it, there is no way to go back to sorting by occurrence by clicking the header again.)
- In the context menu, the Sort Alphabetically check box toggles between sorting alphabetically and sorting by occurrence. Its state doesn't track that of the header: if you click on the header to sort alphabetically, the only way to go back to sorting by occurrence is to click the context menu item twice.
More generally, the context menu is not very discoverable; I didn't realize it exists (and can be used to go back to sorting by occurrence) until I was told. Perhaps a toolbar could be used, and/or the header (if it should exist at all) should toggle between sorting by occurrence and alphabetically.
I first reported the problem with being unable to go back to sorting by occurrence at https://bugs.kde.org/show_bug.cgi?id=447653, where I was advised to open an issue here.https://invent.kde.org/utilities/kate/-/issues/45[UNB] Add a search line on the Settings -> Plugins page.2022-01-30T13:04:48ZTomaz Canabrava[UNB] Add a search line on the Settings -> Plugins page.Title says all, we need a Search Line on the Settings -> Plugins page.Title says all, we need a Search Line on the Settings -> Plugins page.https://invent.kde.org/utilities/kate/-/issues/46[UNB] Improve CMake Plugin2022-07-03T18:24:37ZTomaz Canabrava[UNB] Improve CMake PluginThere's a CMake tools plugin for kate already, but it does not takes in consideration Language Server Protocols.
If a user wants to use Kate and develop in C++ - with cmake, the only way that this user can have Code Completion is by tri...There's a CMake tools plugin for kate already, but it does not takes in consideration Language Server Protocols.
If a user wants to use Kate and develop in C++ - with cmake, the only way that this user can have Code Completion is by triggering a cmake command to generate a file named `compile_commands.json`, this is done by the following command line call:
`cmake $build_folder -DEXPORT_COMPILE_COMMANDS=ON`
Initially, the plugin should check for the existence of this file on the build directory, and a button to generate the compile_commands.json file if it does not exist.
The plugin should also copy and keep in sync the compile_commands.json file from the build directory to the source directory, so that the LSP can work.
For:
* Language Server Protocol
* CMake
* Pluginshttps://invent.kde.org/utilities/kate/-/issues/47[UNB] Rework the Script Support2022-01-30T13:18:16ZTomaz Canabrava[UNB] Rework the Script Support- [ ] Split the scripts into single files
- [ ] Add the possibility to load scripts from the a user directory (configurable)
- [ ] Menu entry `Create new script` that will create everything necessary for a new script so the user can star...- [ ] Split the scripts into single files
- [ ] Add the possibility to load scripts from the a user directory (configurable)
- [ ] Menu entry `Create new script` that will create everything necessary for a new script so the user can start developing
- [ ] Add a way to get auto complete for the development of the script
- [ ] Add documentation on how to write the script (what methods are supported)
- [ ] Add a way to download scripts from Get New Stuff
- [ ] Add support for Python scripts via Python for Qthttps://invent.kde.org/utilities/kate/-/issues/54Better icon for Windows 10/112022-11-29T17:18:39ZDaljit SinghBetter icon for Windows 10/11I've noticed that Kate for Windows (downloaded from the Microsoft Store) has a weird task bar icon where it is shown upon on a background box. Instead I think it would be better to have a transparent icon just as on Linux. I recently gai...I've noticed that Kate for Windows (downloaded from the Microsoft Store) has a weird task bar icon where it is shown upon on a background box. Instead I think it would be better to have a transparent icon just as on Linux. I recently gained some experience on packaging Qt applications for Windows and I had the same problem with my application. Now, I'm not sure how Kate's windows version is packaged but I assume it's done by using makeappx.exe. I think a way to solve this is to create an icon set using the Visual Studio Asset generators and then using the makepri.exe tool (https://docs.microsoft.com/en-us/windows/uwp/app-resources/makepri-exe-command-options) to correctly generate the resource file need to get a transparent icon.
A somethat easier way (but weird) would be to use this tool https://pub.dev/packages/msix which is written for Flutter, but works for Qt applications as well.https://invent.kde.org/utilities/kate/-/issues/56[RFC] build plugin proposal for modification2022-03-16T17:24:40Zloh tar[RFC] build plugin proposal for modification### current situation
- The offered preset Target-Set suggest you can build something which is not true
- The offered preset Target-Set is virtually always wrong and give in best cases only a hint what can be set there
- You can't delet...### current situation
- The offered preset Target-Set suggest you can build something which is not true
- The offered preset Target-Set is virtually always wrong and give in best cases only a hint what can be set there
- You can't delete the offered preset Target-Set, well you can, but it comes back on next session start
- In combination with the project plugin you becomes even more confused, what does it mean "Project Plugin Targets", where suddenly come there from?
- Having more than one target-set on some project, in terms of "Project Plugin" vs "Build Plugin", is nonsense. You may have different kind of already configured build types, like "debug or "release"
- When you have created an own project, you can't share the configuration done in the plugin
- When you start to work on some received project, you need to read the shipped manual/README and configure the plugin on your own
- When hacking on KDE stuff, as advised by e.g. https://kate-editor.org/build-it, you will be flooded with targets and you becomes annoyed by the preset Target-Set which often pushes in front
### proposed modifications
The build plugin should:
- Never load or save any configuration from or to a session file besides from current selected stuff
- Git rid of the term "Target Set" in its current form, even if the term is still used here, use "Project File" instead
- Save its configuration inside the project so you can share it
- Not offer any preset Target-Set ("Project File") without user request
- Offer a menu with different blue prints when clicking "Create new set of targets" ("Create Project File")
- Guide the workflow. No "make" when "configure" is needed, but not done
- Create some directory on it's own when it not exist, at least/latest after a user confirmation
- Have a filter field to search for a target when there are too many
- Be able to select more than one target to remove or copy them. "copy" from one "Project File" to another, e.g. from CMake generated into "you own", see below
### possible ways to achieve the goal
If you disregard the many small details, it's all about where, or better how, to save the configuration. Where is no doubt inside the project.
#### 1. we could save it as part of .kateconfig
But I know that Christoph is against that idea. I had made this suggestion in BUG-451238 in a slightly hasty way. In the meanwhile I came to the conclusion that there is a better possibility.
#### 2. we should use .kateproject.local
From [project plugin documentation:](https://docs.kde.org/stable5/en/kate/kate/kate-application-plugin-projects.html)
> In case you have a .kateproject file tracked by a control version system, but you need to tweak the configuration for a particular workspace, you can save those changes to a separated file named .kateproject.local. The content of this file will take precedence over .kateproject.
Once you are ready to publish your new project you can copy .kateproject.local to .kateproject and modify, if needed, it in a way that it will fit in most cases.
This approach results in the need to read and write that JSON file. And here is again Christoph against extra complexity or duplicate functionality, because the project plugin already read that file an feed it to the build plugin.
### conclusion, discussion and personal opinions
To avoid redundant code or "duplicate functionality", it may be necessary to make major changes to the project plugin as well.
Let me a little digress from the topic.
A single usable build plugin is fine, I have done so for years, but a project plugin without a build part?
The current project plugin has many tabs that may useful. But for some of them I can't see a need. We have a already a terminal plugin which works very similar. "Code Index/Analysis" tabs sure, good but never used by me, like the LSP plugin. The "Notes" tab, really? Whats wrong with a simple file used on the main window?
I don't want to trash them but couldn't all these not be stand alone?
I personally asked myself if there is even a need for the "Projects" tab. It's essentially like the Filesystem Browser plugin with enabled "Auto Sync". Sure, not exact but is the small difference worth the effort? I guess the context menu entries can add to the other plugin as well, when the project plugin is active. The upper project chooser looks to me obsolete, switching to some opened file has the same effect. And the branch switcher my better fitting to the Git tab.
Can the Git tab also handle Subversion/Mercurial as stated on the config page? Change then the caption? Ok, now it's going to far with my digressing.
The point is, I think the build plugin should be much more part of the project plugin than other parts of the current project plugin. Especially if it writes the project file as proposed.
Thanks for reading.https://invent.kde.org/utilities/kate/-/issues/67Timeouting tests with Qt 6.22023-08-20T16:05:26ZChristoph Cullmanncullmann@kde.orgTimeouting tests with Qt 6.2Two session manager tests always timeout in the CI:
https://invent.kde.org/utilities/kate/-/jobs/308651
```
5012The following tests FAILED:
5013 9 - kateapp-session_manager_test (Timeout)
5014 10 - kateapp-sessions_action_test (Time...Two session manager tests always timeout in the CI:
https://invent.kde.org/utilities/kate/-/jobs/308651
```
5012The following tests FAILED:
5013 9 - kateapp-session_manager_test (Timeout)
5014 10 - kateapp-sessions_action_test (Timeout)
5015Errors while running CTest
```
I was able to reproduce some issues with message boxes poping up and blocking the stuff
and some segfaults.
I fixed that locally, it works here with Qt 6.2.
But in the CI it still timeouts.
The normal runtime is a few seconds.
@bcooksley => is there any way to get more info where this is hanging?https://invent.kde.org/utilities/kate/-/issues/69Branch checkout dialog, display and filter issue2022-05-03T20:09:56Zloh tarBranch checkout dialog, display and filter issueDoes this works properly?
![branch-checkout-small-png](/uploads/7d2ad00757544ebbbf6d8664c122439d/branch-checkout-small-png.png)
Below in the konsole you see my branches. On the left the dialog show much more, which may useful. On the r...Does this works properly?
![branch-checkout-small-png](/uploads/7d2ad00757544ebbbf6d8664c122439d/branch-checkout-small-png.png)
Below in the konsole you see my branches. On the left the dialog show much more, which may useful. On the right I was looking for my "remember-state" branch. The result looks slightly strange to me. The searched one is there, but hard to find, and many more where I can't see "rem" in the name.
- I would expect to find my "real" branches perhaps without filtering more prominent on top
- Suddenly appears above "Create New Branch From" also branches
Edit: smaller pichttps://invent.kde.org/utilities/kate/-/issues/73Plugins not working in AppImage2022-07-13T22:01:09ZDavid HealeyPlugins not working in AppImageI tried enabling the git and file browser plugins in Kate, I hit apply and ok but when I reopen settings the plugins are unchecked again. This doesn't happen for all plugins, just some of them and only in the app image, installing from t...I tried enabling the git and file browser plugins in Kate, I hit apply and ok but when I reopen settings the plugins are unchecked again. This doesn't happen for all plugins, just some of them and only in the app image, installing from the repo the plugins work.https://invent.kde.org/utilities/kate/-/issues/78Various Windows quirks2023-01-09T18:14:17ZJan BidlerVarious Windows quirksA collection of various Windows quirks with Kate.
So far, everything has been tried on Binary Factory # 1619, unless stated otherwise.
- [ ] The "portable" version (aka the 7zip download) has a smaller icon than the installable version (...A collection of various Windows quirks with Kate.
So far, everything has been tried on Binary Factory # 1619, unless stated otherwise.
- [ ] The "portable" version (aka the 7zip download) has a smaller icon than the installable version (the exe download)
![image](/uploads/00e535e6cfeb4f55efc4bf4305ed8531/image.png)
- [x] Elliding on Windows seems broken. This here is elliding turned on, with a limit on 3 tabs.
![image](/uploads/30d95c5113853591dadbe076f7a4ab17/image.png)
Without elliding:
![image](/uploads/e18007594474f58ed3b8181576243c62/image.png)
- [x] Inactive tab color is too dark:
![image](/uploads/c0f50bb5005ff129b51dec82758ad407/image.png)
It should look like this:
![image](/uploads/cad62838cd57b8d5d889b8b8faf0d06a/image.png)
- [ ] Portable version does not include the same translations:
![image](/uploads/61cf893d44bd6eafdd02b93391641aaf/image.png)
- [ ] Portable version shipping less themes:
![image](/uploads/b1a517620429de85f0e887a0944367cb/image.png) ![image](/uploads/39fb7caafe9b881f69df5c182b29ff50/image.png)
- [ ] The user folder in path title bar is shown as `~` which while technically correct would probably be confusing for some:
![image](/uploads/6cb73030734127a2b481380ddecc4445/image.png)
- [ ] The "Command window"s information icon does not show any info:
![image](/uploads/bfc106cbec32ada152aec2985b6da37a/image.png)
- [ ] The theme editors scroll wheel being locked makes for a very weird experience, as I can't recall anything on Windows that manages to disable a scrollbar. Usually, only fields are disabled.
![image](/uploads/d68fc9a22308ebc0d1fc30c3f678bd6e/image.png)
- [ ] Areas that have tabs and scroll bars, can behave a little weird: Scrolling on the bar, will still lead to the scroll bar being scrolled. I.e, if I hover over "Einrückung" and scroll down, then not only does the view get further down, but I'll also suddenly get transported to the "Autovervollständigung" tab.
![image](/uploads/946cc5207466e09406d80d5f40798cc6/image.png)
- [ ] The "edit with kate" option in the context menu, could use an icon, similar to how other tools do it
![image](/uploads/04ad830d32f886aa6514f50295eb5b17/image.png)https://invent.kde.org/utilities/kate/-/issues/84A New Icon for KWrite2022-07-25T10:56:44ZJohn MaverickA New Icon for KWriteThis probably isn't the right place but everything KWrite sends me to Kate pages, so here it goes:
I think it would be great to have a new icon for KWrite.
The present one is ugly and seems outdated (from my POV, of course).
So i would...This probably isn't the right place but everything KWrite sends me to Kate pages, so here it goes:
I think it would be great to have a new icon for KWrite.
The present one is ugly and seems outdated (from my POV, of course).
So i would like to suggest, as an improvement, the creation of a new icon that better identifies the Software (specially now that it is basically a lite version of Kate)https://invent.kde.org/utilities/kate/-/issues/85Tracker: Welcome Page & Tabbing Behaviour2023-10-24T07:16:23ZEric ArmbrusterTracker: Welcome Page & Tabbing BehaviourThis is a tracker for some of the ideas that have been suggested in !888 and for some of my own ideas regarding tabbing behavior in Kate. Feel free to work on any of them.
## Welcome Page
- [x] Recent Projects !940
- [x] Recent Sessio...This is a tracker for some of the ideas that have been suggested in !888 and for some of my own ideas regarding tabbing behavior in Kate. Feel free to work on any of them.
## Welcome Page
- [x] Recent Projects !940
- [x] Recent Sessions !932
- [x] Improve the welcome page layout (see !888 for suggestions) !932
## Tabbing Behaviour:
- [x] Do not Elide Tab Text is broken: the tab bar can grow too large
- [x] Add detach tab as an action to the tab context menu (see dolphin) !892
- [ ] Allow DnD between windows using the same katemainwindow (probably hard to implement?)
- [ ] Add an action to reopen closed tabs (Ctrl+Shift+T in browsers)
- [ ] Add configure option to open new document inside a new window, e.g. wanted for KWrite
- [ ] Close Other Documents and Close All Documents close all documents in all open windows. This is somewhat unexpected and should be changed only to the current window
cc @cullmann @dhaumann @waqarhttps://invent.kde.org/utilities/kate/-/issues/86Unify Diff View Opening Options2022-10-05T18:27:39ZEric ArmbrusterUnify Diff View Opening OptionsWe have several ways of invoking diff views now, using the new internal diff view (which is great btw!) and external diff views. We should try to offer users a consistent UI experience for using these.
#### Current behavior:
- git tree ...We have several ways of invoking diff views now, using the new internal diff view (which is great btw!) and external diff views. We should try to offer users a consistent UI experience for using these.
#### Current behavior:
- git tree context menu: kdiff3, internal diff view
- compare with active document, compare with active document using
- "View Changes" button when the underlying document changed opens kompare for me, in the code the `diff` command is invoked
#### Suggestion:
Let the user pick which diff tools they want to use (kate internal, kdiff3, kompare, meld, etc) and require them to **specify an order** between the picked ones. Let's say kate internal and kdiff3 are selected, then two actions are provided in all above-mentioned menus: Show Diff and Show Diff in kdiff3
This has probably low priority, just writing down some observations and ideas.https://invent.kde.org/utilities/kate/-/issues/87Suggestions to end the shortcuts shortage2022-10-06T07:23:40ZEric ArmbrusterSuggestions to end the shortcuts shortageKate has since a while a lack of unused shortcuts. As a consequence, when developers add new actions they are often confronted with a difficult choice:
- Reassign existing shortcuts: likely to make some users unhappy which are used to th...Kate has since a while a lack of unused shortcuts. As a consequence, when developers add new actions they are often confronted with a difficult choice:
- Reassign existing shortcuts: likely to make some users unhappy which are used to that shortcut
- Not setting any shortcut: makes the feature less likely to be used, as now the difficult decision to assign a **suitable (unused?)** shortcut has been offloaded to the user
Overall, this leaves important actions without shortcuts in Kate (cursor history forward backwards navigation, many lsp actions such as rename, format, expand, shrink selection, all debug actions...) resulting in a degradation of usability as users need to assign **core** shortcuts first to be able to work efficiently with Kate.
## Why is there a shortage in the first place?
- Kate has many actions
- When a shortcut is set once, it cannot be assigned elsewhere (see Solution Suggestion 2)
- We have assigned a lot of shortcuts for navigating forward and backward in different scenarios
## Solution Suggestion 1 (short-term): A new pseudo meta key (EMacs style shortcuts)
Use Ctrl+\<Key\> as a "meta key", i.e. this meta key combination needs to pressed first before the actual shortcut which follows afterwards. This is known as EMacs style shortcut sequences in Qt https://doc.qt.io/qt-6/qkeysequence.html and already used in at least once place in KDE Plasma, namely the task manager (Enter Edit Mode Alt+D, Alt+S). VS Code also uses this to have more shortcuts that can be assigned (Ctrl+K is the "meta key" there).
As these shortcuts are slow to press, they should not be used for actions that need to be used in quick succession (such as some lsp and debug actions).
## Solution Suggestion 2 (long-term): Conditional Shortcuts
As mentioned above, we cannot reassign shortcuts that are assigned once anywhere else. VS Code defines a condition for each action, **when** its shortcut is active. This allows assigning the same shortcut multiple times. For example, we could assign F2 to LSP Rename if the editor has focus and to Rename Document if Document tools view has focus.
![image](/uploads/625957f5c1fb008cf2dfb0969d083513/image.png)
Essentially, an implementation in KXMLGUI would need to ensure for a given condition there is only one shortcut of a name. Conditions must be exclusively formulated (responsibility of developers) and not changeable, but displayed in the shortcuts dialog. I would recommend making such a system opt-in for applications to introduce this additional complexity only when really needed.https://invent.kde.org/utilities/kate/-/issues/91Improvement suggestions for Inlay Hints2023-10-17T20:25:40ZEric ArmbrusterImprovement suggestions for Inlay Hints- [x] Draw a background box around the inlay hints (vscode/IntelliJ) do this. IMHO, this helps to set off inlay hints from the rest of the code
- [ ] When there are inlay hints for a parameter, and you start erasing the parameter, the in...- [x] Draw a background box around the inlay hints (vscode/IntelliJ) do this. IMHO, this helps to set off inlay hints from the rest of the code
- [ ] When there are inlay hints for a parameter, and you start erasing the parameter, the inlay hint disappears immediately. Optimally, we want this to only happen after the whole parameter is erased.
![before](/uploads/135afd2782eb394911019d7a659ada94/image.png)
![after](/uploads/78107d003971bfd0639622cf5fcf0a68/image.png)
will test more and add to this as I find more over the next time @waqarhttps://invent.kde.org/utilities/kate/-/issues/92Kate Improvements and Suggestions 20232023-12-07T05:34:11ZChristoph Cullmanncullmann@kde.orgKate Improvements and Suggestions 2023This is the meta issue for 2023. Last year's issue can be found [here](https://invent.kde.org/utilities/kate/-/issues/55).
This is a sort of a mega issue where we can just track ideas / suggestions / what to do. Suggestions are welcome ...This is the meta issue for 2023. Last year's issue can be found [here](https://invent.kde.org/utilities/kate/-/issues/55).
This is a sort of a mega issue where we can just track ideas / suggestions / what to do. Suggestions are welcome and everything is open to discussion :)
There is not strict timeline, but I would like for us to have all of these this year (unless someone has an objection about some particular thing).
If you want to work on something and want to discuss, just comment below OR open a separate issue if you feel like it.
## Qt 6 port!!!
In this year the big Qt version jump will happen, we need to ensure that port is as flawless as feasible.
- [x] See if `QRegexp` usage in xmltools / xmlcheck plugins can be replaced with QRegularExpression
- [x] Convert all QMap to std::map
- [x] Convert all QSharedPointer to std::shared_ptr
### Kate/KWrite
- [ ] Add action to re-open last closed tab. [BUG 463269](https://bugs.kde.org/show_bug.cgi?id=463269)
- [x] Make tool view tabs moveable by drag&drop to sort the order. Currently the order depend on load order (or something)
- [ ] Kate should set up a session by default, so all the amazing session-specific features are exposed without the user needing to configure anything. [BUG 402598](https://bugs.kde.org/show_bug.cgi?id=402598)
- [x] Create an app level "Diagnostics" toolview that shows diagnostics from lsp or any other source
- [x] Windows Terminal Support
### LSP
- [ ] Support code lenses. [Example for Haskell language](https://github.com/haskell/haskell-language-server/blob/master/plugins/hls-eval-plugin/README.md)
- [ ] Call/Type Hierachy support
- [ ] Ctrl + W should close a tab in LSP Toolview when it has focus
### Project plugin
- [ ] Add spell checking to commit editor. (Is the extra editor needed? No way to use a tab/page/document like done when click to show a diff?)
- [ ] Projects tab context menu: I can't remove `gitk`, even `More->Configure` suggest I can. When do so the menu is more messed up than before. The Configure page looks scrambled here
- [ ] CMake extra generators will be removed, we need to use the api and auto generate the project: https://cmake.org/cmake/help/latest/generator/Kate.html https://cmake.org/cmake/help/latest/manual/cmake-file-api.7.html#manual:cmake-file-api(7)
### Build plugin
- [ ] Some syntax highlighting for build-output
- [x] Store build/run commands also with projects in stead of only sessions
- [ ] Search and use CMakePresets.json and CMakeUserPresets.json to generate project targets
- [ ] Make it possible to specify the regular expression for finding files and lines in output
- [ ] Copy & Paste command rows in the command tree
### External tools
- [x] Fix rustfmt tool.
### KTextEditor stuff
- [ ] Allow having different colors for "occurrences" and "selection"
- [ ] Do smooth pixel-by-pixel scrolling with touchpads [BUG 378275](https://bugs.kde.org/show_bug.cgi?id=378275)
- [ ] Git based gutter, for git projects
- [ ] Add an action to insert a text file at a cursor position
- [ ] KF6: Allow for context-sensitive keyword list completion, see https://invent.kde.org/utilities/kate/-/issues/92#note_614784
- [ ] KF6: Simplify API by merging applyFolding() and applyFormat(), see https://invent.kde.org/utilities/kate/-/issues/92#note_614784
### Git support
- [x] Show current branch in the statusbar instead of in the project toolview
- [ ] Support Git log?
- [ ] Allow filtering in the File History. Git log can reuse stuff from FileHistory widget
- [ ] Support Git Line History
- [x] Allow jumping to a file from "Commit Tool View"
- [ ] Supporting jumping to the line from git diff
- [ ] For conflicted files, jump to the first conflict on file open from GitWidget
- [x] Fix git diff is scrolled to the end on opening. It should be at the top
- [ ] Async getRepoBasePath method, it doesn't need to block. Maybe something like `getRepoBasePathAndThen(callback)`
- [x] Auto reload git diff on tab activation if diff is from GitWidget or just diffing two docs as the content might have changed and diff might be stale
- [x] Diff should show "No differences found" when diff was empty
- [x] Allow copying commit has from file history
- [x] Allow opening the full commit from file hisotry
### Plugin ideas
- A CMake plugin, which has basic cmake support to load targets and allows some configuration? - Currently Cmake can generate a project for you with all the targets so this may not be necessary.
- A plugin for KDE Development2023-12-31https://invent.kde.org/utilities/kate/-/issues/94Bookmark window2023-01-14T19:22:37ZGrzegorz KrasonBookmark windowThis is a feature request. Using bookmark menu takes too many clicks to be efficient. I believe it would be very handy to have a bookmark window, similar to this from Visual Studio:
![bookmark-window](/uploads/79f89b104883cf88631e37bfce...This is a feature request. Using bookmark menu takes too many clicks to be efficient. I believe it would be very handy to have a bookmark window, similar to this from Visual Studio:
![bookmark-window](/uploads/79f89b104883cf88631e37bfceb8b1fb/bookmark-window.png)
Also it may be worth to save bookmarks into a file that can be stored next to the project.https://invent.kde.org/utilities/kate/-/issues/95when add a new externaltool then restart kate the default externaltool will lose2023-05-24T07:16:42Zfeatherfly yufeiwhen add a new externaltool then restart kate the default externaltool will lose<p>version: kate-22.12.2-1936-windows-cl-msvc2019-x86_64.exe
<p>os: win11 22h2 x64
<p>when add a new external tool then restart kate the default externaltool will lose
<p>delete %USERPROFILE%\AppData\Local\kate and edit %USERPROFILE%\Ap...<p>version: kate-22.12.2-1936-windows-cl-msvc2019-x86_64.exe
<p>os: win11 22h2 x64
<p>when add a new external tool then restart kate the default externaltool will lose
<p>delete %USERPROFILE%\AppData\Local\kate and edit %USERPROFILE%\AppData\Local\kate-externaltoolspluginrc change firststart=true
<p>then restart kate, the default externaltool come backhttps://invent.kde.org/utilities/kate/-/issues/111Shrink-selection - Expand-selection state tracking2023-09-25T16:32:36ZKarthik NishanthShrink-selection - Expand-selection state trackingCurrently, lspclient: expandSelection -> shrinkSelection places the cursor at the end of the token. This is not intuitive (and probably unexpected). Similarly expandSelection -> expandSelection -> shrinkSelection resets the selection alt...Currently, lspclient: expandSelection -> shrinkSelection places the cursor at the end of the token. This is not intuitive (and probably unexpected). Similarly expandSelection -> expandSelection -> shrinkSelection resets the selection altogether instead of backtracking once. Has there been any ideas floating around to address this? I find this feature - the stateful selection expansion/shrinking - immensely useful in CLion and other IntelliJ based IDEs.
I made this thread to gather your (Kate devs) thoughts before I take a shot at the implementation. What do you think @cullmann @waqar?https://invent.kde.org/utilities/kate/-/issues/115Possible funding option: sovereign tech fund2023-11-24T18:31:37ZEric ArmbrusterPossible funding option: sovereign tech fundI want to draw attention to the Gnome foundation receiving 1 million euros in funding "to modernize the platform, improve tooling and accessibility, and support features that are in the public interest" [1]
KDE e.V. should IMHO also exp...I want to draw attention to the Gnome foundation receiving 1 million euros in funding "to modernize the platform, improve tooling and accessibility, and support features that are in the public interest" [1]
KDE e.V. should IMHO also explore further funding options besides donations and consider applying to the [STF](https://www.sovereigntechfund.de/) fund. Aside from applying to general funding, another option is for Kate developers to apply for "STF Contribute Back Challenges" under which the category "Improve FOSS Developer Tooling". Kate developers could for instance work on improving the integration with KDE developer tooling. I have some ideas for that.
Disclaimer: I have not yet looked at this in detail. Also, the fund seems to be at least partially supported by the German Federal Ministry for Economic Affairs and Climate Action and the german government currently has some [budget issues](https://www.reuters.com/markets/europe/pressure-mounts-german-government-find-way-out-budget-hole-2023-11-22/) :sweat_smile:. I do not know what this means for the fund.
Is there a group of people working on funding for KDE? I think @niccolove is somehow a bit involved.
ccing some people that might be interested in this @ngraham @cullmann @waqar @nicolasfella
[1] https://foundation.gnome.org/2023/11/09/gnome-recognized-as-public-interest-infrastructure/https://invent.kde.org/utilities/kate/-/issues/118Auto session save break cursor position saving and other view/doc specific st...2024-03-22T21:54:52ZWaqar AhmedAuto session save break cursor position saving and other view/doc specific stuff duSteps to reproduce:
- Open a file and set your cursor to a specific position
- Close the file
- Wait 5 seconds or so (auto save timer wait)
- Reopen the file. Cursor is now at the top again
The problem happens here: `KateSessionManager:...Steps to reproduce:
- Open a file and set your cursor to a specific position
- Close the file
- Wait 5 seconds or so (auto save timer wait)
- Reopen the file. Cursor is now at the top again
The problem happens here: `KateSessionManager::saveSessionTo(KConfig *sc)`. It deletes _all_ `[Viewspace 0 file://xyz]` entries (and more) because it thinks they are useless.
The logic seems bogus if we take autosaving into consideration, thus I think we need something better here.
related bug https://bugs.kde.org/show_bug.cgi?id=482018