# The deal with the light bulbs?

**URL:** <https://discourse.julialang.org/t/the-deal-with-the-light-bulbs/86839>\
**Category:** VS Code\
**Created:** [September 6, 2022, 12:55pm UTC](https://discourse.julialang.org/t/the-deal-with-the-light-bulbs/86839 "2022-09-06T12:55:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [September 6, 2022, 12:55pm UTC](https://discourse.julialang.org/t/the-deal-with-the-light-bulbs/86839/1 "2022-09-06T12:55:05Z")

</div>

This is my first time using (VS) Code. I opened a directory that contains a few Julia files, and while browsing a file I often notice a small yellow light bulb symbol to the left of some line of code. It displays the text “Show code actions”, or something like that, and disappears when clicked on.

How is that supposed to be interpreted? Is there a bug here somewhere?

---

<div class="post-metadata">

**Author:** ![fredrikekre](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fredrikekre/32/1688_2.png) [@fredrikekre](https://discourse.julialang.org/u/fredrikekre)\
**Post date:** [September 6, 2022, 1:45pm UTC](https://discourse.julialang.org/t/the-deal-with-the-light-bulbs/86839/2 "2022-09-06T13:45:13Z")

</div>

There should be a menu opening when you press it. Do you have an example file where this doesn’t work?

---

<div class="post-metadata">

**Author:** ![nsajko](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nsajko/32/221187_2.png) [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Post date:** [September 11, 2022, 2:16am UTC](https://discourse.julialang.org/t/the-deal-with-the-light-bulbs/86839/3 "2022-09-11T02:16:16Z")

</div>

I think this happens with any file, because this reproducer is trivial (the entire file is just a one-line function):

```julia
f() = Dict()

```

 ![lightbulb_make_vega](https://global.discourse-cdn.com/julialang/original/3X/3/b/3b242f042fc65736bd1f531bb2d441a5217c2099.webp)

It seems to appear for most lines when I click on any character in the line. When I click on the light bulb, it just disappears.

I have Code 1.71.0 with Julia 1.8.1 and the extension is 1.7.10 (the latest available in the Open VSX registry).

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [September 11, 2022, 11:14am UTC](https://discourse.julialang.org/t/the-deal-with-the-light-bulbs/86839/4 "2022-09-11T11:14:37Z")

</div>

That sounds like an issue with your VS Code install then. Do those light bulbs work in other languages?

Here’s what you _should_ be seeing:  
 ![image](https://global.discourse-cdn.com/julialang/original/3X/b/f/bfa33ca947e2c0efeab801161f3eedd8ee14e478.png)
