Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Persefone.jl
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Insights
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Persefone
Persefone.jl
Commits
f1637a80
Commit
f1637a80
authored
2 years ago
by
xo30xoqa
Browse files
Options
Downloads
Patches
Plain Diff
Updated editors.md
parent
31c8338b
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+2
-3
2 additions, 3 deletions
README.md
docs/editors.md
+17
-6
17 additions, 6 deletions
docs/editors.md
with
19 additions
and
9 deletions
README.md
+
2
−
3
View file @
f1637a80
...
...
@@ -16,7 +16,7 @@ It is currently in the very early stages of development.
Install the latest version of the
[
Julia
](
https://julialang.org/downloads/
)
programming
language. The recommended editors are
[
VSCode
](
https://www.julia-vscode.org/
)
or
[
Emacs
](
https://www.emacswiki.org/emacs/JuliaProgrammingLanguage
)
(
see
`docs/editors.md`
).
To install package dependencies, open a Julia REPL and run
To install package dependencies, open a Julia REPL
in this folder
and run
`using Pkg; Pkg.activate("."); Pkg.instantiate()`
.
Run the simulation by executing
`run.jl`
from the commandline, or loading it from
...
...
@@ -26,5 +26,4 @@ This model uses the [Agents.jl](https://juliadynamics.github.io/Agents.jl/stable
---
©
2022 Daniel Vedder, Lea Kolb
MIT license
©
2022 Daniel Vedder, Lea Kolb (MIT license)
This diff is collapsed.
Click to expand it.
docs/editors.md
+
17
−
6
View file @
f1637a80
...
...
@@ -13,17 +13,13 @@ There are a couple of addons that make working with Julia much nicer in Emacs:
then install vterm itself with
`M-x package-install vterm`
,
*before*
you can do
`M-x package-install julia-snail`
. Then add it to your
`init.el`
with
`(require 'julia-snail)`
and
`(add-hook 'julia-mode-hook #'julia-snail-mode)`
.
3.
[
`Revise.jl`
](
https://timholy.github.io/Revise.jl/stable/
)
allows one to reload code
without restarting the Julia interpreter. Get it with
`Pkg.add("Revise")`
, then
add
`using Revise`
to
`.julia/config/startup.jl`
to have it automatically available.
4
.
[
`company-mode`
](
http://company-mode.github.io/
)
integrates with Snail to give code
3
.
[
`company-mode`
](
http://company-mode.github.io/
)
integrates with Snail to give code
completion. Install with
`M-x package-install company`
, then add
`(add-hook 'julia-mode-hook #'company-mode)`
and
`(global-set-key (kbd "C-<tab>") 'company-complete)`
to your
`init.el`
.
5
.
[
`magit`
](
https://magit.vc/
)
is a great git interface for Emacs. Install with
4
.
[
`magit`
](
https://magit.vc/
)
is a great git interface for Emacs. Install with
`M-x package-install magit`
and add
`(global-set-key (kbd "C-x g") 'magit-status)`
to your
`init.el`
.
...
...
@@ -32,3 +28,18 @@ There are a couple of addons that make working with Julia much nicer in Emacs:
See
[
here
](
https://www.julia-vscode.org/
)
.
*TODO: add more detail.*
## Other useful stuff
1.
[
`Revise.jl`
](
https://timholy.github.io/Revise.jl/stable/
)
allows one to reload code
without restarting the Julia interpreter. Get it with
`Pkg.add("Revise")`
, then
add
`using Revise`
to
`.julia/config/startup.jl`
to have it automatically available.
2.
[
`git-bug`
](
https://github.com/MichaelMure/git-bug
)
is a commandline bug tracker that
integrates directly with git. It can also be used as a local interface to Gitlab issues.
To install on Linux, download the
[
binary
](
https://github.com/MichaelMure/git-bug/releases/tag/v0.8.0
)
,
copy it to
`/usr/local/bin/git-bug`
, and set it as executable with
`chmod +x
/usr/local/bin/git-bug`
. To set up Gitlab integration, run
`git bug bridge configure`
from within the relevant repository.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment