This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-28
Channels
- # announcements (14)
- # autochrome-github (1)
- # babashka (4)
- # beginners (151)
- # biff (1)
- # calva (24)
- # cider (13)
- # clara (13)
- # clj-commons (1)
- # cljs-dev (24)
- # clojure (50)
- # clojure-europe (20)
- # clojure-france (13)
- # clojure-nl (4)
- # clojure-norway (12)
- # clojure-spec (43)
- # clojure-uk (6)
- # clojurescript (30)
- # cursive (2)
- # datahike (9)
- # editors (6)
- # emacs (2)
- # fulcro (29)
- # google-cloud (20)
- # graphql (2)
- # humbleui (2)
- # jobs (2)
- # juxt (4)
- # kaocha (5)
- # lsp (14)
- # malli (5)
- # membrane (10)
- # off-topic (39)
- # pathom (21)
- # polylith (10)
- # rdf (8)
- # reagent (4)
- # remote-jobs (3)
- # reveal (18)
- # shadow-cljs (27)
- # spacemacs (7)
- # tools-deps (30)
Getting this error message. Can it be the reason I am not getting doc strings on autocomplete, and how can I resolve this?
Try setting clojureLspVersion
to latest
(Or just reset the setting, which should give you the default of latest
.
The reset option did not work, had to reset it manually. What's the best way to restart Calva and the language server?
Still getting the same error "could not start Clojure Language Client". [Error - 9:02:22 PM] Starting client failed Launching server using command latest failed.
> Launching server using command latest failed
That looks strange, like the code is using latest
as the command for starting the server. You didn’t by chance accidentally set the clojure-lsp path setting as latest
rather than the version, did you?
Can you paste the logs from the developer console after this issue occurs? Help -> Toggle Developer Tools -> Console tab
just in case, here is my settings.json
{
"workbench.colorTheme": "Visual Studio Light",
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"gitlens.currentLine.enabled": false,
"gitlens.hovers.currentLine.over": "line",
// "terminal.integrated.rendererType": "dom",
"calva.jokerPath": "lein repl :connect",
"calva.autoConnect": false,
"terminal.external.osxExec": "",
"editor.fontSize": 14,
"calva.lintOnSave": true,
"calva.sendAsyncOutputTo": "Both",
"terminal.integrated.fontSize": 15,
"editor.tokenColorCustomizations": {
"[Visual Studio Light]": {
"textMateRules": [
{
"scope": [
"constant.keyword.clojure"
],
"settings": {
"foreground": "#0520BB"
}
}
]
},
},
"python.linting.banditEnabled": true,
"editor.minimap.enabled": false,
"files.hotExit": "onExitAndWindowClose",
"gitlens.views.search.files.layout": "tree",
"editor.renderIndentGuides": false,
// "terminal.integrated.fontSize": 13,
"calva.paredit.defaultKeyMap": "original",
"editor.wordWrap": "on",
"calva.prettyPrintingOptions": {
"enabled": true,
"width": 25,
"maxLength": 100,
"printEngine": "calva"
},
"git.enableSmartCommit": true,
"explorer.confirmDragAndDrop": false,
"git.smartCommitChanges": "tracked",
"gitlens.views.repositories.files.layout": "list",
"gitlens.views.repositories.location": "gitlens",
"gitlens.views.fileHistory.location": "gitlens",
"gitlens.views.lineHistory.location": "gitlens",
"gitlens.views.compare.location": "gitlens",
"gitlens.views.search.location": "gitlens",
"diffEditor.renderSideBySide": true,
"git.countBadge": "tracked",
"git.autofetch": true,
"gitHistory.showEditorTitleMenuBarIcons": false,
"explorer.compactFolders": false,
"explorer.incrementalNaming": "smart",
"diffEditor.ignoreTrimWhitespace": false,
"calva.highlight.rainbowIndentGuides": true,
"workbench.iconTheme": "material-icon-theme",
"material-icon-theme.folders.color": "#003311",
"calva.customREPLCommandSnippets": [
],
"calva.openREPLWindowOnConnect": true,
"workbench.editorAssociations": {
"*.ipynb": "jupyter.notebook.ipynb"
},
"workbench.colorCustomizations": {},
"calva.replConnectSequences": [
{
"name": "bb",
"projectType": "generic",
"nReplPortFile": [
".bb-nrepl-port"
],
"cljsType": "none"
}
],
"files.autoSaveDelay": 2000,
"security.workspace.trust.untrustedFiles": "open",
"terminal.integrated.scrollback": 5000,
"terminal.integrated.persistentSessionScrollback": 200,
"terminal.explorerKind": "external",
"gitlab.ignoreCertificateErrors": true,
"gitlab.instanceUrl": "https: //gitlab.com",
"gitlab.remoteName": "origin",
"editor.wordSeparators": "`~!@#$%^&*()-=+[{]}\\|;'\",.<>/?:",
"[clojure]": {
"editor.wordSeparators": "\t ()\"',;~@#$%^&{}[]`"
},
"[ini]": {
"breadcrumbs.showArrays": true,
"editor.wordSeparators": "\t ()\"',;~@#$%^&{}[]`="
},
"terminal.integrated.defaultProfile.osx": "zsh",
"terminal.integrated.profiles.osx": {
"/bin/bash (migrated)": {
"path": "/bin/bash",
"args": [
"-l"
]
}
},
"files.autoSave": "afterDelay",
"gitlens.gitCommands.skipConfirmations": [
"fetch:command",
"stash-push:command",
"switch:command",
"branch-create:command"
],
"editor.unicodeHighlight.allowedCharacters": {
"꞉": true,
" ": true
},
"terminal.integrated.fontFamily": "Menlo",
"git.fetchOnPull": true,
"calva.showDocstringInParameterHelp": true
}
The lsp path was wrong in the workspace settings ( Cleared it, now blank. Clojure language is starting fine now, with no error but the warning: Mar 01, 2022 12:33:55 PM org.eclipse.lsp4j.jsonrpc.RemoteEndpoint handleCancellation WARNING: Unmatched cancel notification for request id 13
I have but I can try again now. Can it be caused by an issue in bb.edn, or is it not related?
I honestly don't know. Probably not. bb is not providing docs and lookups so we rely on clojure-lsp here. Don't know if it reads bb.edn or if it wants something more to start serving.