Error in 78943edc5d
The key was not included in the appropriate condition block, leading to
an error.
13 lines
273 B
Python
13 lines
273 B
Python
import bpy
|
|
import platform
|
|
|
|
filepaths = bpy.context.preferences.filepaths
|
|
|
|
filepaths.text_editor_args = "-g $filepath:$line:$column"
|
|
|
|
match platform.system():
|
|
case "Windows":
|
|
filepaths.text_editor = "code.cmd"
|
|
case _:
|
|
filepaths.text_editor = "code"
|