How to use Dock icon as a singleton

I am using Ubuntu18. Here is my Dock icon. After IDEA is added to the collection, there is the fifth icon from the left, then click to open the app, and another one appears on the right. How can it be opened as an icon like the previous Chrome? (Chrome has also been added to the collection)

here is the IDEA shortcut I created myself

-sharp ~/.local/share/applications/idea.desktop

[Desktop Entry]
Version=2018.1.4
Name=IntelliJ IDEA
Exec=/usr/local/jetbrains/idea/bin/idea.sh
Terminal=false
Icon=/usr/local/jetbrains/idea/bin/idea.png
Type=Application
Categories=Development
Mar.18,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3b823-2bae7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3b823-2bae7.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?