-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Micropython plugin NOVA #297
Comments
Thank you for picking up support of this useful plugin again! The list of upcoming features looks great, I am really looking forward to the update. Only two things to add, could we also get standalone support for ESP32 devices? They work through ESP8266 but I am not sure if that is the way they are meant to work. And talking about making the plugin more like Thonny, the flashing speed is sometimes quite slow for uploading larger files (websites that have over 1 mb can take a while to upload. Speeding up the flashing would also make working with this plugin more pleasant. |
Thanks, that's our plan, but we have a very low manpower now.
Well, I tried ESP32 as ESP8266, and it more or less works.
|
micropython-stubs maintainer here; Im sure they are not perfect , but neither are outdated stubs. |
@Josverl, that's cool to see your encourage. I'd prefer to download the stubs from somewhere rather than keep ours inside the plugin. But don't see a reliable way to do that. I think I have seen your repository, and I could not find the algorithm to find the best stub for a particular board. |
Pip is your friend. The stubs for all released versions are published to PyPI, so if you know the port, and optionally the board, you can use pip to install the stubs into a venv or folder. For both boards and ports you need the identical names as used in the micropython repo. Adding a version or requirements-dev.txt file makes that more repeatable. I have rolled-my-own docs for pycharm configuration, But more than happy to add or integrate with this project on specific or alternate instructions. Update: |
One thing that is good about the manual updates that have been done on the stubs in this repo is that there contributors have taken the effort to improve the paramater and return type annotations beyond what I am able to generate automatically. I have ben considering to merge these annotations and @Overloads (back) into the micropython-stubs. The plans in the MicroPython org are to 'adopt' the micropython-stubs and use them as the base for documentation (rather than the reverse) . While the the timelines are not quite clear, the intent is. In the mean time I keep looking for improvements , this is something that could possibly reduce the effort here, while improving the quality overall. |
Thanks, that's goldy. |
Makes sense, there are a few other options as well, |
Let's build another UI for the plugin, closer to ideas implemented in Thonny:
The text was updated successfully, but these errors were encountered: