Open multifinger opened 6 years ago
In previous versions disabling some functionality of twig templates, but now these setting gone:
Also, if plugin is disabled, no freeze occurs
@multifinger can you say, what Symfony version do you use? I'm afraid it caused when container splitted by multiple files. Also does your var
dir is marked as excluded?
using symfony 2.8 (no var dir) app/cache, app/logs marked as excluded
As for now, I've got hang-up when trying to edit asset in twig template:
<link rel="stylesheet" href="{{ asset('start typing here goes to freeze') }}">
This case also happend yesterday several times (after phpstorm process kill)
Waiting for cofee-break doesn't help.
Web directory is marked as resourse root in PS, vendor files excluded (bower, bundles, compiled js/css)
Don't know how can I help for debugging.
Previous versions of plugin had settings to enable/disable different features, I used to disable twig-related features and it helped to work. Can you restore that settings? (New version on screenshot have only code-folding settings)
Also, how can I help to debug this case? Maybe I can provide some information? Look for some logs or snapshoots to understand that's happening insode IDE? Guess IDE should have some debug/developer mode.
This issue is beeing occudred for years, different versions of phpstorm and pluging (including current last versions PS 2017.2.4 SFplugin: 0.14.154, ubuntu 16.04 LTS (with latest updates)
It looks like this: 1) You are working with code, trying to change smt (most freeze cases happens during editing twig templates) 2) IDE freeze, no interaction available, can't close, or kill process with SIGTERM 3) Waiting for a long time sometimes helps, sometimes not (even waiting for an hour) 4) Killing phpstorm with SIGKILL helps to restart IDE 5) Clearing cache in most cases doesn't help - if you try to edit same line that you try just before freeze, leads to freeze again.
This issue occures in different project (even with rather simple)
app/cache excluded