Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using the "-" symbol as a marker in /*/....../*/
#1
Here’s an interesting idea of mine Wink :

Sometimes, for various reasons, I don’t want to reference (or temporarily disable) a certain class file or DLL file. Adding or removing these paths can be inconvenient.
It would be much easier if we could achieve this by adding a "-" symbol before the r or c or nuget marker. For example:
/*/ -nuget spire\spire.doc; -r %dll%\spire\Spire.Doc.dll; -c PowerShellEx.cs; /*/

Similarly,
if `role exeProgram` is changed to `-role exeProgram`, the role would automatically switch to `miniProgram`.
/*/ -role exeProgram; /*/
#2
Good idea. I'll add this feature probably. If -r or //r, will ignore this option, like a comment.

Currently, when need it, I clone the line, edit, and then swap lines. LA uses only the first line.
/*/ options 1 /*/
/*/ options 2 /*/

/*/ options 2 /*/
/*/ options 1 /*/
#3
thank you, 

also:
/*/ -postBuild postBuild_addNetRT; -preBuild preBuild_addNetRT;/*/
#4
Could also add the parameters described below to enable/disable the file? This is very useful in many cases and works the same way as QM operations.
/*/ -disabled; /*/
/*/ disabled; /*/
https://www.quickmacros.com/forum/showth...9#pid37989
#5
Supports adding comments using
Code:
Copy      Help
//
in multiple lines

/*/
-role exeProgram; //comment role
-postBuild postBuild_addNetRT; //comment postBuild
-outputPath %folders.Workspace%\exe\PowerShellEx_T1; //comment outputPath
-nuget spire\spire.doc; //comment nuget
-r %dll%\spire.Doc.dll // comment dll
-c PowerShellEx.cs; // comment class file
/*/


Forum Jump:


Users browsing this thread: 2 Guest(s)