sieukrem / jn-npp-plugin

Plugin for Notepad++ allowing you to automate some tasks using JavaScript
https://github.com/sieukrem/jn-npp-plugin/wiki
110 stars 24 forks source link

how to print values of variables? #121

Closed Skrell closed 1 year ago

Skrell commented 1 year ago

If I add a function in a *.js file and want to see the value of a certain variable how do I do that? I see no way to print to a console or popup a notification dialog ?

sieukrem commented 1 year ago

You can use alert(myvar)

You can inspire you in wiki https://github.com/sieukrem/jn-npp-plugin/wiki

Skrell commented 1 year ago

You can use alert(myvar)

You can inspire you in wiki https://github.com/sieukrem/jn-npp-plugin/wiki

I tried using alert(myvar) but nothing pops up on the screen. Where does the alert print to?

Skrell commented 1 year ago

Nm figured it out! You can close this thread!