# XML Documentation does not auto expand on the first type in a unit

**URL:** https://talk.remobjects.com/t/xml-documentation-does-not-auto-expand-on-the-first-type-in-a-unit/20531
**Category:** Oxygene
**Created:** [October 11, 2019, 6:00pm UTC](https://talk.remobjects.com/t/xml-documentation-does-not-auto-expand-on-the-first-type-in-a-unit/20531 "2019-10-11T18:00:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Theo69](https://talk.remobjects.com/letter_avatar_proxy/v4/letter/t/35a633/32.png) [@Theo69](https://talk.remobjects.com/u/Theo69)
#### Post date: [October 11, 2019, 6:00pm UTC](https://talk.remobjects.com/t/xml-documentation-does-not-auto-expand-on-the-first-type-in-a-unit/20531/1 "2019-10-11T18:00:18Z")

</div>

When I have the code:

```
namespace ns;

type y = public Class
end;

type q = public class
end;

end;

```

When I place my cursor above type q and type /// I get:

```
namespace ns;

type y = public Class
end;
/// <summary>
/// 
/// </summary>
type q = public class
end;

end;

```

When I do the same above type y, I get:

```
namespace ns;
///
type y = public Class
end;
/// <summary>
/// 
/// </summary>
type q = public class
end;

end;

```

When I press Enter, another line with /// is added.  
But I don’t get the XML documentation.

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [October 11, 2019, 7:37pm UTC](https://talk.remobjects.com/t/xml-documentation-does-not-auto-expand-on-the-first-type-in-a-unit/20531/2 "2019-10-11T19:37:56Z")

</div>

Thanks, logged as [bugs://83392](https://www.remobjects.com/portal/bugs/?id=83392)

---

<div class="post-metadata">

### Author: ![RemObjectsSoftware](https://talk.remobjects.com/user_avatar/talk.remobjects.com/remobjectssoftware/32/15947_2.png) [@RemObjectsSoftware](https://talk.remobjects.com/u/RemObjectsSoftware)
#### Post date: [February 7, 2020, 9:53am UTC](https://talk.remobjects.com/t/xml-documentation-does-not-auto-expand-on-the-first-type-in-a-unit/20531/3 "2020-02-07T09:53:00Z")

</div>

[bugs://83392](https://www.remobjects.com/portal/bugs/?id=83392) got closed with status fixed.
