Logo
Explore Help
Register Sign In
griefith/test2
1
0
Fork 0
You've already forked test2
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
Files
fba76712051331ab15272bcf1fe4e654775e4bdc
test2/scripts/presets/text_editor/Internal.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

7 lines
118 B
Python
Raw Normal View History

UI: Add a custom text editor preference Add a user preference to set up a custom text editor for editing text files with the "Edit Source" action in the UI context menu. - An operator TEXT_OT_jump_to_file_at_point has been added. - A custom editor can be set in the user preferences. - A preset has been included for "Visual Studio Code". - When the editor is not set, use Blender's internal editor. Ref !108299.
2023-05-25 16:25:46 -06:00
import bpy
filepaths = bpy.context.preferences.filepaths
filepaths.text_editor = ""
filepaths.text_editor_args = ""
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.6 Page: 122ms Template: 2ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API