15 comments
Comment actions Permalink

Most probably no.
-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

Why that? As said in previous EAP, this feature otherwise is useless! Why
don't you finalize features before introducing new, half-baked? Structural
Search, which technically might be an alternative, is unusable without
studying 5 years of computer science. You never get the information you need.

--
Frustrated,
Tom

0
Comment actions Permalink

For those, who also think, this feature should be finalized, please vote for
http://www.jetbrains.net/jira/browse/IDEABKL-1871

Thanks,
Tom

0
Comment actions Permalink

Hi,

Thomas Singer (MoTJ) wrote:

Structural Search, which technically might be an alternative, is
unusable without studying 5 years of computer science. You never get the
information you need.


Any constructive ideas?

--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

0
Comment actions Permalink

Any constructive ideas?


No, after trying to use it 3 times getting either nothing or the wrong
results I gave up (except searching for strings like "foo", which is
reliable and very fast). 'Search In Project'/'Replace In Project' work
slower but with predictable results.

Tom

0
Comment actions Permalink

Hi,

Constructive advice: pickup existing templates and modify them
(until we get better UI:).

Thomas Singer (MoTJ) wrote:
>> Any constructive ideas?


No, after trying to use it 3 times getting either nothing or the wrong
results I gave up (except searching for strings like "foo", which is
reliable and very fast). 'Search In Project'/'Replace In Project' work
slower but with predictable results.

Tom



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Maxim Mossienko wrote:

Hi,

Thomas Singer (MoTJ) wrote:

>> Structural Search, which technically might be an alternative, is
>> unusable without studying 5 years of computer science. You never get
>> the information you need.


Any constructive ideas?


I think it would be 100 times more usable if I could type an expression,
and IDEA would tell me what it knows about the expression, so I could
know how to fix it to make it match what I want. For example, if I type
"$X$ = $Y$" IDEA could tell me that $X$ must be a variable or field,
whether it's qualified, and things like that. This way I could diagnose
SS problems better.

I've tried many searches, based on existing templates sometimes, and
gotten no results, even though I know there are instances of what I'm
looking for. It's hard to figure out what I did wrong so I usually give up.

However, you shouldn't feel bad, SS is not all wasted, I have done some
useful queries and replaces.

0
Comment actions Permalink

Keith Lea wrote:

>

I think it would be 100 times more usable if I could type an
expression, and IDEA would tell me what it knows about the expression,
so I could know how to fix it to make it match what I want. For
example, if I type "$X$ = $Y$" IDEA could tell me that $X$ must be a
variable or field, whether it's qualified, and things like that. This
way I could diagnose SS problems better.

>

I've tried many searches, based on existing templates sometimes, and
gotten no results, even though I know there are instances of what I'm
looking for. It's hard to figure out what I did wrong so I usually
give up.






There's already a request that would help a lot:
"new option for "Structural Search" : run in the background"
http://www.jetbrains.net/jira/browse/IDEABKL-2323

Alain

0
Comment actions Permalink

Any constructive ideas?


OK, I have one. Select some code and invoke Structural Replace. It
automatically should detect all variables and strings and convert them to
customizable patterns.

Another one: invoke Find Usages. In the Find Usages dialog there is a new
button, which opens Structural Search (instead of performing the search)
filled with the necessary content to find the same as Find Usages.

I'm sure, the above two ideas would significantly improve the usability of
Structural Search, because at the moment tweaking here and there the search
pattern takes to much time to get the right result. In the same time I could
have done it with simple search myself. I don't doubt, that Structural
Search is very powerful, but the user does not know how to use that power.

Tom

0
Comment actions Permalink

Hi,

Great, let's do it in JIRA :)

Thomas Singer (MoTJ) wrote:
>> Any constructive ideas?


OK, I have one. Select some code and invoke Structural Replace. It
automatically should detect all variables and strings and convert them
to customizable patterns.

Another one: invoke Find Usages. In the Find Usages dialog there is a
new button, which opens Structural Search (instead of performing the
search) filled with the necessary content to find the same as Find Usages.

I'm sure, the above two ideas would significantly improve the usability
of Structural Search, because at the moment tweaking here and there the
search pattern takes to much time to get the right result. In the same
time I could have done it with simple search myself. I don't doubt, that
Structural Search is very powerful, but the user does not know how to
use that power.

Tom



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Great, let's do it in JIRA :)


Instead of replying you could have just copy-pasted it to JIRA yourself. :)

Tom

0
Comment actions Permalink

In article <d89t3p$34v$1@is.intellij.net>,
"Thomas Singer (MoTJ)" <I@HateSpam.de> wrote:

Great, let's do it in JIRA :)


Instead of replying you could have just copy-pasted it to JIRA yourself. :)


That's a little rude

0
Comment actions Permalink

Tom

>> Great, let's do it in JIRA :)
>

Instead of replying you could have just copy-pasted it to JIRA
yourself. :)

>


The idea is that if you post the issue, you are in charge of it, hence
his suggestion (I guess).


Alain

0
Comment actions Permalink

Exactly.

Once someone submits item to JIRA it doesn't mean we agree to implement exactly
what have been requested but rather free for variations, which solve the
same problem but implemented in quite a different way.

-


Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

That's a little rude


Sorry, this was not my intention (hence the smiley). I just replied the same
way Maxim did.

The idea is that if you post the issue, you are in charge of it, hence
his suggestion (I guess).


And I just wanted to give an idea, which might be discussable before coming
really clear.

Tom

0

Please sign in to leave a comment.