Comparison between the old and the new configuration dialog in KDevelop |
There's also news in kdev-python: The Python 3 version is progressing somewhat quickly, and it might be worth trying it out already! If you want to do that, just checkout the python3 branch, you can use it with kdevelop/kdevplatform master (not 1.4!).
There's two pretty significant (altough mostly internal) changes:
- The KDevelop hints (like "this function returns a type equivalent to the type of its first parameter") are now stored in comments instead of decorators. This should make it possible to use them in custom projects with less hassle. See the builtindocumentation.py file for examples of what the new syntax looks like, and feel free to suggest new such hints!
- Python 3 has nice features for annotating functions, you can do something like def myfun(arg: int) -> int: ...
This is now supported by kdev-python, the annotations will be parsed and added to the duchain. However, this will only happen if your annotation expressions return a type: If you annotate your arguments with e.g. strings explaining what they do, that's fine, kdev-python will ignore them.