Add helpers for working with external files and docs
This commit is contained in:
parent
9d9fd57fe6
commit
7dc083e361
10 changed files with 114 additions and 4 deletions
15
README.md
15
README.md
|
|
@ -106,6 +106,19 @@ some_node_name(some_input=5, some_vector=(1, 2, 3))
|
|||
### External Editing
|
||||
Blender's *Text Editor* leaves a lot to be desired. Editing scripts in an IDE like Visual Studio Code can provide a nicer experience with code completion, type hints, and more.
|
||||
|
||||
Documentation and typeshed files are automatically generated when you install the add-on. You can find instructions for using them in your IDE in the add-on preferences.
|
||||
To open an external Python file:
|
||||
|
||||
1. Select the open icon in Blender's Text Editor
|
||||
2. Navigate to the file, then open the sidebar (click the gear icon or press *N*) and uncheck *Make Internal*
|
||||
|
||||

|
||||
|
||||
3. Click *Open Text*
|
||||
4. At the top of the Text Editor, enable Geometry Script's *Auto Resolve* feature. This will make sure the opened file automatically accepts any changes made in an external editor.
|
||||
|
||||

|
||||
|
||||
### Documentation
|
||||
Documentation and typeshed files are automatically generated when you install the add-on. You can find instructions for using them with your IDE in the add-on preferences.
|
||||
|
||||

|
||||
Reference in a new issue