I'm a spring boot beginner I created a sample project using the spring initializer in the application.properties I want to change the server. port but editor doesn't know that doesn't know anything at all what's the problem
Community Edition of IntelliJ IDEA doesn't support autocompletion for application.properties. It is an Ultimate edition feature.
From this support thread:
Spring Boot framework is available in the Ultimate edition of IntelliJ IDEA only. It comes as a bundled plugin and is enabled by default.