Author Topic: deleting include directories  (Read 2558 times)

davehohl

  • Senior Community Member
  • Posts: 271
  • Hero Points: 27
deleting include directories
« on: July 11, 2012, 09:55:07 pm »
The Directories tab on Project Properties has a '+' icon to add include directories, but I cannot figure out how to delete include directories. Right-clicking on a directory does not bring up a menu, nor does pressing the delete key when the directory is selected do anything.

Am I missing something obvious? ???

SlickEdit 2012 (v17.0.0.8 32-bit)
Build Date: June 07, 2012
Emulation: CUA

OS: Windows 7
OS Version: 6.01.7601  Service Pack 1
Memory: 57% Load, 1901MB/3318MB Physical, 2818MB/6635MB Page File, 556MB/2047MB Virtual
Shell Info: C:\Windows\system32\cmd.exe /q
Screen Size: 1920 x 1200

Project Type: Cpp
Language: .c (C/C++)

Installation Directory: C:\Program Files\SlickEditV17.0.0\ (non-removable drive,NTFS,238167MB free)
Configuration Directory: U:\MyDocs\My SlickEdit Config\17.0.0\ (remote,NTFS,210248MB free)
Spill File: C:\Users\david.hohl\AppData\Local\Temp\$slk.0 (non-removable drive,NTFS,238167MB free)

Hotfixes:
U:\MyDocs\My SlickEdit Config\17.0.0\hotfixes\hotfix_se1700_1_cumulative.zip (Revision: 1)

Graeme

  • Senior Community Member
  • Posts: 2389
  • Hero Points: 314
Re: deleting include directories
« Reply #1 on: July 12, 2012, 12:04:56 pm »
Selecting the item and pressing the delete key works for me.  You can also "edit" the item and delete it all to nothing.  Are you sure the delete key doesn't work?

davehohl

  • Senior Community Member
  • Posts: 271
  • Hero Points: 27
Re: deleting include directories
« Reply #2 on: July 12, 2012, 04:22:18 pm »
I cannot edit or delete the directory for that particular project, even after rebooting my PC. However, I switched to a different project and things worked fine, so something must be corrupted for that one project.

I looked in the .vpj file for the offending directory, but could not find it. It appears that the include file info must be stored somewhere else. If I knew where I might be able to edit the file to fix things.

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: deleting include directories
« Reply #3 on: July 12, 2012, 07:34:13 pm »
Can you attach a screen shot to clarify?

davehohl

  • Senior Community Member
  • Posts: 271
  • Hero Points: 27
Re: deleting include directories
« Reply #4 on: July 12, 2012, 07:50:07 pm »
Double-clicking on the directory path does not select it for editing, nor does delete key delete it.  It is also strange that there are two instances of "double click here to add another entry".

chrisant

  • Senior Community Member
  • Posts: 1410
  • Hero Points: 131
Re: deleting include directories
« Reply #5 on: July 12, 2012, 08:06:29 pm »
The directory is coming from your Compiler configuration (so it has to be edited in the Compiler Configuration dialog instead).

I think in v16 and earlier that list didn't show directories implicitly picked up from the compiler configuration.  I don't know if it's an intentional change in v17 or if it's accidental, but I agree it's a little confusing.

And yes, the two instances of "double click here" looks like a bug.  I tried to see an obvious way for the code to get two of them, but I didn't see an obvious way.  And for me there's only one.

I don't understand why the entries have expando/collapso buttons next to them (it seems like a flat list, not a tree).  I think that's a bug as well.

davehohl

  • Senior Community Member
  • Posts: 271
  • Hero Points: 27
Re: deleting include directories
« Reply #6 on: July 12, 2012, 08:24:06 pm »
Thanks, chrisant! I was able to change the directory by going to the compiler config as you suggested.  HP++