Author Topic: Workspace/Project selection missing in e.g. FileSearch Dialog  (Read 6189 times)

blueboy

  • Community Member
  • Posts: 16
  • Hero Points: 1
Workspace/Project selection missing in e.g. FileSearch Dialog
« on: October 02, 2009, 08:30:49 am »
Hi,


I can't select 'look in' workspace/project in e.g. "Find and Replace" Dialog, is there a special setting needed in properties of
slickedit plugin?

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Re: Workspace/Project selection missing in e.g. FileSearch Dialog
« Reply #1 on: October 02, 2009, 03:32:25 pm »
Those options are disabled because our normal mechanism of finding workspace/project files does not work in Eclipse as it does in SlickEdit.

If you save the attached version of tbfind.e and load it in Eclipse via Macro > Load Module..., these options should be available, and they should populate the 'Look in' field with your workspace or project directory.  Let me know how it works.

- Ryan

NOTE:  This hotfix is compatible with Core 3.5.

blueboy

  • Community Member
  • Posts: 16
  • Hero Points: 1
Re: Workspace/Project selection missing in e.g. FileSearch Dialog
« Reply #2 on: October 08, 2009, 03:47:11 pm »
Hi Ryan,



the hotfix works only partly, e.g. I must change gui_find.e too. For my needs I have to change normal
behaviour, thanks for your support.


BR
Robert

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Re: Workspace/Project selection missing in e.g. FileSearch Dialog
« Reply #3 on: October 08, 2009, 05:53:45 pm »
What function did you have to change in guifind.e?  ctlmffiles.on_drop_down() ?  The tbfind.e hotfix should address the issue for the 'Find/Replace' dialog...what other dialog did you want this behavior changed for?  The 'Print' dialog?  I'm just asking so that I can post an update to the hotfix in case other individuals want the same thing.

- Ryan

Silver

  • Community Member
  • Posts: 23
  • Hero Points: 6
Re: Workspace/Project selection missing in e.g. FileSearch Dialog
« Reply #4 on: October 14, 2009, 09:27:50 pm »
Hi Ryan,

let me know I need to wait to take this "hotfix" or I can use the actual version.

I would like to have the capability for the find/replace in project/workspace.


Thanks

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Re: Workspace/Project selection missing in e.g. FileSearch Dialog
« Reply #5 on: October 14, 2009, 09:30:48 pm »
You can go ahead and make use of the change to tbfind.e for now...I'm still not sure what functionality he is accessing that he wanted code changed in guifind.e.  The tbfind.e fix will give you the option of searching the current workspace or project in the SlickEdit Find/Replace dialog.

- Ryan

Silver

  • Community Member
  • Posts: 23
  • Hero Points: 6
Re: Workspace/Project selection missing in e.g. FileSearch Dialog
« Reply #6 on: October 14, 2009, 09:45:56 pm »
I updated the macro, but there is no "workspace/project" selection in the "Look In" field.

Any step I can do to understand what's happen?

Ryan

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 986
  • Hero Points: 77
Re: Workspace/Project selection missing in e.g. FileSearch Dialog
« Reply #7 on: October 14, 2009, 09:50:12 pm »
Did you load it (Macro > Load Module, browse to file)?  The options do not appear in the actual combo box for "Look in:"...they appear in the menu from the button next to to it (see attached).

Still having issues?

- Ryan

Silver

  • Community Member
  • Posts: 23
  • Hero Points: 6
Re: Workspace/Project selection missing in e.g. FileSearch Dialog
« Reply #8 on: October 14, 2009, 09:59:20 pm »
Thanks,

just look at the drop down.

blueboy

  • Community Member
  • Posts: 16
  • Hero Points: 1
Re: Workspace/Project selection missing in e.g. FileSearch Dialog
« Reply #9 on: October 16, 2009, 11:47:47 am »
Hi Ryan,



I miss the entries in the listbox:

<Workspace>, <Current Project>

I hadn't checked the additional options with '> ' button. The advantage of the entries (e.g. <workspace>) in the list is
that I musn't check/compare different directory entries (if there are more directory entries) I just know <workspace> is
workspace;-).


BR
Robert