NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
File load event


Joined: 22 Jul 2011
Posts: 2
Reply with quote
Hi,


In order to optimize Team Foundation Server integration, could we have an event system to specify shell command when a file is loading?
In this way, phped could automatically "check-out files for edit" without user action.

Regards,

Jsl1
View user's profileFind all posts by jsl1Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
Do you mean SHSendMessageBroadcast() or SHChangeNotify() or something else?

If I get you right, you mean to send this even _before_ open the file -- just to get it checked out then open.
Maybe it's correct, but what if user isn't going to make any changes but debugging somebody else code? Wound't this bring certain overhead?
Perhaps, an auto-checkout would be more appreciated if it happens on attempt to edit the file, not just open.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 Jul 2011
Posts: 2
Reply with quote
Yes, you're right, it's better if check-out append when we start editing Wink

You talk about SHSendMessageBroadcast() or SHChangeNotify(), Do you mean there is an API we can use to make plugin for PhpEd, I don't find any information about in the forum.

My idea was just to have an entry "Events" menu witch work the same way as the "Integration menu" in the settings. But if we can make dll to extend PhpEd, it can be great too (and more efficient). In all way i need to do some code because i don't want to call the "check-out" command on any files without checking that it is under source control. So i will make an executable witch call the command only if it needs to.

Regards

Jsl1
View user's profileFind all posts by jsl1Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
jsl1 wrote:
My idea was just to have an entry "Events" menu witch work the same way as the "Integration menu" in the settings.


Thanks for explanation. Now it's clearer what you mean.
I'll check what can be done in this area.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
File load event
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  

  
  
 Reply to topic