From kde-bugs-dist Mon Jun 30 21:26:45 2014 From: Richard Neill Date: Mon, 30 Jun 2014 21:26:45 +0000 To: kde-bugs-dist Subject: [kate] [Bug 327994] wish: More "intelligent" searching on variable names Message-Id: X-MARC-Message: https://marc.info/?l=kde-bugs-dist&m=140416361215826 https://bugs.kde.org/show_bug.cgi?id=3D327994 --- Comment #3 from Richard Neill --- Thanks for your suggestion, K=C3=A5re. I agree about regexps being powerful, and I do use them, but it's a bit of a pain to type one every time I want a simple search. For example, in PHP, fo= r a variable $x, then I'd need to type (I think): \$\{?x\b while for a variab= le $x['y'] I'd need to type in: \$\{?x[("|'|)y\b=20=20=20 (Likewise, for Perl, searching for $a usually also wants to find @a.)=20 This makes the general process of re-factoring somewhat trickier. Ideally, = I'd like to be able to just select a variable, and find all instances of it (no matter which variation of the syntax is used). I realise that this will be harder in some languages than others. It's also= OK to have false positives (eg literal-quoted strings), but not false negative= s. Perhaps the generalisation of this request is for a "refactoring" plugin for Kate. --=20 You are receiving this mail because: You are watching all bug changes.=