# Code completion stops working until I restart

**URL:** https://talk.remobjects.com/t/code-completion-stops-working-until-i-restart/26439
**Category:** Fire
**Created:** [March 28, 2022, 11:51pm UTC](https://talk.remobjects.com/t/code-completion-stops-working-until-i-restart/26439 "2022-03-28T23:51:13Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![JohnMoshakis](https://talk.remobjects.com/user_avatar/talk.remobjects.com/johnmoshakis/32/2286_2.png) [@JohnMoshakis](https://talk.remobjects.com/u/JohnMoshakis)
#### Post date: [March 28, 2022, 11:51pm UTC](https://talk.remobjects.com/t/code-completion-stops-working-until-i-restart/26439/1 "2022-03-28T23:51:13Z")

</div>

Hi,

I started off with working code completion as shown below. Note the AddSingleton method

 ![Screen Shot 2022-03-28 at 7.38.09 PM](https://talk.remobjects.com/uploads/default/original/3X/d/6/d62b6cdf8fd3665612f9eec03b9dc0fda13f8598.png)

I then added a class library to the project and added that as a reference. I then get what shown below.

 ![Screen Shot 2022-03-28 at 7.38.56 PM](https://talk.remobjects.com/uploads/default/original/3X/e/8/e827086ed41fb2d6c5262b9ae4e7e24f641a9047.png)

Restarting fixes the issue but its annoying to have to do that.

Cheers,  
John  
[CompletionFunctionApp.zip](https://talk.remobjects.com/uploads/short-url/wZYmoVXzU64s4KruhPyfcTBnUiC.zip) (4.6 MB)

---

<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 29, 2022, 12:52pm UTC](https://talk.remobjects.com/t/code-completion-stops-working-until-i-restart/26439/2 "2022-03-29T12:52:36Z")

</div>

i’m not sure i understand, CC looks the same in both screenshots, so it’s not “not working”? what am i missing?

---

<div class="post-metadata">

### Author: ![JohnMoshakis](https://talk.remobjects.com/user_avatar/talk.remobjects.com/johnmoshakis/32/2286_2.png) [@JohnMoshakis](https://talk.remobjects.com/u/JohnMoshakis)
#### Post date: [March 29, 2022, 1:40pm UTC](https://talk.remobjects.com/t/code-completion-stops-working-until-i-restart/26439/3 "2022-03-29T13:40:01Z")

</div>

In the first it has AddFunctionWorkerCore, AddFunctionWorkerDefaults, AddGrpcClient and so on. In the second everything apart from linq methods have disappeared

---

<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 29, 2022, 2:48pm UTC](https://talk.remobjects.com/t/code-completion-stops-working-until-i-restart/26439/5 "2022-03-29T14:48:14Z")

</div>

Reproduced. if i remove the ref and add it back, some stuff is missing from CC.

---

<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 29, 2022, 8:04pm UTC](https://talk.remobjects.com/t/code-completion-stops-working-until-i-restart/26439/6 "2022-03-29T20:04:14Z")

</div>

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

---

<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: [April 7, 2022, 9:40am UTC](https://talk.remobjects.com/t/code-completion-stops-working-until-i-restart/26439/7 "2022-04-07T09:40:08Z")

</div>

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