NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Insert Date & Time etc...


Joined: 29 Mar 2018
Posts: 46
Reply with quote
Hi,
I was wondering if it would be at all possible to be able to insert the current date and time from a menu or keystroke.
Then I thought what would really be nice would be to have a tab on the settings dialog that would allow project information to be entered that could then be used within a PhpDoc block for example.
So that when I enter @author it would follow that with the author name entered into the settings tab.
The same would follow for the obvious options with also the current datetime entered after I use @datetime.
I am 60+ and a keen phper but as the time is slowly ticking away, any time saving feature would be gratefully appreciated.

Thanks and kind regards,

jB Cool
View user's profileFind all posts by britescSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8342
Reply with quote
actually you can insert anything you want and have it inserted with with any shortcut you can imagine. See Tools->Settings->Integration. You can create a menu item with "Execute with -> Shell", place @PHP@ macro with a path to your script that produces something in the output. Then check "Show this command in File Bar popup", check "work with editor", check "return results to editor" and finally check "insert".

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


Joined: 29 Mar 2018
Posts: 46
Reply with quote
Excellent thank you works a treat.
Would still be nice to have it as a feature (please)

kind regards,
jB Cool
View user's profileFind all posts by britescSend private message
Insert Date & Time etc...
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