Skip to content

Add completion and signature help to Blender Text Editor - #40

Merged
denikryt merged 2 commits into
mainfrom
feature/text-editor-intelligence
Oct 21, 2026
Merged

denikryt merged 2 commits into
mainfrom
feature/text-editor-intelligence

Conversation

@denikryt

Copy link
Copy Markdown
Owner

Summary

Add opt-in NodeForge-aware completion and signature help to Blender’s Text Editor.

  • Complete Core DSL names, installed package callables, Local imports and functions, and functions defined in the current text.
  • Show callable parameters, the active argument, keyword suggestions, and available return types or named outputs.
  • Support package and Local import aliases.
  • Add a Text Editor header toggle and Refresh action. Use Up/Down to select a suggestion, Tab to insert it, and Esc to dismiss the popup.
  • Reuse NodeForge’s resolved package and Local catalogs and semantic contracts without building Geometry Nodes while editing.

Extension integration

  • Register and unregister the editor UI with NodeForge.
  • Include the new editor/ module in the Blender Extension ZIP.
  • Update package-backed editor tests for the current package installer and document the feature in the README.

…Editor

- Add autocomplete for built-in functions, package members, and Local imports
- Support qualified calls, import aliases, and script-local functions
- Add parameter suggestions with types and default values
- Display function signatures and return types, including multiple outputs
- Add a custom autocomplete popup with keyboard navigation and Tab insertion
- Support multi-line signatures, scrolling, and active parameter highlighting
- Reuse NodeForge semantic contracts and callable resolution for suggestions
- Add caching for function metadata and refresh support for Local and packages
- Integrate with Blender Text Editor without overriding native text input
- Add regression tests for completion, signatures, and popup behavior
@denikryt
denikryt force-pushed the feature/text-editor-intelligence branch from efca5bb to 65d8be1 Compare October 21, 2026 21:07
@denikryt
denikryt merged commit 30d8160 into main Oct 21, 2026
5 checks passed
@denikryt
denikryt deleted the feature/text-editor-intelligence branch October 21, 2026 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant