For example, based on: Purpose of the languages selector in the Python Console
I am familiar with git and reporting a bug. But my question is: How do you go about solving such a bug?
Blender uses C/C++ and Python. And think its a python script bug. After downloading blender source code and successfully compiled it.
Looking into:
blender/release/scripts/bl_operators/console.py
blender/release/scripts/bl_ui/space_console.py
and
blender/release/scripts/modules/console_python
blender/release/scripts/modules/console_shell
Apparently, using the linked example to add shell
to space_data
adds the shell environment into console language.
(I used bpy.ops.console.language(language=shell)
with same result).
However, for the life in me, I could not find a solution to show the language at startup. Unless its hard coded into space_console
. But that is not an elegant solution..
So, in brief, I think, blender looks up for modules in path, but not picking up console_shell.py? to be added into language list.