29

Suppose that I wish to disable the newly integrated Castalia that is introduced in XE8. How do I go about doing that in a clean way? I cannot see anything on the Castalia menu that allows me to disable it by setting one single option.

Reasons why one might wish to disable Castalia include:

Community
  • 1
  • 1
David Heffernan
  • 601,492
  • 42
  • 1,072
  • 1,490

1 Answers1

50

You have 2 options

1) modify the shortcut to the Delphi (RAD Studio) IDE, adding the parameter /NOCASTALIA

enter image description here

2) disable the castalia expert from the registry

Go the the HKEY_CURRENT_USER\Software\Embarcadero\BDS\16.0\Known IDE Packages\Delphi key and then place a underscore _ in front of the description of the Castalia package, in that way the package is not loaded.

enter image description here

RRUZ
  • 134,889
  • 20
  • 356
  • 483
  • I'm curious about 2nd method. Do you have any reference on it? – Free Consulting Apr 09 '15 at 02:51
  • 2
    Is just a old method to disable packages aplied on this case to Castalia, I read this on a Delphi book a long time ago. Anyway here you have a reference (http://www.bobswart.nl/weblog/Blog.aspx?RootId=5:1921) – RRUZ Apr 09 '15 at 02:57
  • 1
    Brilliant, thanks! I never knew about this one (did move values to "Disabled IDE Packages" key) – Free Consulting Apr 09 '15 at 03:06
  • Method 2 is used also by Delphi to mark components as not usable anymore. If you have installed some components and then disappear from palette, have a look in that part of registry to check if it is mentioned there. Have seen cases where reinstalling has not functioned until moving the registration to the part of registry where active components are registered. – Alf Christophersen Apr 23 '15 at 10:43
  • 4
    Thanks. The IDE now seems to be more stable. – Nix May 21 '15 at 15:43
  • 1
    I just tried to do this, but there is no entry here for Castalia. Had to use the other method instead. {EDIT} Actually I just found it at the prior Key, not in the `Delphi` key. – Jerry Dodge Aug 03 '15 at 14:43
  • 1
    In its infinite wisdom EMBD has decided Castalia should be part of XE 10.1 and both the command line option (ignored) and registry entry (gone) do not provide a solution. So I am left with a crashing IDE again.. Any other suggestions how to get rid of this Castalia? – Mike Versteeg Nov 24 '15 at 14:22
  • 1
    Neither solution works in Delphi 10 Seattle. Adding the switch to the shortcut does nothing, and this entry doesn't exist in the registry, neither in the `Known IDE Packages` node or the `Delphi` node. – Jerry Dodge Jan 15 '16 at 22:20
  • @JerryDodge I think you can disable some parts of castalia by prefixing two BPLs with an underscore: `codequerydelphi230.bpl` and `codequeryide230.bpl`. This disables the new navigation bar in the code view, but does not hide it. However, I noticed only minimal performance benefit (if any) after disabling this packages. – ventiseis Feb 14 '16 at 20:36
  • for Delphi 10 and 10.1 the Castalia is no longer a seperate menu, so it would be hard to disable it. but I found that install DDevExtensions and IDE Fix Pack helped a lot with speed and stablity. http://andy.jgknet.de/blog/ide-tools/ddevextensions/ – Justin Sep 01 '16 at 01:46