https://bugs.kde.org/show_bug.cgi?id=447949
--- Comment #2 from Adam Jimerson <vend...@gmail.com> --- (In reply to Waqar Ahmed from comment #1) > Hi Adam, Hello Waqar, > > Firstly, maybe you are interested in updating the default config for gopls > so that users don't have to manually override it? if so, you can find the > repo here: http://invent.kde.org/utilities/kate/. The lsp config code is > under addons/lsp directory I doubt that the changes I did for gopls would be that helpful to other users as I had to just hardcode the absolute path to the gopls binary. Using the settings in the default config wouldn't launch goplse. If I can find a way to get it to work without hardcoding the path then I'll make a patch. The PHP one maybe worth adding, but there are several supported Language Servers for PHP so I don't know how multiple ones could be defined in the default config and I would need guidance there. Not everyone might want to use intelephense as to fully use it a license must be purchased. > For your issue, perhaps you can paste the full output of the OutputView > here? We made some improvements recently to the LSP, and seeing that you are > on arch linux, it will probably be very easy to test them out for you and > see if the issue is still there. Sure here is the full output from the OutputView 2022/01/05 15:23:26 go env for /home/vendion/projects/ssh-manage (root /home/vendion/projects/ssh-manage) (go version go version go1.17.5 linux/amd64) (valid build configuration = true) (build flags: []) GOROOT=/usr/lib/go GO111MODULE= GONOPROXY= GOPATH=/home/vendion/go GOPRIVATE= GOMOD=/home/vendion/projects/ssh-manage/go.mod GOSUMDB=sum.golang.org GOFLAGS= GOINSECURE= GONOSUMDB= GOCACHE=/home/vendion/.cache/go-build GOMODCACHE=/home/vendion/go/pkg/mod GOPROXY=https://proxy.golang.org,direct 2022/01/05 15:23:26 go/packages.Load snapshot=0 directory=/home/vendion/projects/ssh-manage query=[builtin git.sr.ht/~vendion/ssh-manage/...] packages=11 2022/01/05 15:23:26 falling back to safe trimming due to type errors: [/usr/lib/go/src/runtime/vdso_linux.go:55:38: invalid operation: division by zero /usr/lib/go/src/runtime/vdso_linux.go:56:38: invalid operation: division by zero] or still-missing identifiers: map[memRecordCycle:true pageBits:true] package="runtime" 2022/01/05 15:23:27 discovered missing identifiers: map[cpuMask:true] package="golang.org/x/sys/unix" 2022/01/05 15:23:27 discovered missing identifiers: map[options:true] package="vendor/golang.org/x/text/unicode/bidi" 2022/01/05 15:23:27 falling back to safe trimming due to type errors: [/usr/lib/go/src/os/user/cgo_lookup_unix.go:200:19: int not declared by package C /usr/lib/go/src/os/user/cgo_lookup_unix.go:203:16: bufferKind(C._SC_GETPW_R_SIZE_MAX) (value of type bufferKind) is not constant /usr/lib/go/src/os/user/cgo_lookup_unix.go:204:16: bufferKind(C._SC_GETGR_R_SIZE_MAX) (value of type bufferKind) is not constant] or still-missing identifiers: map[] package="os/user" 2022/01/05 15:23:27 discovered missing identifiers: map[frameText:true textViewIndex:true] package="github.com/rivo/tview" 2022/01/05 15:23:37 no signature help: cannot find an enclosing function position={32 3} 2022/01/05 15:23:38 no signature help: cannot find an enclosing function position={32 5} 2022/01/05 15:23:49 no signature help: no signature help within a string literal position={32 15} 2022/01/05 15:24:06 background imports cache refresh starting 15:23:25 LSP Client Log Started server go@/home/vendion/projects/ssh-manage: /home/vendion/go/bin/gopls 15:23:26 LSP Server Info Setting up workspace [100%] Finished loading packages. 15:23:26 LSP Server Info go@/home/vendion/projects/ssh-manage 15:23:26 LSP Server Info go@/home/vendion/projects/ssh-manage 15:23:26 LSP Server Info go@/home/vendion/projects/ssh-manage 15:23:27 LSP Server Info go@/home/vendion/projects/ssh-manage 15:23:27 LSP Server Info go@/home/vendion/projects/ssh-manage 15:23:27 LSP Server Info go@/home/vendion/projects/ssh-manage 15:23:27 LSP Server Info go@/home/vendion/projects/ssh-manage 15:23:37 LSP Server Error go@/home/vendion/projects/ssh-manage 15:23:38 LSP Server Error go@/home/vendion/projects/ssh-manage 15:23:49 LSP Server Error go@/home/vendion/projects/ssh-manage 15:24:06 LSP Server Info go@/home/vendion/projects/ssh-manage Note it seems that the "Copy to Clipboard" button is disabled for some reason so I had to highlight -> Open Context Memu -> copy to clipboard instead which looks like it messed up the formatting/didn't copy everything some how. -- You are receiving this mail because: You are watching all bug changes.