# VS code triggers anti-malware

**URL:** <https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864>\
**Category:** General Usage\
**Created:** [February 6, 2018, 3:22pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864 "2018-02-06T15:22:38Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [February 6, 2018, 3:22pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/1 "2018-02-06T15:22:39Z")

</div>

Version 1.19.3  
Commit 7c4205b5c6e52a53b81c69d2b2dc8a627abaa0ba  
Date 2018-01-25T10:36:34.867Z  
Shell 1.7.9  
Renderer 58.0.3029.110  
Node 7.9.0  
Architecture x64

Every time I do something in the terminal anti-malware kicks into action and consumes huge amounts of CPU time. I use the git bash in the terminal, but I checked just the bash in its own terminal outside of VS code, and no such anti-malware software activity is detected.

Could someone who is also using Windows 10 check on their own system please? Perhaps I’m not the only one, in which case it might become easier to track down and fix.

---

<div class="post-metadata">

**Author:** ![Yifan\_Liu](https://avatars.discourse-cdn.com/v4/letter/y/4da419/32.png) [@Yifan\_Liu](https://discourse.julialang.org/u/Yifan_Liu)\
**Post date:** [February 6, 2018, 4:51pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/2 "2018-02-06T16:51:38Z")

</div>

I am also using vs code with Julia, is there a work space panel in the most recent vs code julia? I kept receiving update notice, but could not update my vs code on my fedora machine with terminal command. It seems I need to uninstall it first, and then reinstall the most recent version. If there is no breaking changes, I will not update my vscode.

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [February 6, 2018, 10:56pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/3 "2018-02-06T22:56:24Z")

</div>

I’m not experiencing this. I’m on Win 10 as well. I just have the default Windows anti virus running.

---

<div class="post-metadata">

**Author:** ![js135005](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/js135005/32/8219_2.png) [@js135005](https://discourse.julialang.org/u/js135005)\
**Post date:** [February 6, 2018, 11:09pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/4 "2018-02-06T23:09:45Z")

</div>

I’m not seeing this problem on either my work Windows 8 laptop with McAfee antivirus or on my home laptop with Windows 10 and Kaspersky antivirus.

---

<div class="post-metadata">

**Author:** ![RandomString123](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/randomstring123/32/3194_2.png) [@RandomString123](https://discourse.julialang.org/u/RandomString123)\
**Post date:** [February 6, 2018, 11:09pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/5 "2018-02-06T23:09:57Z")

</div>

Not experiencing it and I’ve been using the REPL heavily lately. I also switched my terminal to git-bash from powershell and also no problems when it launches. Virus Scanner is just windows defender.

Version 1.19.3  
Commit 7c4205b5c6e52a53b81c69d2b2dc8a627abaa0ba  
Date 2018-01-25T10:36:34.867Z  
Shell 1.7.9  
Renderer 58.0.3029.110  
Node 7.9.0  
Architecture x64

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [February 6, 2018, 11:29pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/6 "2018-02-06T23:29:07Z")

</div>

Thanks to all who replied. This is what it looks like on my laptop. Note how the activity of the Windows Defender is correlated with me opening and closing VS Code.  
[https://www.dropbox.com/s/psbs73v55116mpc/FFsplit-180206-151955.flv?dl=0](https://www.dropbox.com/s/psbs73v55116mpc/FFsplit-180206-151955.flv?dl=0)

Perhaps I should uninstall VS Code and wipe all traces of it and start with a clean slate. But then it would not be possible to debug this issue. On the other hand, no one else seems to be having trouble…

---

<div class="post-metadata">

**Author:** ![davidanthoff](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/davidanthoff/32/223493_2.png) [@davidanthoff](https://discourse.julialang.org/u/davidanthoff)\
**Post date:** [February 7, 2018, 3:50am UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/7 "2018-02-07T03:50:54Z")

</div>

So the only vague theory I have is that when you open your package root folder with all packages in it, our language server will be _extremely_ busy, because it will try to analyze all the packages at startup. I don’t know why that would trigger the AV, but maybe it does in some way…

---

<div class="post-metadata">

**Author:** ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Post date:** [February 7, 2018, 5:29am UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/8 "2018-02-07T05:29:43Z")

</div>

Thanks for trying to figure it out. I suspect there is more to it than that though. One would expect the language server to be done after a while, but I just let VS code set alone for an hour, and then I tried listing the folder again. Still the same abysmal performance where one can see the text appearing letter by letter.

At this point I will resort to a reinstallation from scratch.

---

<div class="post-metadata">

**Author:** ![jlperla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlperla/32/34332_2.png) [@jlperla](https://discourse.julialang.org/u/jlperla)\
**Post date:** [February 7, 2018, 5:40am UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/9 "2018-02-07T05:40:09Z")

</div>

I can’t pin it down, but using Atom the windows defender went haywire for a while, taking up almost all resources…but it might have been when updating packages.

---

<div class="post-metadata">

**Author:** ![ldsands](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ldsands/32/2800_2.png) [@ldsands](https://discourse.julialang.org/u/ldsands)\
**Post date:** [February 7, 2018, 1:19pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/10 "2018-02-07T13:19:03Z")

</div>

I have seen this on two separate Windows computers. I have just turned off Windows Defender to deal with it. As to why it is happening I have no idea. I did wipe both computers for other reasons recently and they still have that issue.

---

<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:** [February 7, 2018, 1:24pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/11 "2018-02-07T13:24:30Z")

</div>

IIRC I’ve seen something similar as well – “solved” it by excluding `~/.julia` from the list of folders Windows Defender watches.

---

<div class="post-metadata">

**Author:** ![jlperla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlperla/32/34332_2.png) [@jlperla](https://discourse.julialang.org/u/jlperla)\
**Post date:** [February 7, 2018, 3:03pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/12 "2018-02-07T15:03:12Z")

</div>

Is this something that windows defender allows as part of an installation process (thinking juliapro here…) obviously user needs to confirm, but is it even possible?

---

<div class="post-metadata">

**Author:** ![jlperla](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jlperla/32/34332_2.png) [@jlperla](https://discourse.julialang.org/u/jlperla)\
**Post date:** [February 7, 2018, 3:10pm UTC](https://discourse.julialang.org/t/vs-code-triggers-anti-malware/8864/13 "2018-02-07T15:10:35Z")

</div>

There is also that pop-up from defender when things try to do internet access and asks what types of networks are allowed … Is this something that can be set correctly in installation? I always worry I have made the wrong choice.
