This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Editor does not show code folding for php blocks in PHP Web Pages | ||
---|---|---|---|
Product: | php | Reporter: | maghiel <maghiel> |
Component: | Code | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | mmirilovic, pjiricka, vriha |
Priority: | P3 | Keywords: | RANDOM |
Version: | 7.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | folding |
Description
maghiel
2011-03-14 02:07:49 UTC
I can not reproduce it. The code folding for php functions in php web page works for me. Could you attach a example source? Thanks. I tried to reproduce it in older build since right now I don't have the newest one, but it works fine. I'll try with the latest version this evening Created attachment 106989 [details]
folding
The newest available build for me is right now the same as Maghiel used and this works fine in both php file and php web page, see the screenshot Product Version: NetBeans IDE 7.0 RC1 (Build 201103120000) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Windows 7 version 6.1 running on x86; Cp1250; cs_CZ (nb) What is weired for me is that the class fold is treated as tag fold. But this is a result of the fix for issue #179462. I'm closing this issue as works for me. Please be free to reopen and attach a screenshot or source file, where it doesn't work correctly. Thanks. Unfortunately, I have to reopen this issue. I don't know why but once I had to reopen the file to make it working but mostly it works just fine. The folds that are in new Php web page were shown but new folds for php code wasn't. It happened to me just once while doing Sanity Test where is a lot of attempts so I'll lower priority. And because it's quite rare bug, I'm not able to reproduce it. This was in the php code: <?php /** * Doc * @param type $oes */ function moje($oes) { $pes = 2; // $pes; } class Foo { } ?> But again, I wasn't able to reproduce it with the same code... Product Version: NetBeans IDE 7.0 RC2 (Build 201104050000) Java: 1.6.0_24; Java HotSpot(TM) Client VM 19.1-b02 System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb) I'm marking this as works for me. Feel free to reopen, when you run into again. A reproducible case would be great. |