duality-docs icon indicating copy to clipboard operation
duality-docs copied to clipboard

Write Article(s) on Extending the Editor

Open deanljohnson opened this issue 7 years ago • 4 comments

Summary

As indicated here, there is a decent amount of interest in learning how to extend the editor. Besides digging through the Duality source code, there is really no way to learn this.

Analysis

  • ~~EditorAction<T> and EditorSingleAction<T>~~
  • Undo/Redo action
  • Useful bits like DualityEditorApp.ObjectPropertyChanged
  • Custom PropertyEditors/PreviewGenerators/Importers
  • Integrating custom windows (docking for example)

Side Note: None of the things listed above are well documented within the codebase either (except UndoRedoAction). As they are things that people writing extensions are likely to interact with, I think improving XML doc intellisense could be very beneficial.

deanljohnson avatar May 09 '18 19:05 deanljohnson

Editor docs could definitely use a lot of improvement, both in code (not this issue) and via docs pages. Any work on this would be greatly appreciated.

ilexp avatar May 10 '18 18:05 ilexp

I am going to start working on bits of this at least. I'm starting with the code side though as I feel I'll be able to write much better articles after spending some time documenting the code. I don't know the ins and outs of many of these subjects yet.

deanljohnson avatar May 11 '18 06:05 deanljohnson

Sounds good 👍 Let me know if you need assistance, or have any questions.

ilexp avatar May 11 '18 13:05 ilexp

Some progress: Merged a new article on Custom Editor Actions by @deanljohnson, see PR #24

ilexp avatar May 24 '18 17:05 ilexp