|
| Auto upload file on change | |
Joined: 08 Sep 2006 |
Posts: 72 |
Location: Poland |
|
|
Posted: Fri May 11, 2007 9:06 am |
|
|
|
|
|
Just to be clear: I'm not talking about "Auto upload opened files" option in settings (:
Situation: when working on images for a website I have to save them in my graphics editor, switch to PhpED and upload new versions manually. It would be great if PhpED had a "file/folder monitor" function which would automatically upload the file when it's changed by another application or a new file is detected in monitored folder.
CuteFTP client has this feature ( http://help.globalscape.com/help/cuteftppro8/monitoring_a_local_folder_for_changes.htm), but it monitors only folders.
|
|
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
Veteran
Joined: 26 Dec 2006 |
Posts: 253 |
Location: Phoenix, AZ |
|
|
Posted: Mon May 14, 2007 2:17 pm |
|
|
|
|
|
I suggest an "Edit in External Editor" command for the Workspaces tab. Use this on a file, and the file opens in whatever external editor is assigned to that file type. If the command is chosen on its own, no auto-upload occurs; if the command is chosen with a modifier (say, shift), then the file is auto-uploaded every time it is saved in the external app. (The default state could be a pref, of course.)
As to this:
Quote: | And who uses another applications if they have PhpED anyway? It's perfect for almost everything. |
Well... the IDE is very good, but it's far from perfect for almost everything. For example, its search-and-replace facility is somewhat weak, even completely unusable for many tasks. In these cases, I find myself doing a copy-and-paste back-and-forth to another app that does it better.[/quote]
|
|
|
| | |
Joined: 08 Sep 2006 |
Posts: 72 |
Location: Poland |
|
|
Posted: Mon May 14, 2007 2:43 pm |
|
|
|
|
|
bobwilliams wrote: | I suggest an "Edit in External Editor" command for the Workspaces tab. Use this on a file, and the file opens in whatever external editor is assigned to that file type. If the command is chosen on its own, no auto-upload occurs; if the command is chosen with a modifier (say, shift), then the file is auto-uploaded every time it is saved in the external app. (The default state could be a pref, of course.) |
This would be OK if, like I mentioned earlier, people didn't work on .psd files (:
bobwilliams wrote: | For example, its search-and-replace facility is somewhat weak, even completely unusable for many tasks. In these cases, I find myself doing a copy-and-paste back-and-forth to another app that does it better. |
That's weird... I don't have any problems with search and replace.
|
|
|
| | |
Veteran
Joined: 26 Dec 2006 |
Posts: 253 |
Location: Phoenix, AZ |
|
|
Posted: Mon May 14, 2007 3:13 pm |
|
|
|
|
|
bartheq wrote: | This would be OK if, like I mentioned earlier, people didn't work on .psd files (: |
Since the user's intent would all-around be explicit, the Photoshop issue ceases to be an issue. If you don't want the file auto-uploaded when you save in Photoshop, just use the appropriate version of the command.
Quote: | That's weird... I don't have any problems with search and replace. |
Although I've run into a few bugs (which I've mostly reported), and the UI leaves some things to be desired, the biggest issue is really more the feature set. For instance, you can't do multi-line searches. My guess is, if you don't find the feature set at least a little limiting, then you're only trying to do relatively basic searches -- I find myself limited pretty much on a daily basis. But then, I got spoiled by BBEdit, which is unrivaled in this area, and developed a lot of programming habits that rely on a very powerful search-and-replace engine. For instance, with two straight-forward searches (which I have stored on a frequently-used patterns list), I can grab all the variables defined on an HTML form and then create a block of conditional $_POST-to-variable assignments on the action script that assigns them all for me. Or, I can do a search-and-replace where the replacement text is determined from a script run on the search text. I could do a lot of this in PhpED with a script, but I do so many of these sorts of things that I'd spend all my time reinventing the wheel instead of writing new code. And some things, I'm not sure are possible at all, like integrating the search-and-replace feature with the templates feature, the bookmarks feature, or the code folding feature.
Of course, this is all a bit off-topic for this thread .
|
|
|
| | |
Joined: 08 Sep 2006 |
Posts: 72 |
Location: Poland |
|
|
Posted: Tue May 15, 2007 3:54 am |
|
|
|
|
|
bobwilliams wrote: | Since the user's intent would all-around be explicit, the Photoshop issue ceases to be an issue. If you don't want the file auto-uploaded when you save in Photoshop, just use the appropriate version of the command. |
I don't want logo.psd to be uploaded but let's say logo.gif which is a result of "Save for web" in Photoshop. I'd "tell" PhpED to watch for changes in logo.gif or the whole images directory and upload in when necessary. In this case your "Edit in External Editor" wouldn't be of any use at all.
bobwilliams wrote: | Although I've run into a few bugs (which I've mostly reported), and the UI leaves some things to be desired, the biggest issue is really more the feature set. For instance, you can't do multi-line searches. My guess is, if you don't find the feature set at least a little limiting, then you're only trying to do relatively basic searches -- I find myself limited pretty much on a daily basis. But then, I got spoiled by BBEdit, which is unrivaled in this area, and developed a lot of programming habits that rely on a very powerful search-and-replace engine. For instance, with two straight-forward searches (which I have stored on a frequently-used patterns list), I can grab all the variables defined on an HTML form and then create a block of conditional $_POST-to-variable assignments on the action script that assigns them all for me. Or, I can do a search-and-replace where the replacement text is determined from a script run on the search text. I could do a lot of this in PhpED with a script, but I do so many of these sorts of things that I'd spend all my time reinventing the wheel instead of writing new code. And some things, I'm not sure are possible at all, like integrating the search-and-replace feature with the templates feature, the bookmarks feature, or the code folding feature. |
I don't get most of this, especially what variables from a HTML form have to do with PhpED's limited search and replace abilities (: I handle my forms with my own class that does what I want and how I want it to be done.
If you'd like to see some of the search and replace features you talk about in PhpED just use this forum to suggest them.
|
|
|
| | |
Veteran
Joined: 26 Dec 2006 |
Posts: 253 |
Location: Phoenix, AZ |
|
|
Posted: Tue May 15, 2007 11:57 am |
|
|
|
|
|
bartheq wrote: |
I don't want logo.psd to be uploaded but let's say logo.gif which is a result of "Save for web" in Photoshop. I'd "tell" PhpED to watch for changes in logo.gif or the whole images directory and upload in when necessary. In this case your "Edit in External Editor" wouldn't be of any use at all. |
That's definitely an edge case. It seems like the feature I suggest, along with the ability that you suggest to tell PhpED to actively watch for changes in specific files (in this case, your .gif) or directories, would handle everything elegantly, whereas either one alone leaves something to be desired.
Quote: | I don't get most of this, especially what variables from a HTML form have to do with PhpED's limited search and replace abilities |
The details aren't so important as the fact that it's an example of the sort of search-and-replace operation that I do constantly but that is completely impossible in PhpED without scripting (or even totally impossible).
Quote: | If you'd like to see some of the search and replace features you talk about in PhpED just use this forum to suggest them. |
I have. Unfortunately, it's one of those cases where, until you've spent a lot of time with something much better, most people simply can't appreciate what they're missing.
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT - 5 Hours
Page 1 of 1
|
|
|
| |