Bug 443855 - add search button on context menu
Summary: add search button on context menu
Status: RESOLVED FIXED
Alias: None
Product: LDT
Classification: Tools
Component: LuaDevelopmentTools (show other bugs)
Version: 1.2.0   Edit
Hardware: PC Windows 7
: P3 enhancement
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 179830
Blocks:
  Show dependency tree
 
Reported: 2014-09-11 12:11 EDT by flame leo CLA
Modified: 2014-09-29 04:43 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description flame leo CLA 2014-09-11 12:11:42 EDT
the function " find in dir " is too difficult to use


you need open the find dialog, then choose the dir everytime, once and once, again and again, many times , it's too boring

just in file explorer frame, the tree list veiw.
when right click the dir or file, proup the menu has a choosing is find in this place

it's esay for us
Comment 1 Simon Bernard CLA 2014-09-12 09:01:28 EDT
You could select the directory, then click on search (or Ctrl H) and choose 'selected resource' as scope. (the setting is saved so you don't need to choose 'selected resource' each time)

In this case you don't need to choose dir again and again ^^.
This is a standard way to search in eclipse.

Does it solve your issue?
Comment 2 flame leo CLA 2014-09-23 01:39:26 EDT
(In reply to Simon Bernard from comment #1)
> You could select the directory, then click on search (or Ctrl H) and choose
> 'selected resource' as scope. (the setting is saved so you don't need to
> choose 'selected resource' each time)
> 
> In this case you don't need to choose dir again and again ^^.
> This is a standard way to search in eclipse.
> 
> Does it solve your issue?

Although this is the standard way to search in eclipse.
But this is an uneasy way.

You just suppose user searching in same dir every time.
But actually diff search scope in diff times.

In this 'eclipse' way, if user want search different sub dir in project.
you need N times selection:
[1] ctrl + H 
proup the searching dialog
[2] in [Scope]
select new searching scope

surface, it seems like a easy proc, but you igore some option in [2] 

[2-1] select [working set] option
[2-2] click [choose]
[2-3] select [selected working sets] option
[2-4] click [new] to add, or [edit] to adjuct
[2-5] even your add a dir, if you want this dir's child item, 
I'm sorry to tell you click [new] again, then add another.
[2-6] click [ok] button

In my opinion, eclipse is an excellent IDE, 
has many advantages, but the 'eclipse std-way' should be stop,
an excellent IDE not need a standard or staid way,
just absorb more and more good & easy way.(it's also the eclipse's good at, by custom plugin)

In many light IDE, the file list window, you just give to proup option
[1] open path [2] find in path
it's enough to solve many problem.

you just drag a scroll bar, right click the dir, and select the [find in this folder], IDE will get user wanted searching path.


LDT professed be a standalone product, but it's also a regular eclipse.
Apart from the dynamic syntax detecting (syntax coloring, auto formatter, error tips), other usually feature is too strong too diffuse.

The biggest embodiment is the searching moudle and file explorer and run & build. Only using the simlar to java mode, not combine lua self
Comment 3 Simon Bernard CLA 2014-09-25 06:15:44 EDT
Did you try, what I suggest to you ?
I do not suggest searching in working set, I understood this way is a bit boring for you. I suggest searching in "selected resource" ...
http://help.eclipse.org/indigo/topic/org.eclipse.platform.doc.user/images/Image45_file_search.png

You say "we professed be a standalone product"... we professed nothing ... We just develop a plug-in for eclipse and deliver it as a standalone product or an update-site ...

We try to help lua developers, but our times is not unlimited ...
That's why, I try to help you by finding alternative in existing features.
Moreover, I think this is more a platform issue than an ldt one :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=179830

This is a link to the search documentation just in case : 
http://help.eclipse.org/indigo/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Freference%2Fref-45.htm
Comment 4 flame leo CLA 2014-09-29 04:43:16 EDT
(In reply to Simon Bernard from comment #3)
> Did you try, what I suggest to you ?
> I do not suggest searching in working set, I understood this way is a bit
> boring for you. I suggest searching in "selected resource" ...
> http://help.eclipse.org/indigo/topic/org.eclipse.platform.doc.user/images/
> Image45_file_search.png

Thank you.
Excuse my foolish.