# Extending the editor?

**URL:** <https://forum.defold.com/t/extending-the-editor/579>\
**Category:** Questions\
**Created:** [December 3, 2015, 8:23pm UTC](https://forum.defold.com/t/extending-the-editor/579 "2015-12-03T20:23:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TylerW](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/tylerw/32/197_2.png) [@TylerW](https://forum.defold.com/u/TylerW)\
**Post date:** [December 3, 2015, 8:23pm UTC](https://forum.defold.com/t/extending-the-editor/579/1 "2015-12-03T20:23:14Z")

</div>

I am going to port an old unity game I started on to Defold. Unity allowed me to extend the editor to kinda streamline certain aspects of levels in my game. For example I made an easy way to make waypoints an NPC would follow by just clicking a button which would create the waypoint parent object and add waypoints under it that I could drag around and order, I would click an add waypoint button and drag it to where the next point should be. Another example is pairing two objects, one is a trigger and another is triggerable, when you would click on the trigger in the hierarchy it would paint a debug line to the triggerable object it is paired with so you could easily see what that trigger does.

I’m sure someone could think of some other examples but is there some example of extending the editor?

---

<div class="post-metadata">

**Author:** ![sicher](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/sicher/32/8_2.png) [@sicher](https://forum.defold.com/u/sicher)\
**Post date:** [December 4, 2015, 9:26am UTC](https://forum.defold.com/t/extending-the-editor/579/2 "2015-12-04T09:26:12Z")

</div>

You will be able to extend the editor in the future. Note though that the data format used in Defold is very easy to work with if you want to set up a custom pipeline with scripts and/or external tools.

---

<div class="post-metadata">

**Author:** ![kumokairo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/kumokairo/32/7534_2.png) [@kumokairo](https://forum.defold.com/u/kumokairo)\
**Post date:** [February 8, 2018, 10:55am UTC](https://forum.defold.com/t/extending-the-editor/579/3 "2018-02-08T10:55:22Z")

</div>

@sicher is there new info on this? Using a Defold 2 maybe? I could only google up the Native Extensions in Defold, but it doesn’t seem to be the same thing (that is - it’s not for editor extension)

> Note though that the data format used in Defold is very easy to work with if you want to set up a custom pipeline with scripts and/or external tools.

Is there any info on the data format specs? It looks like JSON, but not quite - there are quite a few “embedded” strings, especially for components, which require some parsing.

---

<div class="post-metadata">

**Author:** ![sicher](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/sicher/32/8_2.png) [@sicher](https://forum.defold.com/u/sicher)\
**Post date:** [February 8, 2018, 11:11am UTC](https://forum.defold.com/t/extending-the-editor/579/4 "2018-02-08T11:11:00Z")

</div>

> [@kumokairo](#):
>
> is there new info on this? Using a Defold 2 maybe? I could only google up the Native Extensions in Defold, but it doesn’t seem to be the same thing (that is - it’s not for editor extension)

No news. This is a very long term goal and, as you suspect, very different from native extensions which are extensions to the engine runtime.

> [@kumokairo](#):
>
> Is there any info on the data format specs? It looks like JSON, but not quite - there are quite a few “embedded” strings, especially for components, which require some parsing.

It’s not json but a human readable version of protobuf. We do not publish any specs since the format may change.

---

<div class="post-metadata">

**Author:** ![kumokairo](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/kumokairo/32/7534_2.png) [@kumokairo](https://forum.defold.com/u/kumokairo)\
**Post date:** [February 8, 2018, 11:20am UTC](https://forum.defold.com/t/extending-the-editor/579/5 "2018-02-08T11:20:42Z")

</div>

I see  
All hail custom separate GUI-tooley-tools!

---

<div class="post-metadata">

**Author:** ![Mattias\_Hedberg](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mattias_hedberg/32/433_2.png) [@Mattias\_Hedberg](https://forum.defold.com/u/Mattias_Hedberg)\
**Post date:** [February 8, 2018, 12:19pm UTC](https://forum.defold.com/t/extending-the-editor/579/6 "2018-02-08T12:19:21Z")

</div>

> [@kumokairo](#):
>
> Is there any info on the data format specs? It looks like JSON, but not quite - there are quite a few “embedded” strings, especially for components, which require some parsing.

I have written a python module/tool for editing/parsing Defold files that I call [DefTree](https://forum.defold.com/t/deftree-a-python-module-for-editing-defold-files/15210), with its help you can write some standalone tools for checking/creating/editing files.
