pdt icon indicating copy to clipboard operation
pdt copied to clipboard

Auto-formatting embed JavaScript

Open m-ovs opened this issue 4 years ago • 1 comments

Describe the bug Auto-formatting (by Ctrl-Shift-F) of embed JavaScript inside .php file is not working.

Describe the eclipse environment PHP 2021-06 and WildWebDeveloper

Describe your system

  • OS: Windows 10

To Reproduce Steps to reproduce the behavior: Create new .php file, copypaste this text and press Ctrl-Shift-F

<?php
// php code here
?>
<script type="text/javascript">function test(){
console log( a);
        console.log('b');}
</script>
}
<?php
//php code here

Expected behavior Auto-format embed JavaScript

Actual behavior Text recogized as JavaScript and colored, but stayed non-formatted.

m-ovs avatar Sep 20 '21 12:09 m-ovs

JSDT has been completely broken in previous years

This task have to wait for migration to GenericEditor si we will be able to use WWD features (wild web developer)

switch to enchncement

zulus avatar May 22 '23 11:05 zulus