pdt
pdt copied to clipboard
Auto-formatting embed JavaScript
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.
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