# VSCode LoadError: MethodError crashing on Linux

**URL:** <https://discourse.julialang.org/t/vscode-loaderror-methoderror-crashing-on-linux/30951>\
**Category:** VS Code\
**Created:** [November 11, 2019, 1:49pm UTC](https://discourse.julialang.org/t/vscode-loaderror-methoderror-crashing-on-linux/30951 "2019-11-11T13:49:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [November 11, 2019, 1:49pm UTC](https://discourse.julialang.org/t/vscode-loaderror-methoderror-crashing-on-linux/30951/1 "2019-11-11T13:49:54Z")

</div>

Hello, I wanted give a try to VS Code, but on my setup (Julia 1.2, Ubuntu), I can’t get it working.

I did install VSCode using deb, then from VSCode I installed the Julia extension, but then when I try to evaluate anything from a file.jl I receive the following error:

ERROR: LoadError: MethodError: no method matching setindex!(::String, ::Char, ::Int64)  
Stacktrace:  
[1] top-level scope at /home/lobianco/CloudFiles/lef-nancy-sync/Documents/JuliaApressBook/bookSrc/02\_DataTypes.jl:6  
[2] include\_string(::Module, ::String, ::String) at ./loading.jl:1064  
[3] (::getfield(Main.\_vscodeserver, Symbol(“##9#12”)){String,Int64,Int64,String})() at /home/lobianco/.vscode/extensions/julialang.language-julia-0.12.3/scripts/terminalserver/terminalserver.jl:153  
[4] withpath(::getfield(Main.\_vscodeserver, Symbol(“##9#12”)){String,Int64,Int64,String}, ::String) at /home/lobianco/.vscode/extensions/julialang.language-julia-0.12.3/scripts/terminalserver/repl.jl:62  
[5] (::getfield(Main.\_vscodeserver, Symbol(“##8#11”)){String,Int64,Int64,String})() at /home/lobianco/.vscode/extensions/julialang.language-julia-0.12.3/scripts/terminalserver/terminalserver.jl:152  
[6] hideprompt(::getfield(Main.\_vscodeserver, Symbol(“##8#11”)){String,Int64,Int64,String}) at /home/lobianco/.vscode/extensions/julialang.language-julia-0.12.3/scripts/terminalserver/repl.jl:28  
[7] macro expansion at /home/lobianco/.vscode/extensions/julialang.language-julia-0.12.3/scripts/terminalserver/terminalserver.jl:148 [inlined]  
[8] (::getfield(Main.\_vscodeserver, Symbol(“##7#10”)))() at ./task.jl:268  
in expression starting at /home/lobianco/CloudFiles/lef-nancy-sync/Documents/JuliaApressBook/bookSrc/02\_DataTypes.jl:6

“Terminal” seems instead to work.

---

<div class="post-metadata">

**Author:** ![sylvaticus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/sylvaticus/32/203883_2.png) [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Post date:** [November 11, 2019, 2:01pm UTC](https://discourse.julialang.org/t/vscode-loaderror-methoderror-crashing-on-linux/30951/2 "2019-11-11T14:01:48Z")

</div>

ok, it was me trying to use SHFT+Enter instead of CTRL+Enter to evaluate code.
