Missing 'package file' - action: IntelliJ IDEA Ultimate Version 2022.3.1
Answered
Hello,
with my old 2022.1.3 Version (plain JEE-8 project) I was able to trigger this function with ctrl-shift-f9 on *.xhtml-Files.
The Result was 2 Artifacts containing the modified xhtml-file:
- new web application archive (war File)
- new exploded web application (extracted war File)
Then the Liberty-Server (Docker) showed the modification after F5.
The new version rebuilds the project in the same situation. This is not what I want:
It takes much longer and the Server responds with "error 404".
Can you help me?
Greetings,
K. v. Einem
Please sign in to leave a comment.
Do you see the Package file action in the context menu if you right-click on *.xhtml file? Try to delete the `disabled_plugins.txt` file from the configuration directory: https://www.jetbrains.com/help/idea/directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#config-directory while the IDE is closed.
Disturbed perception or self healing?
I worked on my project with old Version 1.3 for one day. Everything was fine.
Now I tried again with 3.1 (on the same project): Package File action is there. Ctrl-shift-f9 works as expected!?
Strange, but I'm satisfied!
Thank you!
PS: I make an appointment with the doctor next week ;-)
Strange: It worked for about half a day. But now i have the same situation as in my first post.
Deleting "disabled_plugins.txt" didn't change anything, but the action in the context menu is there and it works as expected. So it seems to be a context-key-mapping-problem (the ctrl-shift-f9 combination is assigned to different actions).
I don't really like to change anything in the mapping because on *.java (with debugging enabled) ctrl-shift-f9 leads to compile and reload this single class. Which is really great and I'm afraid to break this behaviour. Apart from this: The mapping is the same as in old version 22.1.3.
So for now I think I have 2 Alternatives:
Does anyone have any other ideas?
A similar problem was fixed in the 2023.1 build version - https://youtrack.jetbrains.com/issue/IDEA-296843 . Please check if it works in the latest EAP build from https://www.jetbrains.com/idea/nextversion
Very strange: The EAP-Version worked as expected... BUT: Only for about a day.
Now the package file action in the context menu is missing and ctrl-shift-f9 is not working any more.
Yes: Deleting disabled_plugins.txt didn't change anything.
Find Action (ctrl-shift-A) shows package file only if include disabled actions is enabled.
If it matters: I'm working on Debian-Linux running in VirtualBox on Windows Host with a private licence.
Could you upload the IDE logs zipped at https://uploads.jetbrains.com? (do not forget to specify the UploadID here)
Does it help if you assign another shortcut for Package File action under Settings / Preferences | Keymap ?
Today I tried again: The package file action in the context menu is back(!). After working few days with old version 22.1.3.
Anyway I uploaded the logs...
Upload id: 2023_02_07_259wfEviwAw5eMYrVktYEF (file: log.7z)
Please ensure that the file for which you want to execute Package File action is opened in the editor and focused. In other cases, Rebuild action might be executed instead because it has the same shortcut bonded.
To avoid this behavior, you can assign another shortcut for either Package File or Rebuild action under Settings | Keymap.
Yes, I know. Same shortcuts for different actions depending on context is cool and makes sense in this case. But for this investigation I focused on the existence of the Package File action in the context menu of the opened xhtml-file in the editor. On one day the action is there, on another day it isn't.
Unfortunately, I couldn't reproduce it from our side in the 2023.1 build. Could you capture a screenshot of the whole IDE window showing the opened XHTML file with the option "Always select opened file" enabled?
Files can be privately uploaded at https://uploads.jetbrains.com (please do not forget to specify the UploadID here)
Hello,
to avoid misunderstanding: All my descriptions in the past refer to
Now I worked about 2 Weeks with Version 22.3.1 (with described setup)
Now I'll try 2023.1 eap build 231.7665.28 with the option "Always select opened file" enabled.