You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ognyan Kulev (JIRA)" <ji...@apache.org> on 2018/03/15 08:12:00 UTC

[jira] [Updated] (NETBEANS-469) Tag
 become invalid after
 formatting in JavaDoc

     [ https://issues.apache.org/jira/browse/NETBEANS-469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ognyan Kulev updated NETBEANS-469:
----------------------------------
    Description: 
Let's have the following JavaDoc for a class:

 
{noformat}
/**
  * Description.
  * <p>
  * <pre>
  * sample code
  * </pre>
  */
{noformat}
After formatting the source with Alt-Shift-F, the <pre> tag become invalid:

{{ }}
{noformat}
/**
  * Description.
  * <p>
  * <
  * pre>
  * sample code
  * </pre>
  */{noformat}
Not only <pre> is no longer recognized tag, but subsequent formatting with Alt-Shift-F breaks indentation in the sample code.

  was:
Let's have the following JavaDoc for a class:

{{/**}}
{{ * Description.}}
{{ * <p>}}
{{ * <pre>}}
{{ * sample code}}
{{ * </pre>}}
{{ */}}

After formatting the source with Alt-Shift-F, the <pre> tag become invalid:

{{ /**}}
{{ * Description.}}
{{ * <p>}}
{{ * <}}
{{ * pre>}}
{{ * sample code}}
{{ * </pre>}}
{{ */}}

Not only <pre> is no longer recognized tag, but subsequent formatting with Alt-Shift-F breaks indentation in the sample code.


> Tag <pre> become invalid after formatting in JavaDoc
> ----------------------------------------------------
>
>                 Key: NETBEANS-469
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-469
>             Project: NetBeans
>          Issue Type: Bug
>          Components: editor - Formatting &amp; Indentation
>    Affects Versions: 9.0
>         Environment: Product Version = Apache NetBeans IDE Dev (Build incubator-netbeans-release-205-on-20180202)
> Operating System = Linux version 4.9.0-6-amd64 running on amd64
> Java; VM; Vendor = 1.8.0_151
> Runtime = OpenJDK 64-Bit Server VM 25.151-b12
>            Reporter: Ognyan Kulev
>            Priority: Major
>
> Let's have the following JavaDoc for a class:
>  
> {noformat}
> /**
>   * Description.
>   * <p>
>   * <pre>
>   * sample code
>   * </pre>
>   */
> {noformat}
> After formatting the source with Alt-Shift-F, the <pre> tag become invalid:
> {{ }}
> {noformat}
> /**
>   * Description.
>   * <p>
>   * <
>   * pre>
>   * sample code
>   * </pre>
>   */{noformat}
> Not only <pre> is no longer recognized tag, but subsequent formatting with Alt-Shift-F breaks indentation in the sample code.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists