voidstar0/bpre

Activate Visual Studio Code preview tooltip for bmak property

azerpas opened this issue · 1 comments

That would help a lot for debugging.

The ternary operator in this line https://github.com/char/bpre/blob/ff4f024cd2808b0e35afcdf9793ba56abe85260f/akamai/1.7.js#L5 is preventing the activation of VS Code preview function.

With the ternary operator

with

Without it

without

By removing the if then and just keeping the else, we could access the preview functionnality in the whole file.
@char what do you think? I could add a comment like you did here: https://github.com/char/bpre/blob/ff4f024cd2808b0e35afcdf9793ba56abe85260f/akamai/1.7.js#L247-L252

Noticed this as well. Pushing a fix to akamai-deobfuscator to handle this.