ct6502 / vscode-idl

VS Code Extension for IDL (Interactive Data Language)
Other
16 stars 6 forks source link

Feature suggestion #5

Closed astrowq closed 4 years ago

astrowq commented 4 years ago

Hi, I have enjoyed using this extension for several months. Could I suggest two features which I think would further improve the usability of this great tool?

  1. able to run or compile the pro file using the command palette (Ctrl+Shift+P), so I don't have to click the Run/Compile button in the panel every time
  2. simple debug functionality which enables to insert breakpoints

Maybe a related question about debugging in IDL, I can only access the variables inside the called procedure/function but no variables outside it or in the main program. Can I ask if there is a way to resolve this?

znorman-harris commented 4 years ago

Hello! I'll take a look at getting the command palette/having the ability to use a keyboard shortcut for compiling files instead of having the click the button. I'll try to take a look at adding this in the next week or two.

Debugging is a fun one and here is why:

I have thought about some different ways to go about this in VSCode, but wasn't sure how nice the user experience would be and maybe you could provide some feedback. I was thinking about doing this:

znorman-harris commented 4 years ago

Just published v1.7.0 which has commands for the button clicks.

I'll look into debugging a bit more as well.

astrowq commented 4 years ago

Thanks a lot for the quick update and it's working nicely! Now I don't have to go to the IDL panel every time. It saves lots of time!

znorman-harris commented 4 years ago

Great to hear! If you didn't know, you can also bind commands as keyboard extensions so you don't have to open the command palette every time.

znorman-harris commented 4 years ago

Forgot to add, I made a separate issue #6 for debugging which I'll take a look at next.

astrowq commented 4 years ago

Great to hear! If you didn't know, you can also bind commands as keyboard extensions so you don't have to open the command palette every time.

Oh yeah, thanks for that. I knew the binding but never tried this. I will give it a go!