Wish Run Comment Link when a project is loaded

stevel05

Expert
Licensed User
Longtime User
Would it be possible to be able to tag one or more comment links to be run when a project is loaded. Ideally in any module as I keep my comment links in a separate code module (linked so they can be shared between apps) to make them easy to ignore when building a B4xLib. If it were only possible from the main module, that would be OK too.

My reason for asking is that I would like to have a script run a utility app that displays the current git status for the project. Just an easy check on which branch is currently active etc..
 
Last edited:

Alessandro71

Well-Known Member
Licensed User
Longtime User
that's quite dangerous: imagine downloading and opening a project where someone has put some malicious code.
at least a confirmation dialog is needed.
 

stevel05

Expert
Licensed User
Longtime User
that's quite dangerous: imagine downloading and opening a project where someone has put some malicious code.
at least a confirmation dialog is needed.
I can see your point, but is it really any different from downloading and running a project? Unless you read all of the code in the project before you run it. And B4xlibs and compiled libraries?
 
Last edited:

Alessandro71

Well-Known Member
Licensed User
Longtime User
I can see your point, but is it really any different from downloading and running a project? Unless you read all of the code in the project before you run it. And B4xlibs and compiled libraries?
true, but not automatic at opening a project to just look at it...
 

Sandman

Expert
Licensed User
Longtime User
I would like to have a script run a utility app that displays the current git status for the project. Just an easy check on which branch is currently active etc..
I think I have a better Wish that would still fully solve this Wish. I'll see if I can post it today. I'll update this thread when done.

Wish posted. Show it some love if you like it:
 

JakeBullet70

Well-Known Member
Licensed User
Longtime User

I also always check GIT status too when loading my projects.
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…