Autocompletion not working for properties file in Spring Boot project

已回答

Hey guys,

I'm using:

IntelliJ IDEA 2019.3.4 (Ultimate Edition)
Build #IU-193.6911.18, built on March 17, 2020
Windows 10 10.0
Non-Bundled Plugins: Lombook Plugin, aws.toolkit, com.jetbrains.lightThemePreview, hadouken.progress.bar, krasa.IdeaIconPack

I'm doing a simple Spring Boot project created with Spring Initializer and autocompletion is not working for application.properties file.

I've read this post that says it comes enabled by default, so I thought it was a problem with plugins I installed. Proceeded to disable all of them except lombok and aws and still suggestions weren't showing.

The file itself works fine, it's just a problem with completion. Already disabled and enabled the plugin but it's still the same. What should I do about it? Can I somehow check if its disabled inside the bundled Spring Boot plugin?

Hope to hear from you guys soon.

Thanks in advance!

Miguel

0

As a first troubleshooting step, please update IntelliJ IDEA to 2020.1.1 version where several bugs regarding autocompletion in application.properties were fixed. 

If the issue is still here, please show a screenshot like that https://i.imgur.com/H1qkg3P.png

2
Avatar
Permanently deleted user

Thanks, it worked!

0

I have the same issue, no code completion suggestion for Spring Boot 2 properties, like for this:

logging.level.nz.co.trimble=DEBUG

 

My IntelliJ version details are:

IntelliJ IDEA 2020.3 (Community Edition)
Build #IC-203.5981.155, built on December 1, 2020
Runtime version: 11.0.9+11-b1145.21 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.14.6
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 16
Registry: ide.tree.collapse.recursively=false, ide.balloon.shadow.size=0
Non-Bundled Plugins: A move tab left and right using the keyboard plugin - by momomo.com, Key Promoter X, PlantUML integration, com.4lex4.intellij.solarized, com.genuitec.codetogether, com.intellij.plugins.watcher, com.mallowigi, net.seesharpsoft.intellij.plugins.file-preview, Lombook Plugin, String Manipulation, org.sonarlint.idea, MavenRunHelper, in.1ton.idea.spring.assistant.plugin, org.jetbrains.kotlin, com.codota.csp.intellij, hdzi.idea-editstarters-plugin, com.viartemev.requestmapper

0

Can't reproduce:

 

As a general troubleshooting step, please

1. Disable all custom plugins: https://www.jetbrains.com/help/idea/managing-plugins.html#disable-plugin

2. Remove/rename .idea directory in the project's root and re-import the project.

 

If it does not help, share the project at YouTrack: https://youtrack.jetbrains.com/newIssue?project=IDEA

0

请先登录再写评论。