You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 7, 2023. It is now read-only.
- You need to tell linter-julia where to find the julia executable
22
-
(i.e. `/usr/bin/julia` or `C:\Julia-1.3.0-rc4\bin\julia.exe`). See Settings below.
20
+
* The server needs a minute to spin up, then also some time to parse new Julia environments that this Atom instance
21
+
have not seen before. A pop-up is shown when parsing a new environment starts (but not when it ends). After parsing finishes, you need to
22
+
edit or reopen those files that are already in the editor for linting to start. If the environment had been already parsed, linting new files is immediate.
23
+
* The edited file has to be saved at least once for linting to start. This is by design of the linter package (https://github.com/steelbrain/linter/issues/1235)
24
+
* The environment for each file is guessed from its path. If this fails, Julia's default environment is assumed.
25
+
* The symbols are rebuilt if the modification time of the Project.toml or the Manifest.toml files change, for example,
26
+
you add, remove or update packages. Linting is not available during this rebuild.
23
27
24
-
- This package installs the master branch of Lint.jl automatically, to make it activated just restart Atom one more time! (two time total)
28
+
## Internals
25
29
30
+
The code generates its private shared environment at the Julia depot in 'environments/linter-julia'. It also places a logfile there.
26
31
27
-
- Note: if you have't installed [Juno](http://junolab.org/), and [Julia](http://julialang.org/downloads/)
32
+
Guessing the environment works by walking upwards in the path and looking for Project.toml. If nothing found, the default
33
+
environment is assumed. The project's root file is then looked for at the canonical X/src/X.jl etc. locations.
28
34
29
-
- Note: If after two restarts the linter didn't work, add the Lint.jl manually:
30
-
```julia
31
-
] add https://github.com/tonyhffong/Lint.jl
35
+
I know nothing of Atom development or js, so the changes are likely messy there, please revise. Atom seems to be
36
+
unable to shut down the server process, so the server exits by polling Atom's PID right now.
37
+
38
+
## Installation
39
+
40
+
- Install the package through Atom's UI. You can also use the `apm` tool in the CLI:
41
+
```bash
42
+
$ apm install takbal/linter-julia
32
43
```
33
44
45
+
- You may need to tell linter-julia where to find the Julia executable
46
+
(i.e. `/usr/bin/julia` or `C:\Julia-1.5.3\bin\julia.exe`). The default assumes 'julia' just works.
0 commit comments