Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Delphi 10 Seattle do NOT open last used project on start

I'm new to Delphi, coming from Visual Studio it's a simple question (I guess): how do I prevent Delphi 10 Seattle to open last use project(group) when I start the IDE?

I've found some information about the .dsk file and what it does:

The .dsk file records your current settings for:

  • Desktop layout
  • Breakpoints
  • Watch items
  • Files currently open in the IDE

When you reopen the project later, the .dsk file is read, and your desktop layout, your breakpoints, and your watches are all restored. Also, all files that were opened when the project was closed are opened again, regardless of whether they are used by the project.

I'm fine with that when I open a project. But please do not open it when I start the IDE. Mostly I want to start or open another project than the last one I was working on. I've searched the options and the internet, but couldn't find a solution. Anyone?

like image 314
ArieKanarie Avatar asked Dec 06 '16 12:12

ArieKanarie


2 Answers

Disable "Project desktop" in the IDE Autosave options (Tools\Options\Envinroment options).

enter image description here

like image 60
Ari0nhh Avatar answered Oct 01 '22 09:10

Ari0nhh


But please do not open it when I start the IDE. Mostly I want to start or open another project than the last one

Granted, I do no have Seattle at hands, I settled in XE2. But try changing the shortcut.

-np: No welcome page. Does not display the welcome page after starting the IDE. np also stands for No Project. Independently of Environment Options Project desktop the last opened project will not be opened

http://docwiki.embarcadero.com/RADStudio/Tokyo/en/IDE_Command_Line_Switches_and_Options


saving the layout and position of the tool windows like Refactorings,

That is what the "Layout" combo-box on the "Desktop" toolbar does. Unless you want different layouts in different projects. R-click over your IDE's tool buttons or go View|Toolbars menu to turn "Desktop" bar on. Alternatively use View|Desktops menu.

like image 23
Arioch 'The Avatar answered Oct 01 '22 07:10

Arioch 'The