https://bugs.kde.org/show_bug.cgi?id=403680
Bug ID: 403680 Summary: Javascript functions in snippets are not expanded Product: kdevelop Version: 5.3.1 Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: kdevelop-bugs-n...@kde.org Reporter: stegersan...@web.de Target Milestone: --- In KDevelop 5.2.* it was possible to use javascript functions in Snippets. This does not seem to work KDevelop 5.3.1 anymore. STEPS TO REPRODUCE 1. Create a new snippet 2. Enter: ${document.fileName()} 3. Press "Test this snippet" OBSERVED RESULT The output shows "undefined" EXPECTED RESULT Any valid file name SOFTWARE/OS VERSIONS I am using KDevelop 5.3.1 (64bit) AppImage Linux/KDE Plasma: openSUSE Leap 42 KDE Plasma Version: 5.5.5 (System) KDE Frameworks Version: 5.51.0 (shipped in AppImage) Qt Version: 5.9.7 (shipped in AppImage) ADDITIONAL INFORMATION -- You are receiving this mail because: You are watching all bug changes.