Summary: | Provide basic Text Editing Options via GUI/Plugins | ||
---|---|---|---|
Product: | [Applications] kate | Reporter: | rbharathkumar <rbharathkumar19> |
Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | christoph, nate, waqar.17a |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
notepad_plus_plus - Line Operations Options
notepad_plus_plus_trim_options notepad_plus_plus_matched_count_search_mode kate - tools - scripts - editing |
Description
rbharathkumar
2022-03-12 17:06:49 UTC
Hi, these options are already available. Check the "Edit" menu and the "Tools->Scripts" menu. The menu actions can be assigned shortcuts or they can be added to the toolbar for quick access. They can also be executed via the command bar (Ctrl + Alt + I). Created attachment 147700 [details]
notepad_plus_plus - Line Operations Options
Created attachment 147701 [details]
notepad_plus_plus_trim_options
Created attachment 147702 [details]
notepad_plus_plus_matched_count_search_mode
Created attachment 147703 [details]
kate - tools - scripts - editing
(In reply to Waqar Ahmed from comment #1) > Hi, > > these options are already available. Check the "Edit" menu and the > "Tools->Scripts" menu. The menu actions can be assigned shortcuts or they > can be added to the toolbar for quick access. They can also be executed via > the command bar (Ctrl + Alt + I). Hi, Thank you very much for your response. I did go through the options you had shared and found some of the options, but not all of them. May be I am missing something ? The following are some of the options I had mentioned in the issue initially. 2.1. Sorting (Asc and Desc - As a number or text or decimal or time) --> Asc is available, but no descending option available or the ability to sort based on number or 2.2. Removing duplicates 2.3. Removing Blank Lines 2.4. Removing Leading and Trailing Spaces (Combined or each one separately) 2.5. Count number of occurrences of a character. 2.6. Replace characters just by supplying the escape sequences e.g. \n, \t, \r instead of their regex equivalents. Points 2.2 to 2.6 were not available as straight forward options but I do agree all of them are possible. I have attached screenshots of the options available from notepad++ and from Kate as well just for reference. I hope this does not come across as a demand for a feature, I am merely making a request. I understand it is not possible to have all the features from a different tool in our tool. So, if this is not something feasible or in line with Kate's roadmap or worth the effort, please feel free to close the request. Thank you for all the hard work and contributions towards Kate and other KDE software. Hi, Some more commands are available in the command line, see https://docs.kde.org/stable5/en/kate/katepart/advanced-editing-tools-commandline.html more commands can be added via a javascript scrip, see https://docs.kde.org/stable5/en/kate/katepart/dev-scripting.html We can expose more commands in the UI though. Some obvious are only available via the command line. For character/word count, the search and replace plugin will work. We have now exposed a lot more functionality in the Scripts -> Editing menu. Additionally its also available in the context menu. If there is something else that's missing, please open a bug for that thing specifically. |