Share

Dev-PHP IDE

The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.

Subscribe

Can I close a project?

You are viewing a single message from this topic. View all messages.

  1. 2009-08-02 21:55:59 UTC
    > 1. Create a new menu item that executes the "Close Project" transition.
    The "Close Project" item is disabled each time we are in a "non-project" state (the only way to recognize this state).
    Actually, a "non-project" *is* a project. This means that its context is saved and will be restored on next launch. One cannot "Close" a "non-project", but "Close All" works fine.
    The default path must be a drive unit:
    - either the drive unit defined via the environment variable %DevPHP_AppFolder%,
    - or the unit corresponding to the portable device the IDE was launched from,
    - or the drive unit defined in %PERSONALDATA% ('My Documents'),
    - or the drive unit of the "non-project" file itself, in %APPDATA%

    > 2. A boolean IDE option like "Open Last Project on startup"
    This remains the default behaviour, so it is not an option. But, on startup,
    - double-clicking on a file from MS-explorer, or
    - dropping one (or several) file(s) over the file devphp.exe
    - dropping one (or several) file(s) over a shortcut to devphp.exe
    will launch the IDE, then will open the "non-project" project, and afterwards will add this(these) file(s)

    > 3. Give the focus to the Editor *and* to the last opened file
    Done. Because some users have complained about the waste of time spent to find back that file, mainly if the file was already opened and was not the active file.

    > 4. Double-clicking on a .prd file in explorer
    Done. The command line switch is "-p", a new icon is provided "devphp.exe,1", new parameter defined in "Options->General Options->File Extensions->Registry" in order to register this "prd" file-extension.

    Best regards,
    Pierre.
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.