Kotlin script - no code completion

Hello

I have created a new Android project and configured the TeamCity by commiting current projects settings to repository using TeamCity

 

Setting where properly committed int repository and .teamcity\settings.kts file was created, however, I have no code completion in my project.

 

Here is my Android Studio project

https://1drv.ms/u/s!AkZ_52b5bWyOgrBdQr6suHQQGTAZDA

0
1 comment

Hi Igor,

 

in order for the code completion to be available you need to ensure that the teamcity server dependencies are listed properly in the project properties, as the IDE needs the jars to know what's available through completion.

 

When importing it as a maven project, it's usually in the pom.xml like this:

<repository>
<id>teamcity-server</id>
<url>[server_url]/app/dsl-plugins-repository</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>

0

Please sign in to leave a comment.