Development Tools: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
(Created page with "== Text Editors == Sublime 3 '''Description''' = Sublime Text is a sophisticated text editor for code, markup and prose. You'll love the slick user interface, extraordinary ...")
 
No edit summary
(20 intermediate revisions by 6 users not shown)
Line 1: Line 1:
== Text Editors ==
{{mininav|[[Development]]|[[Add-on development]]}}


Sublime 3
Below you will find software that can be useful in Add-on Development.


'''Description''' = Sublime Text is a sophisticated text editor for code, markup and prose.
== Python IDE's ==
You'll love the slick user interface, extraordinary features and amazing performance.


'''URL''' = http://www.sublimetext.com/3
=== Visual Studio Code ===
'''Platforms'''
* Linux
* Windows
* macOS


[[File:vsc.png|600px]]


[[File:sublimetext.png]]
'''Description'''


Code editing. Redefined.Free. Built on open source. Runs everywhere.
If you're not a pro or you are not used to work with another IDE, use this.


'''Note'''


Install the 'Python' extension by Microsoft.


NotePad++
''A Visual Studio Code extension with rich support for the Python language (for all actively supported versions of the language: 2.7, >=3.5), including features such as IntelliSense, linting, debugging, code navigation, code formatting, Jupyter notebook support, refactoring, variable explorer, test explorer, snippets, and more!''


'''URL''' = http://notepad-plus-plus.org/
'''Homepage'''


'''Description''' = A very popular text editor for Windows Operating System. Very quick to launch and has a number of plugins available. Some nice text formating.
https://code.visualstudio.com/


=== PyCharm ===


'''Platforms'''
* Linux
* Windows
* macOS


[[File:Notepadplusplus.png]]
[[File:pycharm.png]]
 
'''Description'''
 
The Python IDE for Professional Developers.
 
http://www.jetbrains.com/pycharm/
 
== Auto Completion Add-ons ==
 
=== Kodistubs ===
 
[[File:kodistubs.png|600px]]
 
'''Description'''
 
The main purpose of Kodistubs is to help you to write Kodi addon code in various IDEs by providing code completion, quick access to Kodi Python API docstrings, and code inspection (linting) in IDEs that provide this feature.


When developing Python addons for Kodi it is strongly recommended to use virtual environments to isolate your development dependencies. Virtual environments are supported by all popular Python IDEs.


'''Installation'''


Within a python virtual environment of your add-on source code execute `pip install kodistubs`.


'''Homepage'''


== Python Integrated development environments ==
https://romanvm.github.io/Kodistubs


== Frameworks ==


=== KodiSwift ===


PyCharm
'''Description'''


'''URL''' = http://www.jetbrains.com/pycharm/
KodiSwift is a small framework to ease development of Kodi add-ons. It is an xbmcswift2 fork with API updates. Whether you are an experienced addon developer, or just coding your first addon, you’ll find benefits to using kodiswift.


[[File:pycharm.png]]
'''Homepage'''


https://xbmcswift2.readthedocs.io/


=== PyXBMCt ===


'''Description'''


== Auto Completion Add-ons ==
PyXBMCt is a Python framework for simple Kodi addon UI building. It was inspired by PyQt (hence the name) and shares the same basic principles, so those who are familiar with PyQt/PySide should feel themselves right at home. The framework provides 4 base classes, 9 ready-to-use widgets or, in Kodi terms, controls, a Grid layout manager and an event connection manager. PyXBMCt uses texture images from Kodi’s default Confluence skin to decorate its visual elements. Those textures are included in PyXBMCt, so UI based on it will have the same look in different skins.


'''Homepage'''


XBMCstubs
https://romanvm.github.io/script.module.pyxbmct/
'''URL''' = http://forum.xbmc.org/showthread.php?tid=173780


== Debugging ==


[[File:xbmcstubs.jpg]]
* https://kodi.wiki/view/HOW-TO:DebugAndDevelopPythonScriptsWithVisualStudio
* https://kodi.wiki/view/HOW-TO:Debug_Python_Scripts_with_Web-PDB
* https://kodi.wiki/view/HOW-TO:Debug_Python_Scripts_with_Eclipse

Revision as of 15:16, 18 November 2019

Home icon grey.png   ▶ Development ▶ Add-on development ▶ Development Tools

Below you will find software that can be useful in Add-on Development.

Python IDE's

Visual Studio Code

Platforms

  • Linux
  • Windows
  • macOS

Vsc.png

Description

Code editing. Redefined.Free. Built on open source. Runs everywhere. If you're not a pro or you are not used to work with another IDE, use this.

Note

Install the 'Python' extension by Microsoft.

A Visual Studio Code extension with rich support for the Python language (for all actively supported versions of the language: 2.7, >=3.5), including features such as IntelliSense, linting, debugging, code navigation, code formatting, Jupyter notebook support, refactoring, variable explorer, test explorer, snippets, and more!

Homepage

https://code.visualstudio.com/

PyCharm

Platforms

  • Linux
  • Windows
  • macOS

Pycharm.png

Description

The Python IDE for Professional Developers.

http://www.jetbrains.com/pycharm/

Auto Completion Add-ons

Kodistubs

Kodistubs.png

Description

The main purpose of Kodistubs is to help you to write Kodi addon code in various IDEs by providing code completion, quick access to Kodi Python API docstrings, and code inspection (linting) in IDEs that provide this feature.

When developing Python addons for Kodi it is strongly recommended to use virtual environments to isolate your development dependencies. Virtual environments are supported by all popular Python IDEs.

Installation

Within a python virtual environment of your add-on source code execute `pip install kodistubs`.

Homepage

https://romanvm.github.io/Kodistubs

Frameworks

KodiSwift

Description

KodiSwift is a small framework to ease development of Kodi add-ons. It is an xbmcswift2 fork with API updates. Whether you are an experienced addon developer, or just coding your first addon, you’ll find benefits to using kodiswift.

Homepage

https://xbmcswift2.readthedocs.io/

PyXBMCt

Description

PyXBMCt is a Python framework for simple Kodi addon UI building. It was inspired by PyQt (hence the name) and shares the same basic principles, so those who are familiar with PyQt/PySide should feel themselves right at home. The framework provides 4 base classes, 9 ready-to-use widgets or, in Kodi terms, controls, a Grid layout manager and an event connection manager. PyXBMCt uses texture images from Kodi’s default Confluence skin to decorate its visual elements. Those textures are included in PyXBMCt, so UI based on it will have the same look in different skins.

Homepage

https://romanvm.github.io/script.module.pyxbmct/

Debugging