This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Kate: Find & Replace, ignoring comments

20

Votes
20
0
Tags: kate, katepart, find kate, katepart, find kate, katepart, find
(comma "," separated)
User avatar
Kver
Registered Member
Posts
326
Karma
2
OS
This idea is for any editor-component based program;

When doing searches through code, the editor should provide you a dropdown or selector in the find bar allowing you to:
- Search entire file
- Search only in comments
- Search only active code

This way, if you comment-out large swaths of code, you don't pull them up in needless results while working.


An extension of this may recycle highlighting code for additional search-options; the dropdown may provide you the options to search specifically for...
- Declarations
- Function calls
- Variables
- Strings
- Markups
- Etc...
... If you are searching in the appropriate file type.


Reformed lurker.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]