PyCharm Operations: Difference between revisions
Jump to navigation
Jump to search
Line 28: | Line 28: | ||
==Configure Type Rendering== | ==Configure Type Rendering== | ||
{{External|https://www.jetbrains.com/help/pycharm/customizing-views.html}} | {{External|https://www.jetbrains.com/help/pycharm/customizing-views.html}} | ||
Preferences → Build, Execution, Deployment → Debugger → Python Type Renderers → + | |||
Renderer name: Default | |||
Apply renderer to objects of type: object or builtins.object <font color=darkkhaki>did not work.</font> | |||
When rendering a node: Use the following expression: <code>str(self)</code>. |
Revision as of 20:12, 23 May 2023
Internal
Overview
Create a Simple, Standalone Project
File → New Project → Location: the project root. If the directory does not exist, it will be created. This is the project that will host the entry point and the virtual environment directory.
Python Interpreter: New Virtual environment.
New environment using Virtualenv.
Location: "venv" inside the project directory.
Create a PyCharm Project in top of a Manually-Created Project
Shortcuts
Run the program: Control ⌃ + R
Search Everywhere
Shift Shift
Indent Code in Block
Select the block then Ctrl + Option (Alt) + I
Debugging Configuration
Configure Type Rendering
Preferences → Build, Execution, Deployment → Debugger → Python Type Renderers → +
Renderer name: Default
Apply renderer to objects of type: object or builtins.object did not work.
When rendering a node: Use the following expression: str(self)
.