加入对话

6条评论

  1. JSFormat mangles regular expression

    What steps will reproduce the problem?
    1. JSFormat the following:
    var n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//;

    What is the expected output? What do you see instead?
    expected:
    var n = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//;
    seen:
    var n = /\/\*[^*]*\*+([^/ * ][^ * ] * \ * + ) * \ //;

    What version of the product are you using? On what operating system?
    1.16.0.0 unicode

      1. could you keep (after JSFormat) > < etc..
        In some “JS cases” they replace > < .
        If, for example, JSFormat insert a space ( & gt; ) this is not correct.

  2. Hi, I found a bug in JSformat. I have a loop:
    do {
    } while ()

    When the “while ()” part is missing and I try to use JSFormat, whole notepad++ crashes.

留下评论

sunjw进行回复 取消回复

邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据