Show usages and code generation not working
For a few weeks now, errors have crept in that I would like to report. Several past updates have not fixed the issue either. I have already invalidated all caches.
1. The "show usages" function is gone. The shortcut CTRL+ALT+F7 does not respond. When I execute "show usages" via search, nothing happens either. No error message appears.
2. The "initialize properties" function is also missing. I can see the function with ALT+ENTER, but when I activate it, nothing happens.
3. Many other functions that are supposed to generate code have simply disappeared: "add property" in a class does not work. "generate getters" or "generate setters" do not work either.
I never receive any reaction from the IDE, nothing happens at all.
I am using the Github Copilot plugin, and I thought it might have overwritten the functions of PHPStorm. But when I disable the plugin, the errors don't go away.
PhpStorm 2024.2.1
Build #PS-242.21829.154, built on August 29, 2024
Licensed to LEIK Software GmbH / Alexander Keil
Subscription is active until December 12, 2024.
Runtime version: 21.0.3+13-b509.11 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.windows.WToolkit
Windows 10.0
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 4018M
Cores: 8
Registry:
run.processes.with.pty=TRUE
ide.experimental.ui=true
i18n.locale=
Non-Bundled Plugins:
String Manipulation (9.14.1)
krasa.CpuUsageIndicator (1.18.0-IJ2023)
org.jetbrains.plugins.gitlab (242.21829.162)
org.jetbrains.plugins.github (242.21829.162)
izhangzhihao.rainbow.brackets (2024.2.6-241)
com.kalessil.phpStorm.phpInspectionsEA (5.0.0.0)
cn.yiiguxing.plugin.translate (3.6.4)
ru.adelf.idea.dotenv (2024.2.1)
net.king2500.plugins.PhpAdvancedAutoComplete (1.1.0)
de.espend.idea.php.annotation (11.0.3)
fr.adrienbrault.idea.symfony2plugin (2024.1.275)
com.github.copilot (1.5.20.6554)
Please sign in to leave a comment.
Hi Alexander Keil80 , please share the content of
config\options\file.template.settings.xml
file from the config directory. Or the full archive of this config directory.Also, please share logs from Help | Collect Logs and Diagnostic Data.
You can upload files at https://uploads.jetbrains.com/.
Upload id: 2024_09_16_DmiHrAvcnVNN4MwgPX6H6j (file: phpstorm-logs-20240916-13585713474035879856774566.zip)
Upload id: 2024_09_16_2BuxvHp2rHr1aX6LPdUi3k (file: options.zip)
I am a windows user and don't find the config folder but options with file.template.settings.xml in in. See attachments. I found out that in all my projects some code templates like getter and setter were disappeared, I copied them from default settings to project settings.
This is a known issue that has already been fixed.
However, for the affected installations it is required to perform the following:
1. Close PhpStorm.
2. Manually remove the below lines from the
file.template.settings.xml
file inside the providedoptions
folder and save changes:3. Start PhpStorm.
Hey Anastasiia Zyrianova ,
I am sure I was on this issue and I was in this settings file but it didn't resolved my issue. But now it seems to be okay 🤨. Thanks!