# Reformated Component.cdef; accidently ran some hidden feature?

**URL:** <https://forum.legato.io/t/reformated-component-cdef-accidently-ran-some-hidden-feature/5416>\
**Category:** Uncategorized\
**Created:** [September 22, 2020, 10:57am UTC](https://forum.legato.io/t/reformated-component-cdef-accidently-ran-some-hidden-feature/5416 "2020-09-22T10:57:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_W](https://avatars.discourse-cdn.com/v4/letter/f/b782af/32.png) [@Frank\_W](https://forum.legato.io/u/Frank_W)\
**Post date:** [September 22, 2020, 10:57am UTC](https://forum.legato.io/t/reformated-component-cdef-accidently-ran-some-hidden-feature/5416/1 "2020-09-22T10:57:03Z")

</div>

Hi there, I’m super confused.

I added some code to my app; no external library, just an additional C++ class using String and List.

After doing that, I accidently added the .cpp-File to the List twice in the .cdef-File; one entry was without the required “src/” prefix.

When compiling, I received errors like “libuuid.so.1 not found” and so on. After removing the duplicated File include, I recognized, that my .cdef-File was just broken (thanks god there is code versioning so I have a backup).

For example:

bundle:{  
api:{  
le\_net.api  
le\_dcs.api  
}  
}

became

bundle:{  
api:{  
le\_net =  
le\_net.api le\_dcs =  
le\_dcs.api  
}  
}

Library includes were corrupted, etc. etc.

I’m running Framework version 18.10 in Eclipse (the mangoh VM).

I’m 100% sure that I did NOT do these changes by hand, so I’m wondering: Is there perhaps some functionality that I might have run by a special keyboard shortcut that might cause such errors?

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [October 1, 2020, 10:44am UTC](https://forum.legato.io/t/reformated-component-cdef-accidently-ran-some-hidden-feature/5416/2 "2020-10-01T10:44:42Z")

</div>

Probably you need to give specific reproducible steps

---

<div class="post-metadata">

**Author:** ![Frank\_W](https://avatars.discourse-cdn.com/v4/letter/f/b782af/32.png) [@Frank\_W](https://forum.legato.io/u/Frank_W)\
**Post date:** [October 1, 2020, 10:56am UTC](https://forum.legato.io/t/reformated-component-cdef-accidently-ran-some-hidden-feature/5416/3 "2020-10-01T10:56:14Z")

</div>

Well, if I knew them, I would, but the required steps are the actual question 😉

Basically I checked in the source code, changed and tested for a few days and “suddenly” it was broken. I know that there is very likely no such “suddenly” and I did something, but it might have been a keyboard shortcut that I’m not aware of or some build order or whatever. Basically the question is, what could have caused that because I have absolutely no idea. 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [October 1, 2020, 11:02am UTC](https://forum.legato.io/t/reformated-component-cdef-accidently-ran-some-hidden-feature/5416/4 "2020-10-01T11:02:10Z")

</div>

Do you see this in vscode?

---

<div class="post-metadata">

**Author:** ![Frank\_W](https://avatars.discourse-cdn.com/v4/letter/f/b782af/32.png) [@Frank\_W](https://forum.legato.io/u/Frank_W)\
**Post date:** [October 1, 2020, 11:02am UTC](https://forum.legato.io/t/reformated-component-cdef-accidently-ran-some-hidden-feature/5416/5 "2020-10-01T11:02:45Z")

</div>

No, Eclipse in the Mango VM Environment; Developing in 18.10

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.legato.io/jyijyi/32/822_2.png) [@jyijyi](https://forum.legato.io/u/jyijyi)\
**Post date:** [October 1, 2020, 11:04am UTC](https://forum.legato.io/t/reformated-component-cdef-accidently-ran-some-hidden-feature/5416/6 "2020-10-01T11:04:28Z")

</div>

Then please move to vscode as the developer studio is phasing out
