Julia plugin for the Lapce Editor (using LanguageServer.jl)

Overview

Lapce Julia (LanguageServer)

Lapce plugin for the Julia language powered by LanguageServer.jl

Pre-requisites

  • Make sure you have the julia binary on PATH. This might not be the case if you installed julia using juliaup.

  • Make sure you have LanguageServer.jl installed in the main environment. You can install LanguageServer.jl using:

]add LanguageServer

in a Julia REPL.

Passing custom julia executable path

In case you don't have julia on PATH, or your binary is named differently, as in the case of when its installed by juliaup (where its called julialauncher), you can still point to it in: Settings > Plugins > Julia (LanguageServer.jl)

Finding julia in case of flatpak

In case you have installed Lapce via Flathub, which you can check from the distro's Store itself or by running flatpak info dev.lapce.lapce, there could be a few issues running running julia. Depending on how you've installed julia, here's a few ways to make it work.

  • If you've installed it in some folder in your home directory, you can just paste the path to Lapce using the method discussed in the previous section
  • If you've installed julia using your package manager, or using juliaup, follow the below procedure

Make and edit a file with the following contents:

#!/usr/bin/env sh

flatpak-spawn --host julia "$@"
EOF

(Replace julia with julialauncher if you installed julia using juliaup)

Then make it executable by running chmod +x /path/to/file

Then in Lapce, in plugin's setting, point to the file in the custom julia executable path (discussed in the above section)

You might also like...
A structure editor for a simple functional programming language, with Vim-like shortcuts and commands.

dilim A structure editor for a simple functional programming language, with Vim-like shortcuts and commands. Written in Rust, using the Yew framework,

A basic text editor, written in Rust (hence the name).

rut A basic text editor, written in Rust (hence the name). Why, though? I just wanted a basic TUI text editor (like Nano) that could: Be used with all

Learn the helix editor keymap on the web!
Learn the helix editor keymap on the web!

Helix Shortcut Quiz A web quiz built with yew for testing your knowledge of helix editor shortcuts. Development Installation Frontend If you don't alr

Simple yet powerful multi-line text editor widget for tui-rs and ratatui
Simple yet powerful multi-line text editor widget for tui-rs and ratatui

tui-textarea tui-textarea is a simple yet powerful text editor widget like textarea in HTML for tui-rs and ratatui. Multi-line text editor can be ea

nvim-oxi provides safe and idiomatic Rust bindings to the rich API exposed by the Neovim text editor.

🔗 nvim-oxi nvim-oxi provides safe and idiomatic Rust bindings to the rich API exposed by the Neovim text editor. The project is mostly intended for p

A simple hinting Rust binary to be used in the Kakoune editor
A simple hinting Rust binary to be used in the Kakoune editor

Hop: hinting brought to Kakoune selections Table of content: Install Configuration Kakoune options hop-kak options Usage Workflow examples Default key

SysEx editor for Roland SC-55 (GS), Roland SC-7, and eventually maybe Yamaha XG
SysEx editor for Roland SC-55 (GS), Roland SC-7, and eventually maybe Yamaha XG

SoundPalette: MIDI SysEx Generator This is the source code for SoundPalette, a tool for editing MIDI System Exclusive (SysEx) messages for the Roland

A performant terminal-based project editor with extensive shortcuts
A performant terminal-based project editor with extensive shortcuts

omega A performant and extensive terminal-based project editor with a wide variety of modern shortcuts. How to use omega [path] This section will guid

A cargo plugin to shrink cargo's output

cargo single-line A simple cargo plugin that shrinks the visible cargo output to a single line (okay, in the best case scenario). In principle, the pl

Comments
  • How do I use this?

    How do I use this?

    1. I installed this plugin in Lapce.
    2. Opened a Julia file.
    3. Nothing happens:
      • No indication of a language server being active;
      • no autocomplete;
      • no suggestions like in this screenshot;
      • no Julia process (ps aux | grep julia shows just the grep command);
      • unable to execute Julia code by pressing Shift+Enter, like in Jupyter.

    How to use this plugin? Do I need to manually activate the language server?

    Versions

    • Lapce 0.2.5
    • lapce-julia 0.0.3
    • Julia 1.9.0-beta2
    • macOS 10.15.7
    opened by ForceBru 6
Owner
Chetan Vardhan
A programmer and a technology and science enthusiast. Primary interests include, Differential Equations, RISC-V, and Quantum Computing.
Chetan Vardhan
Lapce plugin for the Php language.

lapce-php-intelephense Lapce plugin for the Php language. Prerequisites Install Intelephense, typically by running: $ npm i intelephense -g Settings S

null 3 Jan 9, 2023
Ion - a CLI toolbox for Julia developers

Ion - a CLI toolbox for Julia developers Ion is a CLI toolbox for Julia developer. It provides a set of tools to help you develop Julia packages. Inst

Rogerluo 38 Mar 8, 2023
Amp: A text editor for your terminal.

Amp: A text editor for your terminal. Heavily inspired by Vi/Vim. Amp aims to take the core interaction model of Vim, simplify it, and bundle in the e

Jordan MacDonald 3.3k Jan 3, 2023
Basic vim-like editor for Redox-OS

red red is an editor based on vim written in Rust. Goal of this project is to provide a basic command-line editor, much like nano. Targeted for Redox.

null 1 Mar 5, 2022
Native cross-platform full feature terminal-based sequence editor for git interactive rebase.

Native cross-platform full feature terminal-based sequence editor for git interactive rebase.

Tim Oram 1.2k Jan 2, 2023
Ox is a code editor that runs in your terminal

Ox editor Ox is a code editor that runs in your terminal. About The Project Ox is a code editor. It was written in Rust using ANSI escape sequences. I

null 0 Feb 3, 2022
A standalone code editor with syntax highlighting and themes.

CodeEditor A standalone code (and text) editor for people like me who write their own user interfaces utilizing crates like pixels. CodeEditor renders

Markus Moenig 8 Nov 25, 2022
Move multiple files, with the power of your editor

NOTE FOR USERS THAT WANT TO TRY THIS OUT! The current code on the master branch doesn’t work as documented, as a newer more powerful interface is bein

Thomas Voss 3 Dec 22, 2022
mn is my project to learn rust, I will try to build a markdown editor

med is a markdown editor This is my project to learn rust programming language, I will try to build a powerful markdown editor. Highlight: Support Vim

Skoo Wu 7 Dec 29, 2022
Simple code editor made with Freya 🦀

Simple code editor made with Freya ?? This is a >work in progress< simple code editor that showcases how to use tree-sitter and freya together. WARNIN

Marc Espín 12 Dec 12, 2022