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.
Structural Search, which technically might be an alternative, is unusable without studying 5 years of computer science. You never get the information you need.
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.
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!"
>> 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.
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.
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.
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!"
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.
Most probably no.
-
Maxim Shafirov
http://www.jetbrains.com
"Develop with pleasure!"
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
For those, who also think, this feature should be finalized, please vote for
http://www.jetbrains.net/jira/browse/IDEABKL-1871
Thanks,
Tom
Hi,
Thomas Singer (MoTJ) wrote:
Any constructive ideas?
--
Maxim Mossienko
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
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
Hi,
Constructive advice: pickup existing templates and modify them
(until we get better UI:).
Thomas Singer (MoTJ) wrote:
>> Any constructive ideas?
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Maxim Mossienko 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.
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.
Keith Lea wrote:
>
>
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
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
Hi,
Great, let's do it in JIRA :)
Thomas Singer (MoTJ) wrote:
>> Any constructive ideas?
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Instead of replying you could have just copy-pasted it to JIRA yourself. :)
Tom
In article <d89t3p$34v$1@is.intellij.net>,
"Thomas Singer (MoTJ)" <I@HateSpam.de> wrote:
That's a little rude
Tom
>> Great, let's do it in JIRA :)
>
>
The idea is that if you post the issue, you are in charge of it, hence
his suggestion (I guess).
Alain
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!"
Sorry, this was not my intention (hence the smiley). I just replied the same
way Maxim did.
And I just wanted to give an idea, which might be discussable before coming
really clear.
Tom