Quantcast
Channel: Active questions tagged code-completion - Stack Overflow
Viewing all articles
Browse latest Browse all 96

VScode: Kotlin plugin autocomplete not working

$
0
0

Today I first started programming with Kotlin in VScode. I installed the Kotlin plugin (which as I understood this plugin should provide autocomplete feature), but strangely when I start writing code, the autocompletion doesn't work.

This is in continuation of another problem I faced today with the above plugin that presented an error described here, that after taking the steps suggested here the error disappeared and it seems to be resolved.But still when I write code I don't get autocompletion.

I also saw on the plugin page (in the Debugging §Setup section) the following instruction:

Open the launch.json file in your project and invoke code completion to create a new launch configuration (or select Add Configuration... in the debug tab)

I don't know if this is what should solve my problem, anyway, this is my launch.json:

{"version": "0.2.0","configurations": [        {"name": "Launch kotlin script","type": "kotlin","projectRoot": "${workspaceFolder}","mainClass": "${workspaceFolder}/MainKt.main","request": "launch",        }    ]}

If there is a special configuration that needs to be set in launch.json, then I don't know what exactly needs to be there for it to work.


Viewing all articles
Browse latest Browse all 96

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>