# I can't get Julia to work in VS Code, because the Path JSON is a mess

**URL:** <https://discourse.julialang.org/t/i-cant-get-julia-to-work-in-vs-code-because-the-path-json-is-a-mess/54714>\
**Category:** VS Code\
**Tags:** repl, json, python, help-database\
**Created:** [February 6, 2021, 4:09am UTC](https://discourse.julialang.org/t/i-cant-get-julia-to-work-in-vs-code-because-the-path-json-is-a-mess/54714 "2021-02-06T04:09:19Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [February 6, 2021, 4:09am UTC](https://discourse.julialang.org/t/i-cant-get-julia-to-work-in-vs-code-because-the-path-json-is-a-mess/54714/1 "2021-02-06T04:09:19Z")

</div>

I was trying to change my JSON to create a path to PyDev, and now none of my extensions work. It’s not recognizing an array for some reason (I’m not familiar with JSON or JavaScript in general)

```julia
}    
"terminal.integrated.commandsToSkipShell": [
    "language.julia.interrupt",
],
"julia.enableTelemetry": true,
"julia.executablePath": "/home/brett/Julia/julia-1.6.0-beta1-linux-x86_64/julia-1.6.0-beta1/bin/julia",
"crystal-lang.mainFile": "/usr/lib/crystal/bin",
"python.pydev.pythonPath": "/usr/bin/python3",

}

```

I get this errors.

```julia
{
	"resource": "/home/brett/.config/Code/User/settings.json",
	"owner": "_generated_diagnostic_collection_name_#0",
	"severity": 8,
	"message": "Expected a JSON object, array or literal.",
	"source": "jsonc",
	"startLineNumber": 1,
	"startColumn": 1,
	"endLineNumber": 1,
	"endColumn": 2
}

```

I had an array of these paths, but now I don’t have it right, so no array, and non of the paths work.

---

<div class="post-metadata">

**Author:** ![rsrock](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rsrock/32/115_2.png) [@rsrock](https://discourse.julialang.org/u/rsrock)\
**Post date:** [February 6, 2021, 5:37am UTC](https://discourse.julialang.org/t/i-cant-get-julia-to-work-in-vs-code-because-the-path-json-is-a-mess/54714/2 "2021-02-06T05:37:17Z")

</div>

Top curly brace is the wrong way?

---

<div class="post-metadata">

**Author:** ![brett\_knoss](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/brett_knoss/32/13050_2.png) [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Post date:** [February 6, 2021, 5:43am UTC](https://discourse.julialang.org/t/i-cant-get-julia-to-work-in-vs-code-because-the-path-json-is-a-mess/54714/3 "2021-02-06T05:43:58Z")

</div>

Yes that fixed it, I’m now getting a caution for the line with my PyDev path

```julia
{
	"resource": "/home/brett/.config/Code/User/settings.json",
	"owner": "_generated_diagnostic_collection_name_#0",
	"severity": 4,
	"message": "Incorrect type. Expected \"array\".",
	"startLineNumber": 9,
	"startColumn": 32,
	"endLineNumber": 9,
	"endColumn": 50
}

```

---

<div class="post-metadata">

**Author:** ![swt30](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/swt30/32/4667_2.png) [@swt30](https://discourse.julialang.org/u/swt30)\
**Post date:** [February 11, 2021, 10:13am UTC](https://discourse.julialang.org/t/i-cant-get-julia-to-work-in-vs-code-because-the-path-json-is-a-mess/54714/4 "2021-02-11T10:13:39Z")

</div>

I’m guessing pythonPath is expecting an array so that you can supply more than one directory to it, so presumably

```julia
"python.pydev.pythonPath": ["/usr/bin/python3"],

```

would do it.
