


The View Package File command from the command palette will allow you to see (in a read-only view) the contents of any file contained in any package, so you’d use that if you want to peek at the default plugins mentioned in the API docs to see what they’re doing.Īll that said, it’s probably important to also mention that writing plugins for Sublime isn’t done by writing Python code and executing it in an external Python interpreter. That’s to stop you from trying to modify one, which is a decidedly bad idea. Packages that ship with Sublime (such as the Default package) are stored as sublime-package files in a special directory in the Sublime installation folder and not in the Packages folder. I also tried to find the Example Plugins in $USER/.config.sublime-text-3/Packages/Default but the folder doesn’t even exist and I honestly cant remember deleting it. I really don’t feel like randomly installing and uninstalling pip packages though.Īny way the one thing I know for sure is that I’m not certain about any of this. Pip’s allot like playing darts after you’ve stabbed your eyeballs out with a rusty fork yet I’m determined to figure out how to get a bullseye.

I did notice a single package in pip3 search that seems like it could be a python3 version of sublime text called sublime-text but pip is lacking on it’s available package information so it could establish a connection to an ant farm on a small planet of Proxima Centauri C. But I cant find any examples to draw inspiration let alone a fix. Maybe it’s in a different Packages folder the API page is pretty ambiguous but I understand the necessity being a cross platform program. So I went looking and there are a few sublime packages in pip3 search sublime that I could install sublime-cli, sublime-python, sublime_harness including venv’s I never knew existed, pretty cool but I dont think will really solve my problem as if others were to use the plugin they would have to pip3 install sublime-whatever* as well? I don’t know which package to install even to test. I think that the build system only effects the the code interpreter used to run the users code not Sublime Package code but im guessing because really how would I know im just a monkey? My code is python3 as python2 is dead but it seems to be being run as python2 inside sublimes inner workings beyond using a New Build System set as python3 which I have setup.
