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: | Auto creation of * in comments should only apply to /** blocks and not to /* blocks | ||
---|---|---|---|
Product: | php | Reporter: | Manachi |
Component: | Editor | Assignee: | junichi11 |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | junichi11, martin145 |
Priority: | P3 | Keywords: | PATCH_AVAILABLE |
Version: | 8.0.2 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Attachments: |
proposed patch
screenshot of Options |
Description
Manachi
2013-06-06 01:58:27 UTC
Fixed in jet-main. Block comment formatting settings (Tools -> Options -> Editor -> Formatting -> Java -> Comments) should be respected. http://hg.netbeans.org/jet-main/rev/930f87a7fffe Integrated into 'main-golden', will be available in build *201306100004* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/930f87a7fffe User: Dusan Balek <dbalek@netbeans.org> Log: Issue #230814: Auto creation of * in comments should only apply to /** blocks and not to /* blocks - fixed. I regretfully need to reopen this bug. There is no way to disable automatic asterisk insertion in 8.0 RC1 for PHP - Linux x64 version. Some debug info follows: Product Version: NetBeans IDE 8.0 RC1 (Build 201402242200) Java: 1.7.0_51; OpenJDK 64-Bit Server VM 24.51-b03 Runtime: OpenJDK Runtime Environment 1.7.0_51-b31 System: Linux version 3.2.12-gentoo running on amd64; UTF-8; pl_PL (nb) User directory: /home/tuxworker/.netbeans/8.0rc1 Cache directory: /home/tuxworker/.cache/netbeans/8.0rc1 There never was such an option. Well, there is for JAVA. Why shouldn't there be one for PHP ? Clearly looks like a bug to me. Yeah it looks like this hasn't been fixed for PHP yet. Please fix this for PHP. It's really annoying. :( This is also an issue for the C++ plugin, and is still exceedingly annoying. This issue is still occurring. Can this bug be resolved? This is still happening in Dev Build : 201507040001 for PHP Please fix this! Please fix this for PHP. Just a workaround: "Shift" + "Enter" (In reply to junichi11 from comment #13) > Just a workaround: "Shift" + "Enter" NOTE: If you would like to divide a line to two lines, you cannot use it. In such case, please try using "Ctrl" + "Enter" as another workaround. Thanks. So any update on fixing this for PHP? PLEASE FIX this for PHP. It's really annoying !! Kind of surprised this priority was downgraded. Just to frame this in a slightly different way incase it's unclear. Netbeans doesn't currently allow you to do simple multiline comments in php without breaking the formatting. Multi line comments should be a trivial feature of any simple text editor or basic IDE, let alone a mature one like Netbeans. Created attachment 164744 [details]
proposed patch
I'll apply the patch after NetBeans 9.0 is released.
Thanks for your understanding.
Created attachment 164745 [details]
screenshot of Options
Although it is fixed bug still happy to find details about bug which is product of PhP, version 8.0.2, run with all hardware and but is all about Auto creation of * in comments should only apply to /** blocks and not to /* blocks. Caroline, http://www.personalstatementfolks.co.uk/ |