# Water and VS2019 Mercury Code Completion Issue

**URL:** https://talk.remobjects.com/t/water-and-vs2019-mercury-code-completion-issue/26286
**Category:** Water
**Tags:** mercury
**Created:** [March 5, 2022, 12:40pm UTC](https://talk.remobjects.com/t/water-and-vs2019-mercury-code-completion-issue/26286 "2022-03-05T12:40:55Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![avonelle](https://talk.remobjects.com/user_avatar/talk.remobjects.com/avonelle/32/13001_2.png) [@avonelle](https://talk.remobjects.com/u/avonelle)
#### Post date: [March 5, 2022, 12:40pm UTC](https://talk.remobjects.com/t/water-and-vs2019-mercury-code-completion-issue/26286/1 "2022-03-05T12:40:55Z")

</div>

Version 11.0.0.2719

I have seen this issue consistently in both VS2019 and Water for [ASP.NET](http://ASP.NET) Core Mercury projects.

Code Completion does not work properly when adding an “Imports…” line, as it does not show Imports in the list. Here is an example:  
 ![2022-03-05_06-31-49](https://talk.remobjects.com/uploads/default/original/3X/8/c/8cda127dfc23f833ee7d43d6897370e74967d030.gif)

–Avonelle

---

<div class="post-metadata">

### Author: ![avonelle](https://talk.remobjects.com/user_avatar/talk.remobjects.com/avonelle/32/13001_2.png) [@avonelle](https://talk.remobjects.com/u/avonelle)
#### Post date: [March 5, 2022, 1:39pm UTC](https://talk.remobjects.com/t/water-and-vs2019-mercury-code-completion-issue/26286/2 "2022-03-05T13:39:38Z")

</div>

> [@avonelle](#):
>
> Version 11.0.0.2719

Also Code Completion related…it would be nice if Code Completion supported Attribute names without the “Attribute” suffix:  
 ![2022-03-05_07-36-10](https://talk.remobjects.com/uploads/default/original/3X/6/d/6d3408e4e444ad5e817682671fb1775bb9ff55fb.gif)

It consistently only shows attributes with the full “\*Attribute” names in both Water and VS2019.

Thanks,

–Avonelle

---

<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: [March 7, 2022, 1:12pm UTC](https://talk.remobjects.com/t/water-and-vs2019-mercury-code-completion-issue/26286/3 "2022-03-07T13:12:51Z")

</div>

Logged as [bugs://E25743](https://www.remobjects.com/portal/bugs/?id=E25743) for “Imports”

---

<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: [March 7, 2022, 1:14pm UTC](https://talk.remobjects.com/t/water-and-vs2019-mercury-code-completion-issue/26286/4 "2022-03-07T13:14:04Z")

</div>

Logged as [bugs://E25744](https://www.remobjects.com/portal/bugs/?id=E25744) for Attributes.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [March 7, 2022, 1:17pm UTC](https://talk.remobjects.com/t/water-and-vs2019-mercury-code-completion-issue/26286/5 "2022-03-07T13:17:48Z")

</div>

> [@avonelle](#):
>
> It consistently only shows attributes with the full “\*Attribute” names in both Water and VS2019.

it also doesnt seem to filter down to ONLY show attributes, does it? that’s probably the main culprit. in Oxygene it does that (and does drop the suffix):

 ![image](https://talk.remobjects.com/uploads/default/original/3X/8/f/8f05bd737e616163bf478d77d80bdd925389621b.jpeg)

either way, logged.

---

<div class="post-metadata">

### Author: ![mh](https://talk.remobjects.com/user_avatar/talk.remobjects.com/mh/32/18050_2.png) [@mh](https://talk.remobjects.com/u/mh)
#### Post date: [March 10, 2022, 5:29pm UTC](https://talk.remobjects.com/t/water-and-vs2019-mercury-code-completion-issue/26286/6 "2022-03-10T17:29:31Z")

</div>

> [@avonelle](#):
>
> Also Code Completion related…it would be nice if Code Completion supported Attribute names without the “Attribute” suffix:

Actually, that one is as designed. this class is called “RequriedAttributeAttribute” ;). That said, this report did show a related bug where the suffix did _not_ get stripped, but which oddly only shows in Fire/Water, when invoking CC right after the `<`, so i’m keeping the issue open for _that_ one.

---

<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: [March 11, 2022, 8:49am UTC](https://talk.remobjects.com/t/water-and-vs2019-mercury-code-completion-issue/26286/7 "2022-03-11T08:49:19Z")

</div>

[bugs://E25744](https://www.remobjects.com/portal/bugs/?id=E25744) was closed as fixed.

---

<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: [March 15, 2022, 9:00am UTC](https://talk.remobjects.com/t/water-and-vs2019-mercury-code-completion-issue/26286/8 "2022-03-15T09:00:53Z")

</div>

[bugs://E25743](https://www.remobjects.com/portal/bugs/?id=E25743) was closed as fixed.
