nbstata
nbstata copied to clipboard
Change Jupyter Lab export menu wording from "Executable Script" to "Stata (.do)"
That functionality is already present, the same as in pystata_kernel. In Jupyter Lab, it's just referred to as "Executable Script" in that menu, but it will output a .do file.
Are you seeing something different in nbstata's behavior in this regard, or just checking before you try it?
Oh, right. I was expecting to see "Stata (.do)" on Jupyter Lab so must have missed that. Would it make sense (and be possible) to relabel this to be in line with the Jupyter Notebook label?
I would like that, too. I'll look into whether it's possible.
Ok, I see one way that is possible but fairly involved. I'd have to make it so that pip-installing nbstata installs a JupyterLab extension that adds a menu item. In principle it shouldn't be too complicated, but my experience of working with the syntax highlighting extension has been pretty exasperating (though maybe that's mostly because I'm trying to do some JavaScript stuff without properly learning JavaScript).