Godot-Languages-Support / godot-lang-support

A community-maintained list of Language Support Projects for Godot Engine.
Creative Commons Attribution 4.0 International
324 stars 18 forks source link

Python #26

Open ShalokShalom opened 4 years ago

ShalokShalom commented 4 years ago

The Python plugin manager mentions debugging support in Pycharm, I asked him to specify that, so to give us a good overview of the supported editors and the supported platforms as well.

This serves as the main Python issue, and stays open, as all the other language specific issues.

Much thanks 🥳

touilleMan commented 4 years ago

The Python plugin manager mentions debugging support in Pycharm

To be honest I don't use Pycharm at all, this support was provided by a contributor (see https://github.com/touilleMan/godot-python/pull/86)

Godot-Python aims at being editor agnostic (you can code Python from within the Godot integrated editor, use any external editor or do both at the same time ^^).

ShalokShalom commented 4 years ago

So, so far as I understand, does this mean no auto-completion and stuff like that for Godot specific API calls and so on, yes?

touilleMan commented 4 years ago

Godot-Python provides .pyi (stub files providing typing information) files that are the standard for autocompletion (and static type checking with mypy&co) on Python

ShalokShalom commented 4 years ago

I mean more for the Godot specific stuff, while this is also interesting. 🙂

cridenour commented 4 years ago

The stub files are for the Godot specific stuff.

ShalokShalom commented 4 years ago

And who can use those stub files?

cridenour commented 4 years ago

I've not come across an IDE who can't. PyCharm, VS Code, etc all support them.