Open ALL project files at the same time

Project, workspace, and file management issues

Open ALL project files at the same time

Postby NBG9 » Mon Mar 20, 2006 12:34 pm

Hello,

i've created a project and added all php-files to it.

Now i would like to open the whole project with ONE click and ALL php-files should open...

How can this be done?
User avatar
NBG9
Newbie
 
Posts: 1
Joined: Mon Mar 20, 2006 12:00 am

Re: Open ALL project files at the same time

Postby Mofi » Sat Apr 01, 2006 12:34 pm

There is no ONE click solution. Do you know the Quick open dialog which lets you open all *.php files from all directories beginning from a specified directory?

If you open once all your project files and have it all open when closing the project or UltraEdit, they will be always opened again if you open the project later again.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3937
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Open ALL project files at the same time

Postby srees » Thu Aug 02, 2007 9:15 am

This may help a bit.
You can open all (or many) project files be selecting them in the project window on the left.
you can hold CTRL down and click on the files you want to open then right click and select open.

Or you can marqee select all the files then reight click to select open.

This may not be quite so simple if you have whole directories added to the project though.
User avatar
srees
Newbie
 
Posts: 1
Joined: Wed Aug 01, 2007 11:00 pm

Re: Open ALL project files at the same time

Postby Mofi » Fri Aug 03, 2007 7:19 am

Here is a small macro which opens all project files.

It works only for non FTP project files. (To be more precise, I have not tested it with FTP projects.)

It works only for UltraEdit v10.20 or later and all versions of UEStudio. Without the first line it should work also for UltraEdit v9.10 and later, but then you have to run the Find In Files on Project Files with an empty search string and with option Results to Edit Window checked manually.

If you use an UltraEdit version prior v12.00 or an UEStudio version prior v5.50 delete the command UnicodeToASCII from the macro code because those versions already create the Find In Files results window as ASCII file and not as Unicode file.

The conversion from Unicode to ASCII means also that the full file names of the project files cannot contain Unicode characters. I have not tested if this macro would also work without conversion from Unicode to ASCII.

The macro property Continue if a Find with Replace not found must be checked for this macro.

FindInFiles ProjFiles "" "" ""
Loop
Find MatchCase Up "Search complete, found "
IfFound
ExitLoop
Else
NextWindow
EndIf
EndLoop
DeleteLine
Top
UnicodeToASCII
Loop
IfEof
ExitLoop
EndIf
StartSelect
Key END
Open "^s"
NextWindow
EndSelect
DeleteLine
EndLoop
CloseFile NoSave
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 3937
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna


Return to Projects/Workspace

cron