SourceForge has been redesigned. Learn more.
Close

#96 Allow startup from a project file

2.x
pending-fixed
None
5
2012-01-26
2009-07-23
RJ Plummer
No

When the user double-clicks on a project file in explorer:
If the IDE is not running, behave as if the user started the IDE and used the Project/Open Project... dialog to open the project.
If the IDE is already running and Project/Open Project... is not disabled, give the IDE focus and behave as if the user used the Project/Open Project... dialog to open the project, e.g., ask to Save/Discard changes, etc.
If the IDE is already running and Project/Open Project... is disabled, give the IDE focus and display a message informing the user what to do if the user really wants to switch projects.

Discussion

  • Pierre Fauconnier

    • milestone: --> 2.x
    • assigned_to: nobody --> pf18387
    • status: open --> open-accepted
     
  • Pierre Fauconnier

    > 3) if the IDE is already running and Project/Open Project... is disabled,
    Good idea, but under what circumstances should this option be disabled?
    Until now it was always enabled, because the user himself orders and monitors directly the tasks - there's no batch mode and there was no need to mask such interrupts.

    --
    Pierre. Here I feel like a blind pilot who relies on passengers' screams, to know when to take off

     
  • RJ Plummer

    RJ Plummer - 2009-07-24

    I don't know the states for the application so I included that state in case it existed.

    I think the protections are sufficient that already exist when selecting the action via the menu.

    You can code for that state if you believe there's a high probability it will exist in the future, but otherwise don't worry about it.

     
  • Pierre Fauconnier

    >> 3) if the IDE is already running and
    >> Project/Open Project... is disabled,
    > Don't worry about it. I included that state in case it existed
    Since another application can send a message to the IDE, requiring to load another project / environment... I think that we'll need to take extra precautions, later.

    Could you check http://devphp.free.fr/files/devphp.exe [ 1,211,392 B ]
    To set/unset the registry, see "General options->file extensions"

    Thanks for your contributions,
    Pierre.

     
  • Pierre Fauconnier

    • status: open-accepted --> open-fixed
     
  • Pierre Fauconnier

    • status: open-fixed --> pending-fixed
     

Log in to post a comment.