poidstotal / stataRun

Provide a Visual Studio Code extension to run code(.do, .ado and command from) for Visual Studio Editor
25 stars 8 forks source link

launching Stata on macOS #16

Open eborbath opened 2 years ago

eborbath commented 2 years ago

Hi!

I can't get it to launch Stata in the VS Code terminal on a MacBook Air M1 with Stata MP 17. When I run a chunk or the entire code, Stata is launching in a new window. I tried playing around with Stata Run: Stata Path in the Settings of VS Code and added there my install location: /Applications/Stata/StataMP.app/Contents/MacOS/stata-mp but it did not help. Any ideas what I should change?

znxkxx commented 2 years ago

Hi!

I can't get it to launch Stata in the VS Code terminal on a MacBook Air M1 with Stata MP 17. When I run a chunk or the entire code, Stata is launching in a new window. I tried playing around with Stata Run: Stata Path in the Settings of VS Code and added there my install location: /Applications/Stata/StataMP.app/Contents/MacOS/stata-mp but it did not help. Any ideas what I should change?

Hi eborbath,

If you want to run stata from vscode terminal , at first you may need to manually modify the file package.json , the 89 line. from "default": "false" to "default": "true".

byelenin commented 1 year ago

Hi, Xin Xu

Could you explain more in detail which line I should change if I want to run Stata by VS code editor on Mac OS?

"the 89 line" is a little bit confusing to me as the place possibly changed in the new version of VS code.

Many Thanks.

Frank

Hi! I can't get it to launch Stata in the VS Code terminal on a MacBook Air M1 with Stata MP 17. When I run a chunk or the entire code, Stata is launching in a new window. I tried playing around with Stata Run: Stata Path in the Settings of VS Code and added there my install location: /Applications/Stata/StataMP.app/Contents/MacOS/stata-mp but it did not help. Any ideas what I should change?

Hi eborbath,

If you want to run stata from vscode terminal , at first you may need to manually modify the file package.json , the 89 line. from "default": "false" to "default": "true".

gdaudin commented 11 months ago

Hi ! I have the same issue. Line 89 in the current code does not have any "default" to change. Thanks, Guillaume