7
votes

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?

2

2 Answers

8
votes

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

enter image description here

4
votes

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.