functionsha2_256_dir(path, sha=zeros(UInt8, 32))
(uperm(path) &0x04) !=0x04&&return sha
startswith(path, ".") &&return sha
if isfile(path) && endswith(path, ".jl")
s1 = open(path) do f
sha2_256(f)
end
sha .+= s1
elseif isdir(path)
for f in readdir(path)
sha = sha2_256_dir(joinpath(path, f), sha)
endendreturn sha
end
# Usage:# julia --project=path/to/eglot-jl path/to/eglot-jl/eglot-jl.jl [SOURCE_PATH]# For convenience, Pkg isn't included in eglot-jl# Project.toml. Importing Pkg here relies on the standard library# being available on LOAD_PATHimport Pkg
# Resolving the environment is necessary for cases where the shipped# Manifest.toml is not compatible with the Julia version.for _ in1:2try
Pkg.resolve(io=stderr)
@info"Environment successfully resolved"breakcatch err
# Downgrading from 1.6 to 1.5 sometimes causes temporary errors@warn"Error while resolving the environment; retrying..." err
endend# In julia 1.4 this operation takes under a second. This can be# crushingly slow in older versions of julia though.
Pkg.instantiate()
# Get the source path. In order of increasing priority:# - default value: pwd()# - command-line: ARGS[1]
src_path = length(ARGS) >=1?ARGS[1] : pwd()
# Get the project environment from the source path
project_path = something(Base.current_project(src_path), Base.load_path_expand(LOAD_PATH[2])) |> dirname
# Make sure that we only load packages from this environment specifically.
empty!(LOAD_PATH)
push!(LOAD_PATH, "@")
using LanguageServer
@info"Running language server" env=Base.load_path()[1] src_path project_path
server = LanguageServerInstance(stdin, stdout, project_path)
run(server)
3. LanguageServerの依存バージョンを5→6にする
Project.tomlの該当部分を次のように変更します。
[compat]
LanguageServer = "6"julia = "1"
4. eglot-jlのパッケージからSymbolServerを削除
cd "eglot-jlのパッケージのpath" としてからパッケージモード内で
rm SymbolServerとしてSymbolServerを削除します。
Project.toml内のSymbolServer=...で始まる行を削除してもいいかもしれませんが、
よく分かりません。
次のXでのAkio Tomiyaさんのポストによると,JuliaCon Localが今年の12月4日(金)・5日(土)に東大柏キャンパスで開催予定とのことです。
なお,もう既にJuliaCon Local Tokyo 2026の公式サイトは存在するようですね。
なんとオフィシャルイベントJuliaCon Local Tokyo 2026を、2026年12月4日(金)・5日(土)に東大柏キャンパスで開催します! 日本語・英語のセッションを予定。発表募集、参加登録は今後公開します。まずは日程を確保しておいてください!https://t.co/F87NHePimI#JuliaCon#JuliaLang