Skip to content

Commit

Permalink
faq section
Browse files Browse the repository at this point in the history
  • Loading branch information
pfitzseb committed Nov 7, 2021
1 parent eb9a1f8 commit 5d8d417
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ makedocs(
"Home" => "index.md",
# "Setup" => "setup.md",
"Getting Started" => "gettingstarted.md",
"FAQ" => "faq.md",
"User Guide" => Any[
"Running Code" => "userguide/runningcode.md",
"Julia Environments" => "userguide/env.md",
Expand Down
14 changes: 14 additions & 0 deletions docs/src/faq.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Frequently Asked Questions

### The language server fails to precompile. What can I do about that?
You've probably been directed here by a pop-up like the following
![LS precompilation failure](./images/precompile-failure.png)

Click the `Open Logs` button or go to `Output` > `Julia Language Server`. You should see a message like this, among others:
```
The Language Server failed to precompile.
Please make sure you have permissions to write to the LS depot path at
/home/pfitzseb/.config/Code/User/globalStorage/julialang.language-julia/lsdepot/v1
```

Your current account needs to have read/write access to the indicated directory. Also make sure that it isn't on a NFS volume or similar, as that may cause issues.
Binary file added docs/src/images/precompile-failure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5d8d417

Please sign in to comment.