RasmusTidselbak / al-var-helper

6 stars 6 forks source link

Can't get variables #11

Closed swoonhusker1 closed 5 years ago

swoonhusker1 commented 5 years ago

I'm sorry I must be doing something wrong. I just installed the extension and have not used VS Code as much as other powershell editors. I liked the detailed view of all variables in PowerGUI, so I installed this extension in VS Code with hopes that I could view my local/global variables without having to figure out the debugger (which I had issues with).

I read the usage of AL Variable Helper and it says to use CTRL + L or CTRL + G to view your local/global variables, but when I have my script open and I hit these keys, I get this message- image It says "command 'alvarhelper.LocalVars' not found"

Is there something easy I am missing? Thank you so much for any help you can provide!

RasmusTidselbak commented 5 years ago

The extension is for editing .al files only, it won't help you get variable values during debugging.

Can you elaborate on what you are doing when the error appear?

swoonhusker1 commented 5 years ago

Okay, maybe I'm using it wrong. I was editing a .ps1 file with VS Code. I pressed CTRL + L on the keyboard and they error came up.