Skip to content

Commit ad7e2e4

Browse files
committed
Merge main
1 parent 63af087 commit ad7e2e4

File tree

869 files changed

+4184
-28042
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

869 files changed

+4184
-28042
lines changed

.credo.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
name: "default",
55
files: %{
66
included: ["lib/", "src/", "web/", "apps/"],
7-
excluded: ["apps/remote_control/test/fixtures/**/*.ex", "apps/common/lib/future/**/*.ex"]
7+
excluded: ["apps/engine/test/fixtures/**/*.ex", "apps/forge/lib/future/**/*.ex"]
88
},
99
plugins: [],
1010
requires: [],

.github/workflows/elixir.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,10 +114,10 @@ jobs:
114114
uses: actions/cache@v3
115115
with:
116116
path: "priv/plts"
117-
key: lexical-plts-2-${{ env.DEFAULT_OTP }}-${{ env.DEFAULT_ELIXIR }}-${{ hashFiles('apps/**/mix.lock' ) }}-${{ github.run_id }}
117+
key: expert-plts-2-${{ env.DEFAULT_OTP }}-${{ env.DEFAULT_ELIXIR }}-${{ hashFiles('apps/**/mix.lock' ) }}-${{ github.run_id }}
118118
restore-keys: |
119-
lexical-plts-2-${{ env.DEFAULT_OTP }}-${{ env.DEFAULT_ELIXIR }}-${{ hashFiles('apps/**/mix.lock') }}-
120-
lexical-plts-2-${{ env.DEFAULT_OTP }}-${{ env.DEFAULT_ELIXIR }}-
119+
expert-plts-2-${{ env.DEFAULT_OTP }}-${{ env.DEFAULT_ELIXIR }}-${{ hashFiles('apps/**/mix.lock') }}-
120+
expert-plts-2-${{ env.DEFAULT_OTP }}-${{ env.DEFAULT_ELIXIR }}-
121121
122122
# Step: Download project dependencies. If unchanged, uses
123123
# the cached version.
@@ -215,7 +215,7 @@ jobs:
215215
with:
216216
context: .
217217
file: ./integration/Dockerfile
218-
tags: lx
218+
tags: xp
219219
# GitHub Actions cache
220220
# https://docs.docker.com/build/ci/github-actions/cache/
221221
cache-from: type=gha

.github/workflows/release.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Release Lexical
1+
name: Release Expert
22

33
on:
44
push:
@@ -7,7 +7,7 @@ on:
77
jobs:
88
release:
99
runs-on: ubuntu-latest
10-
name: Build and release Lexical
10+
name: Build and release Expert
1111
permissions:
1212
contents: write
1313
steps:
@@ -43,12 +43,12 @@ jobs:
4343

4444
- name: Archive release
4545
run: |
46-
cp lexical.zip lexical-${{ github.ref_name }}.zip
46+
cp expert.zip expert-${{ github.ref_name }}.zip
4747
4848
- name: Publish release
4949
uses: ncipollo/release-action@v1
5050
with:
51-
artifacts: lexical*.zip
51+
artifacts: expert*.zip
5252
makeLatest: true
5353
generateReleaseNotes: false
5454
allowUpdates: true

.gitignore

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ erl_crash.dump
2222
# Temporary files, for example, from tests.
2323
/tmp/
2424

25-
lexical.log
25+
expert.log
2626

27-
lexical_debug
27+
expert_debug
2828

2929
priv/plts
3030

31-
apps/common/src/future_elixir_parser.erl
31+
apps/forge/src/future_elixir_parser.erl

.iex.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use Lexical.Server.IEx.Helpers
1+
use Expert.IEx.Helpers
22

33
try do
44
Mix.ensure_application!(:observer)

.iex.namespaced.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
use LXical.Server.IEx.Helpers
2-
alias LXical, as: Lexical
1+
use XPExpert.Server.IEx.Helpers
2+
alias XPExpert, as: EXpert

Makefile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
poncho_dirs = common lexical_credo proto protocol remote_control server
2-
3-
dialyzer_dirs= lexical_shared lexical_plugin
1+
poncho_dirs = forge expert_credo engine expert
42

53
compile.all: compile.poncho
64

@@ -39,3 +37,6 @@ dialyzer.plt.poncho:
3937

4038
dialyzer.poncho: compile.poncho compile.protocols.poncho
4139
$(foreach dir, $(poncho_dirs), cd apps/$(dir) && mix dialyzer && cd ../..;)
40+
41+
package:
42+
cd apps/server && mix package

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33

44
<img alt="Lexical logo: Lexi the lynx" src="assets/lexi-logo.svg" width="150" height="200" align="right"/>
55

6-
# Lexical
6+
# Expert
77

8-
Lexical is a next-generation language server for the Elixir programming language.
8+
Expert is a next-generation language server for the Elixir programming language.
99

1010
<br><br><br>
1111

@@ -154,7 +154,7 @@ language server. This allows you to investigate processes, make
154154
changes to the running code, or run `:observer`.
155155

156156
While in the debugging shell, all the functions in
157-
`Lexical.Server.IEx.Helpers` are imported for you, and some common
157+
`Expert.IEx.Helpers` are imported for you, and some common
158158
modules, like `Lexical.Project` and `Lexical.Document` are
159159
aliased.
160160

@@ -175,23 +175,23 @@ compile_project(:other)
175175
# the other project is compiled
176176
iex(2)> complete :other, "defmo|"
177177
[
178-
#Protocol.Types.Completion.Item<[
178+
#GenLSP.Structures.CompletionItem<[
179179
detail: "",
180180
insert_text: "defmacro ${1:name}($2) do\n $0\nend\n",
181181
insert_text_format: :snippet,
182182
kind: :class,
183183
label: "defmacro (Define a macro)",
184184
sort_text: "093_defmacro (Define a macro)"
185185
]>,
186-
#Protocol.Types.Completion.Item<[
186+
#GenLSP.Structures.CompletionItem<[
187187
detail: "",
188188
insert_text: "defmacrop ${1:name}($2) do\n $0\nend\n",
189189
insert_text_format: :snippet,
190190
kind: :class,
191191
label: "defmacrop (Define a private macro)",
192192
sort_text: "094_defmacrop (Define a private macro)"
193193
]>,
194-
#Protocol.Types.Completion.Item<[
194+
#GenLSP.Structures.CompletionItem<[
195195
detail: "",
196196
insert_text: "defmodule ${1:module name} do\n $0\nend\n",
197197
insert_text_format: :snippet,

apps/common/lib/lexical.ex

Lines changed: 0 additions & 21 deletions
This file was deleted.

apps/common/lib/lexical/ast/detection/import.ex

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)