View Issue Details

IDProjectCategoryView StatusLast Update
0017353LazarusIDEpublic2011-10-14 10:16
ReporterBenito van der Zander Assigned ToMattias Gaertner  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version0.9.29 (SVN) 
Summary0017353: default option for session storage
DescriptionIf you create a new project the default is always "store session information in lpi-file", there should be an option to change that default value.
I would even suggest to change the default to "lps in project file", because session informations in the lpi is annoying if you use svn.
TagsNo tags attached.
Fixed in Revision
LazTarget-
Widgetset
Attached Files

Activities

Graeme Geldenhuys

2011-10-13 14:17

reporter   ~0052935

+1

Reinier Olislagers

2011-10-13 14:45

developer   ~0052936

Something like this?

Index: ide/frames/project_save_options.pas
===================================================================
--- ide/frames/project_save_options.pas (revision 32869)
+++ ide/frames/project_save_options.pas (working copy)
@@ -50,7 +50,7 @@
 begin
   for Result := Low(TProjectSessionStorage) to High(TProjectSessionStorage) do
     if ProjectSessionStorageToLocalizedName(Result) = s then exit;
- Result := pssInProjectInfo;
+ Result := pssInProjectDir; //By default, store it in lps file
 end;

 { TProjectSaveOptionsFrame }

Flávio Etrusco

2011-10-14 04:16

developer   ~0052966

Does this bug comprise anything beyond making "save in .lps file in project dir" the default?

Mattias Gaertner

2011-10-14 10:16

manager   ~0052972

You can change the default with the 'project templates' and the 'use these options as default for new projects'.

New projects are now created with the setting to store the session in the lps file in the project directory.

Issue History

Date Modified Username Field Change
2010-09-05 15:54 Benito van der Zander New Issue
2010-10-29 12:09 Vincent Snijders LazTarget => -
2010-10-29 12:09 Vincent Snijders Status new => acknowledged
2011-10-13 14:17 Graeme Geldenhuys Note Added: 0052935
2011-10-13 14:45 Reinier Olislagers Note Added: 0052936
2011-10-14 04:16 Flávio Etrusco Note Added: 0052966
2011-10-14 10:16 Mattias Gaertner Note Added: 0052972
2011-10-14 10:16 Mattias Gaertner Assigned To => Mattias Gaertner
2011-10-14 10:16 Mattias Gaertner Status acknowledged => resolved
2011-10-14 10:16 Mattias Gaertner Resolution open => fixed