cmullins7 / pyscripter

Automatically exported from code.google.com/p/pyscripter
0 stars 0 forks source link

Improving the "Find References" search result and behavior #271

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Place cursor on symbol and use "Find References" from the Search menu

What is the expected output? What do you see instead?

The result of the search is presented in the Messages pane.
The result does not show the actual line content in the "Message" column.
Maybe it would be useful to show the line content in the "Message" column,
prefixed by the certainty value in parentheses:

MESSAGES
Message                            | File Name
(100%) log.log("log message#1")    | ...
(100%) log.error("broken!")        | ...
(100%) log.error("not working...") | ...
( 90%) log.warn("wrong value!")    | ...

Double clicking on an entry should possibly pre-select the complete symbol.
That way one can selectively click on some of the items in the list and
then use CTRL+V to replace the symbol. This makes selectively replacing
some or all items very efficient.

(Lhe "Find in Files" result could perform similarly, by pre-selecting the
found substring on double click, for efficient replacing. The "Replace
Selected Item..." function goes in this direction, but I believe it is less
efficient and less well integrated because in comparison to double-click +
CTRL+V it requires double-click + CTRL+SHIFT+S + CTRL+V + ENTER; and it
doesn't open the file to be changed, so undo is not available. And it is
yet another dialog that the user has to look at and comprehend.)

What version of the product are you using? On what operating system?

PyScripter 1.9.9.3, Windows XP.

Original issue reported on code.google.com by blackw...@nexgo.de on 10 Jan 2009 at 8:54

GoogleCodeExporter commented 9 years ago
Fixed in version control.

Drop certainty since it is always 100%, and displays line instead.
On double click it preselects the found identifier.  
Find in files was also enhanced by selecting the found text on double-click.

Original comment by pyscripter on 27 Sep 2010 at 12:00

GoogleCodeExporter commented 9 years ago

Original comment by pyscripter on 30 Sep 2010 at 3:12