Comments (9)
As a workaround, if you unzip the sublime-package (you can find the path in the console window when it errors), you can change the version in the .python-version file from 3.4.3 to 3.8 (or 3.3) and it appears to work correctly. There's PR already open.
from sublime_docblockr_python.
Sublime Text has two built-in python interpreter versions, namely 3.3
and 3.x
, of which 3.3
will not change, and 3.x
will change with version updates.
The ST plug-in uses version 3.3
by default when it does not specify an interpreter.
But sublime_docblockr_python
uses .python_version
to specify an interpreter version 3.4.3
that has been used and is now invalid, causing the plug-in to not work properly.
Now this repository is no longer updated. It is not recommended to use this .python-version
file anymore, just delete it and it will be normal.
from sublime_docblockr_python.
How to do that if there is only the
DocBlockr_Python.sublime-package
file in ST4 config folder?
DocBlockr_Python.sublime-package
is essentially a compressed file, you can rename it to DocBlockr_Python.zip
, then unzip it, and delete the .python-version
file.
Then you should recompress it to a zip file, and rename it to DocBlockr_Python.sublime-package
.
Finally, copy or move the new DocBlockr_Python.sublime-package
to the Installed Packages
directory.
from sublime_docblockr_python.
I'm also still having this issue.
This was also mentioned in issue #47, but the creator of that thread closed it...
from sublime_docblockr_python.
Looks like merge #48 fixes the issue. The owners of the repo just need to test it and merge it.
from sublime_docblockr_python.
Now this repository is no longer updated. It is not recommended to use this
.python-version
file anymore, just delete it and it will be normal.
How to do that if there is only the DocBlockr_Python.sublime-package
file in ST4 config folder?
from sublime_docblockr_python.
I ended up personally just switching to this, and it's been quite a nice replacement for this old package
https://packagecontrol.io/packages/AutoDocstring
from sublime_docblockr_python.
How to do that if there is only the
DocBlockr_Python.sublime-package
file in ST4 config folder?
DocBlockr_Python.sublime-package
is essentially a compressed file, you can rename it toDocBlockr_Python.zip
, then unzip it, and delete the.python-version
file. Then you should recompress it to a zip file, and rename it toDocBlockr_Python.sublime-package
. Finally, copy or move the newDocBlockr_Python.sublime-package
to theInstalled Packages
directory.
I tried it, but failed.
from sublime_docblockr_python.
Try it: https://github.com/thep0y/python-docblockr/releases/latest
from sublime_docblockr_python.
Related Issues (20)
- I did a fresh install of build 3126 and installed this and it doesn't seem to be working. HOT 4
- First line description HOT 3
- ***<Enter> trigger does nothing HOT 4
- cls argument is ignored even if it's not the first argument. HOT 1
- Stopped working. Enter does not give docstring anymore HOT 2
- Suuport MagicPython? HOT 1
- Variables from other classes being fetched HOT 4
- Handle duplicates of Exceptions
- Creates docstrings with whitespaces in numpty HOT 2
- Not working with MagicPython syntax HOT 11
- doesn't work with argument type hinting
- doesn't work with return type hinting
- doesn't work when return statement followed by string literal
- parser breaks when square brackets in default value HOT 2
- Where to put custom formatter?
- Unexpected behavior at the end of docstring
- Creates docstrings of functions with multi-line parameters
- Update docstring
- Can't work in ST4 HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sublime_docblockr_python.