# VSCode warns about "possible method call error" in function definition

**URL:** https://discourse.julialang.org/t/vscode-warns-about-possible-method-call-error-in-function-definition/103458
**Category:** Tooling
**Tags:** vscode, linter
**Created:** [September 1, 2023, 9:19pm UTC](https://discourse.julialang.org/t/vscode-warns-about-possible-method-call-error-in-function-definition/103458 "2023-09-01T21:19:32Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![greatpet](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@greatpet](https://discourse.julialang.org/u/greatpet)
#### Post date: [September 1, 2023, 9:19pm UTC](https://discourse.julialang.org/t/vscode-warns-about-possible-method-call-error-in-function-definition/103458/1 "2023-09-01T21:19:32Z")

</div>

Here’s the screenshot. When the mouse hovers over the wiggly blue line, I see “Possible method call error. No quick fix available.” Has anyone encountered something like this?

 ![Screenshot from 2023-09-01 22-03-16](https://global.discourse-cdn.com/julialang/original/3X/2/0/206e37fa38d001d3a980fc89c43b499f4df9bcf6.png)

---

<div class="post-metadata">

### Author: ![TheLateKronos](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thelatekronos/32/12824_2.png) [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)
#### Post date: [September 1, 2023, 9:27pm UTC](https://discourse.julialang.org/t/vscode-warns-about-possible-method-call-error-in-function-definition/103458/2 "2023-09-01T21:27:40Z")

</div>

I am not 100% sure, but I believe I get this warning ALL THE TIME and quickly learnt to ignore it.

---

<div class="post-metadata">

### Author: ![digital\_carver](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/digital_carver/32/33818_2.png) [@digital\_carver](https://discourse.julialang.org/u/digital_carver)
#### Post date: [September 1, 2023, 11:51pm UTC](https://discourse.julialang.org/t/vscode-warns-about-possible-method-call-error-in-function-definition/103458/3 "2023-09-01T23:51:41Z")

</div>

You can disable this particular lint message (without disabling other helpful messages) by setting `julia.lint.call` to `false` in VS Code settings. (Ctrl-Shift-P → Settings → type or paste `julia.lint.call` into the search box → Uncheck the setting.)

False warnings with this message have been a longstanding issue, and some people have reported that it’s gotten even more frequent with the recent Julia versions. For now, the only workaround seems to be to [disable this particular lint](https://github.com/julia-vscode/julia-vscode/issues/1576#issuecomment-1254878211).
