vscode-R icon indicating copy to clipboard operation
vscode-R copied to clipboard

Fix R terminal attachment when the `r.rterm` setting contains only the executable file name

Open astrochemx opened this issue 7 months ago • 0 comments

What problem did you solve?

This PR fixes R terminal attachment when the r.rterm setting contains only the executable file name. It takes into account if the executable file name already contains the .exe extension in case of the win32 platform.

In addition, this PR:

  • fixes launch.json and changes outDir to dist in all places to fix the extension debugging in VSCode;
  • switches to the Node.js built-in crypto module from the deprecated external one;
  • adds a proper problemMatcher to the npm watch task (the required extension amodio.tsl-problem-matcher is added to the extensions.json);
  • updates settings.json file and fixes formatting in some files;
  • fixes an error message when the extension cannot find the R path.

I would love to hear your thoughts and suggestions on this!

Looking forward to your review and feedback. Thanks!

astrochemx avatar Jul 17 '24 22:07 astrochemx