cloudwego / cloudwego/abcoder

[WINDOWS] failed to initialize LSP server: server did not provide SemanticTokensProvider

Aperta
#136 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Go
Stelle
390
Fork
57
Merge medio
2g 21h
PR unite (30g)
1

Descrizione

I installed on windows 11 with python 3.14.

I provide the steps:

## Install scoop
```Powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression
```

## Install mingw
```
scoop install mingw
```

## Install abcoder
```
go env -w CGO_ENABLED=1
go install github.com/cloudwego/abcoder@latest
```

## After installing I run it:
```
abcoder parse python ../rojo -o rojo_abcoder.json -verbose
[ERROR]14:46:39 lib.go:70: Installing pylsp... Now running git clone -b abc https://github.com/Hoblovski/python-lsp-server.git pylsp
[ERROR]14:46:39 lib.go:72: git clone failed: exit status 128
[INFO]14:46:40 parse.go:138: open file '' and wait for 5 seconds for initialize workspace
[INFO]14:46:40 parse.go:81: start initialize LSP server pylsp...
[ERROR]14:46:40 parse.go:91: failed to initialize LSP server: Failed to start LSP server: exec: "pylsp": executable file not found in %PATH%
[ERROR]14:46:40 main.go:142: Failed to parse: Failed to start LSP server: exec: "pylsp": executable file not found in %PATH%
```

## Install pylsp by hand
```
pip install python-lsp-server[all]
```

## Second Run:
```
abcoder parse python ../rojo -o rojo_abcoder.json -verbose
[ERROR]14:36:18 parse.go:91: failed to initialize LSP server: server did not provide SemanticTokensProvider
[ERROR]14:36:18 main.go:142: Failed to parse: server did not provide SemanticTokensProvider
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.