# Warning: \`Possible method call error\`

**URL:** <https://discourse.julialang.org/t/warning-possible-method-call-error/104917>\
**Category:** VS Code\
**Created:** [October 13, 2023, 5:28am UTC](https://discourse.julialang.org/t/warning-possible-method-call-error/104917 "2023-10-13T05:28:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![arturofburgos](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@arturofburgos](https://discourse.julialang.org/u/arturofburgos)\
**Post date:** [October 13, 2023, 5:28am UTC](https://discourse.julialang.org/t/warning-possible-method-call-error/104917/1 "2023-10-13T05:28:02Z")

</div>

Hi, I am new to Julia in the VS Code, does someone know how to get rid of this annoying warning? The code is fully working by the way.

![image](https://global.discourse-cdn.com/julialang/original/3X/b/1/b17d9742b0903cd6844e48cd6e8fac0d788261b3.png)

---

<div class="post-metadata">

**Author:** ![piechologist](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/piechologist/32/27662_2.png) [@piechologist](https://discourse.julialang.org/u/piechologist)\
**Post date:** [October 13, 2023, 9:29am UTC](https://discourse.julialang.org/t/warning-possible-method-call-error/104917/2 "2023-10-13T09:29:34Z")

</div>

The only way to get rid of this class of false positives is to turn the feature completely off in VSC’s settings e.g., add the following line to your `settings.json`:

`"julia.lint.call": false,`

---

<div class="post-metadata">

**Author:** ![arturofburgos](https://avatars.discourse-cdn.com/v4/letter/a/90db22/32.png) [@arturofburgos](https://discourse.julialang.org/u/arturofburgos)\
**Post date:** [October 18, 2023, 2:12am UTC](https://discourse.julialang.org/t/warning-possible-method-call-error/104917/3 "2023-10-18T02:12:28Z")

</div>

Thanks! @piechologist

---

<div class="post-metadata">

**Author:** ![JacobC](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jacobc/32/51809_2.png) [@JacobC](https://discourse.julialang.org/u/JacobC)\
**Post date:** [February 3, 2024, 11:02pm UTC](https://discourse.julialang.org/t/warning-possible-method-call-error/104917/4 "2024-02-03T23:02:00Z")

</div>

@piechologist and @arturofburgos  
I also frequently get this every time I call plot(). I am not the best coder, so would it be “safe” for me to turn off the linter help? Is it from VS code, or the Julia extension? I’m not sure I want all the warnings off if that makes sense…

---

<div class="post-metadata">

**Author:** ![piechologist](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/piechologist/32/27662_2.png) [@piechologist](https://discourse.julialang.org/u/piechologist)\
**Post date:** [February 4, 2024, 12:18pm UTC](https://discourse.julialang.org/t/warning-possible-method-call-error/104917/5 "2024-02-04T12:18:32Z")

</div>

There’s no fine grained control.

You can’t disable the warnings for `plot` only. There’s a setting to disable the linter for certain directories but that’s probably not what you’re looking for. There are a dozen of other linter classes. Open VSCode \> Settings and search for “julia lint”.

The linter logic is definitely part of the Julia VSCode extension. I remember a recording from JuliaCon 2023 and it seems linting is a non-trivial job to do.

---

<div class="post-metadata">

**Author:** ![Alex1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/alex1/32/11771_2.png) [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Post date:** [November 16, 2025, 8:42am UTC](https://discourse.julialang.org/t/warning-possible-method-call-error/104917/6 "2025-11-16T08:42:29Z")

</div>

The way it works now, it’s always wrong, and the best way is to disable it `"julia.lint.call": false`
