NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Line number macro (eg @FLineNumber@)
Veteran

Joined: 30 Aug 2006
Posts: 116
Reply with quote
A macro that will pass your current line number in the Integration Command line would be super valuable.

The usage case for this is in a scenario where I want to open up my current work file in another application. currently I do so with a Shell command such as:

Code:
"C:\Program Files\application\program.exe"  "@FName@"


But since the other apps I have often support line numbers the following would be SUPER USEFUL:

Code:
"C:\Program Files\application\program.exe"  "@FName@:@FLineNumber@"


so that it would not only open the file but take me to the correct line number.





This goes really well with a previous request someone made for PHPEd to support Goto line on file open via something like this:

phped.exe filename.php:23

(to jump to line 23).
View user's profileFind all posts by rudderSend private message
Line number macro (eg @FLineNumber@)
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