Skip to content

JavaScript folding not working in PHP file #15228

@sysmaya

Description

@sysmaya

Is there an existing issue for this?

  • I have searched the existing issues

Description of the Issue

I have a php script and within that script I manage php + html + javascript.
And the error happens when I use string templates in javascript code.
After the line where the hard quotes symbol appears, the error appears and the folding option is no longer shown.
error-notepad-plus-plus

Describe the solution you'd like.

Until now the solution is to use the traditional method when inserting variables into a javascript string.

Debug Information

Notepad++ v8.6.5   (64-bit)
Build time : Mar 29 2024 - 17:04:43
Path : C:\Program Files\Notepad++\notepad++.exe
Command Line : 
Admin mode : OFF
Local Conf mode : OFF
Cloud Config : OFF
Periodic Backup : ON
OS Name : Windows 11 Pro (64-bit
OS Version : 23H2
OS Build : 22631.3593
Current ANSI codepage : 1252
Plugins : 
    mimeTools (3.1)
    NppConverter (4.6)
    NppExport (0.4)
    NppFTP (0.29.13)

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    lexilla dependentCan't be considered for N++ implementation unless/until Lexiilla changes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions