Intellisense is not working for me for Elixir in VSCode.
The only suggestions that are made are from words in the current file - “words” as per the intellisense definition, https://code.visualstudio.com/docs/editor/intellisense#_types-of-completions
So, no methods, nothing from Elixir standard modules, etc.
VScode Python Intellisense is working ok.
OS: Windows 11
This is View|Output|ElixirLS:
Installing ElixirLS release v0.15.1
Running in c:/Users/david/Exercism/elixir/triangle
Install complete
This is the output from Developer Tools|Console:
WARN [ms-vscode.remote-server]: The viewsWelcome contribution in 'ms-vscode.remote-server' requires 'enabledApiProposals: ["contribViewsWelcome"]' in order to use the 'group' proposed property.
console.ts:137 [Extension Host] ElixirLS: Loading extension
console.ts:137 [Extension Host] ElixirLS: activating extension in mode SINGLE_FOLDER
console.ts:137 [Extension Host] ElixirLS: Workspace folders are Array(1)
console.ts:137 [Extension Host] ElixirLS: Workspace is undefined
console.ts:137 [Extension Host] ElixirLS: creating test controller
console.ts:137 [Extension Host] ElixirLS: extension activated
log.ts:421 INFO [perf] Render performance baseline is 20ms
console.ts:137 [Extension Host] ElixirLS: starting LSP client for c:\Users\david\Exercism\elixir\triangle with server options Object client options Object
This is my settings.json:
{
// Controls if quick suggestions should show up while typing
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"files.autoSave": "afterDelay",
"terminal.integrated.defaultProfile.windows": "Git Bash",
"git.autofetch": true,
"csv-edit.fontSizeInPx": 12,
"workbench.colorTheme": "Visual Studio Dark",
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
"editor.formatOnSave": true,
"python.formatting.provider": "black",
"outline.showVariables": false,
"editor.accessibilitySupport": "off",
"[python]": {
"editor.formatOnType": true
},
"[elixir]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.wordBasedSuggestions": true,
"editor.formatOnType": true,
"editor.trimAutoWhitespace": false,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true
},
"launch": {
"configurations": [],
"compounds": []
}
}