phptools-docs
phptools-docs copied to clipboard
Smart Select needs improvement
Describe the bug Smart Select sometimes have wrong selecting. Details below:
Code snippets for test
<ul>
<li>Text: <?php echo $note['created'] ?></li>
</ul>
echo 'this is simple string';
Expected behavior It should select more precisely step by step
My suggestion of what the selection extending steps should look like
(more or less)

Another example:

Thank you for the suggestion!
Actually, we don't provide "Smart Select" functionality at all, but it's on our to-do list.
we're adding selection ranges into the next update;
For now, it will select statements (larger syntactic elements), but it'll be still in progress. Also we'll be adding smart select of HTML elements into the future release as well.
The latest update ads smart select for doc comments and HTML elements. It also improves smart select for PHP syntax tree.