Req #51449 [Opn]: No option to add folder/file in editor UI.

From: Date: Wed, 31 Mar 2010 21:01:09 +0000
Subject: Req #51449 [Opn]: No option to add folder/file in editor UI.
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-4134@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=51449&edit=1 ID: 51449 Updated by: philip@php.net Reported by: markskilbeck@php.net Summary: No option to add folder/file in editor UI. Status: Open Type: Feature/Change Request Package: Online Doc Editor problem Operating System: n/a PHP Version: Irrelevant New Comment: Sounds good. And the context window may want to ask for a few basic bits of information like "Function Name" because OE can then insert it where it's needed (it's used in several places, like for ids). And somewhere we could mention scripts/docgen because it offers customization, and is especially useful when documenting an entire extension. People should be well aware of that, instead of adding every single file through OE. Previous Comments: ------------------------------------------------------------------------ [2010-03-31 22:50:41] yannick@php.net After discuss this functionality on IRC, here is what we thinks about : * Right-click on a folder into "All files" module will display the contextmenu. In this menu, we will see 2 new entries : "Add folder" & "Add new file" => A click on "Add folder" will display a basic window allow him to put the name of this new folder. A button "valid" will add it locally & in pendingCommit. On next commit, it will be added to the repository. We could delete it via the pendingCommit module, with the standard "Remove this change" entry. => A click on "Add new file" will display a complex window. In it, we could specify the name of the file and the default content for it. We could propose some default content, taken from /doc-base/RFC/skeletons folders for php project (the folder to search for skeletons will be an entry into the project config file to allow others projects to specify one). On "valid", a new file will be created locally, and an editor will be open with the default content chosen. If the user decide to close the window without save the file, the file will be remove locally. If the user decide to save the file, a new entry will be added into pendingCommit module and we can decide to remove it via the default option as suggested below. Ok. This is what we have thinking about. Please, feel free to modify it, as I haven't start this development ! ;) ------------------------------------------------------------------------ [2010-03-31 20:00:34] markskilbeck@php.net Description: ------------ Unfortunately there is no way (that I can see) of to add directories and files to en/ tree. It would be hugely helpful if we had this feature. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=51449&edit=1

« previous php.doc.bugs (#4134) next »