Can you search through variables in Kate editor

129 views Asked by At

I was writing a C program in Kate and I had to modify a few lines with a variable called 'wheel'. So I used the default search functions of Kate.

The problem I was having, was that the same name 'wheel' also existed in the comments. So I could not effectively search through all lines in which 'wheel' was used as variable.

Does kate have the feature that you can search for a specific variable in your code? If so how is it called?

1

There are 1 answers

0
dhaumann On

A Kate developer here: Kate does not have any code model or other syntactic representation of your text. You can use the action Ctrl+H, which first selects the word under the cursor, and when pressing Ctrl+H again, will jump to the next case sensitive match. But there is no option to omit comments for instance.