You've already forked gnatstudio
mirror of
https://github.com/AdaCore/gnatstudio.git
synced 2026-02-12 12:42:33 -08:00
Disable 'Always pass on command line' pref by default
In most cases it seems we don't want to explicitly pass scenario variables via the -X swicth when set to the default value defined in the .gpr project. For eng/ide/gnatstudio#474
This commit is contained in:
@@ -1781,13 +1781,15 @@ package body GPS.Kernel.Preferences is
|
||||
Default => True,
|
||||
Path => -"GNAThub");
|
||||
|
||||
Explicit_Default_Value := Manager.Create_Invisible_Pref
|
||||
(Name => "Scenario-Explicit-Default-Value",
|
||||
Label => -"Always pass on command line",
|
||||
Doc =>
|
||||
-("When False, only add -X switches when a scenario variable is "
|
||||
& "not set to its default value."),
|
||||
Default => True);
|
||||
Explicit_Default_Value :=
|
||||
Manager.Create_Invisible_Pref
|
||||
(Name => "Scenario-Explicit-Default-Value",
|
||||
Label => -"Always pass on command line",
|
||||
Doc =>
|
||||
-("When True, it will add explicit -X switches "
|
||||
& "for each scenario variable, even when set to its "
|
||||
& "default value"),
|
||||
Default => False);
|
||||
|
||||
LSP_Use_Snippets := Kernel.Get_Preferences.Create
|
||||
(Name => "LSP-Completion-Use-Snippets",
|
||||
|
||||
Reference in New Issue
Block a user