Hello, I've been trying to make a third-party text editor work as do-file editor. I use Sublime Text for Latex, and it's just infinitely better at handling code than Statas own do-file editor.
However, there is this problem, which seems to be a generel problem not just for Sublime Text, but also Textpad and maybe other editors. I'll describe the problem here in its specific Sublime Text variant, but I'm pretty sure it is a general one:
I'm trying to make the STATA (Enhanced) plugin work, for Sublime Text 3. I'm on a W7 machine. The problem is, I've installed the plugin and edited the "STATA Enhanced (windows).sublime-settings file to look like this, as per instructions:
{ "stata_version": 13, "stata_name": "C:/Program Files (x86)/Stata13/StataMP-64.exe" }
and also I've changed STATAs preferences so that STATA runs do-files automagically, also per instructions.
And it works, with Ctrl+Enter STATA runs do-files from Sublime Text. However- every time I run a command, it opens a new instance of STATA. That's very impractical, but I don't know what to do about it. The readme doesn't mention this problem and haven't been able to find a solution on the net.
there seems to be some kind of option missing, that tells STATA to run the command in the already-opened instance of the application and not open a new one. I think this is parallel to Stata opening a new instance if you open a do-file directly instead of through the already-opened instance of Stata.
So I'm at a loss, do you know what to do about it?
Thank you in advance, Emil
However, there is this problem, which seems to be a generel problem not just for Sublime Text, but also Textpad and maybe other editors. I'll describe the problem here in its specific Sublime Text variant, but I'm pretty sure it is a general one:
I'm trying to make the STATA (Enhanced) plugin work, for Sublime Text 3. I'm on a W7 machine. The problem is, I've installed the plugin and edited the "STATA Enhanced (windows).sublime-settings file to look like this, as per instructions:
{ "stata_version": 13, "stata_name": "C:/Program Files (x86)/Stata13/StataMP-64.exe" }
and also I've changed STATAs preferences so that STATA runs do-files automagically, also per instructions.
And it works, with Ctrl+Enter STATA runs do-files from Sublime Text. However- every time I run a command, it opens a new instance of STATA. That's very impractical, but I don't know what to do about it. The readme doesn't mention this problem and haven't been able to find a solution on the net.
there seems to be some kind of option missing, that tells STATA to run the command in the already-opened instance of the application and not open a new one. I think this is parallel to Stata opening a new instance if you open a do-file directly instead of through the already-opened instance of Stata.
So I'm at a loss, do you know what to do about it?
Thank you in advance, Emil
Comment