Author Topic: Working Directory issue  (Read 6116 times)

danblanks

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Working Directory issue
« on: August 22, 2006, 06:11:09 PM »
I use different directories for my source code and
where I actually run the program. When I select File->Open after a
debug session, the File Open dialog is set to the run directory
instead of the source code directory. After I click-click-click to get
to my source code directory and open a file, I would think the
dialog would remember its last directory. And it does -- until
I do another debug session, at which point the File Dialog
is reset to the run directory.

Very, very irritating. Is there some way to configure slickedit to fix this?

Dan

Wanderer

  • Senior Community Member
  • Posts: 557
  • Hero Points: 23
Re: Working Directory issue
« Reply #1 on: August 22, 2006, 06:18:44 PM »
Have you tried setting def_switchbuf_cd?  That should make the File Open dlg reflect the dir of the current buffer.

danblanks

  • Junior Community Member
  • Posts: 3
  • Hero Points: 0
Re: Working Directory issue
« Reply #2 on: August 22, 2006, 08:38:31 PM »
Ah, the old "set def_switchbuf_cd" trick! Why didn't I think of that
one?  ;)

Thanks, Wanderer, that fixed the problem just fine.

Dan