Skip to content

Commit

Permalink
remove legacy-code-editor related code (goplus#1218)
Browse files Browse the repository at this point in the history
  • Loading branch information
nighca authored Jan 9, 2025
1 parent 837cb27 commit 8ebb489
Show file tree
Hide file tree
Showing 39 changed files with 5 additions and 2,921 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN gop build -trimpath -o spx-backend ./cmd/spx-backend
FROM ${GO_BASE_IMAGE} AS go-builder

ARG GOPROXY
# Pre-install Go toolchain for 1.21.3, which will be used by tools/fmt & tools/ispx
# Pre-install Go toolchain for 1.21.3, which will be used by tools/ispx
RUN GOTOOLCHAIN=go1.21.3 go version

WORKDIR /app
Expand Down
4 changes: 2 additions & 2 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -966,8 +966,8 @@ paths:
post:
tags:
- Utils
summary: Format code
description: Format the provided code and optionally fix import statements.
summary: Format code (deprecated)
description: Format the provided code and optionally fix import statements. This API is deprecated; use `spxls` (`textDocument/formatting`) instead.
security: []
requestBody:
required: true
Expand Down
2 changes: 1 addition & 1 deletion spx-backend/cmd/spx-backend/post_util_fmtcode.yap
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Format the code.
// Format the code (deprecated).
//
// Request:
// POST /util/fmtcode
Expand Down
6 changes: 1 addition & 5 deletions spx-gui/build-wasm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@ set -e

echo Run this script from 'spx-gui' directory

cd ../tools/fmt
source ./build.sh
cp ./static/main.wasm ../../spx-gui/src/assets/format.wasm

cd ../ispx
cd ../tools/ispx
source ./build.sh
cp ./main.wasm ../../spx-gui/src/assets/ispx/main.wasm

Expand Down
317 changes: 0 additions & 317 deletions spx-gui/src/components/editor/code-editor-legacy/CodeEditor.vue

This file was deleted.

20 changes: 0 additions & 20 deletions spx-gui/src/components/editor/code-editor-legacy/FormatButton.vue

This file was deleted.

Loading

0 comments on commit 8ebb489

Please sign in to comment.