j
k
j a
j l
The 'Open Module' command in the Perl bundle looks for a line like
use ModuleName;
but quite a lot of code uses instead
require ModuleName;
Changing line 9 of the command to
if ($line =~ /^\s*(?:use|require)\s+([^\s;]+)/) {
fixes this.
Show replies by date
On 4. Nov 2006, at 21:51, Andy Armstrong wrote:
The 'Open Module' command in the Perl bundle looks for a line like [...]
Is there such command by default? I don’t seem able to find it.
textmate@lists.macromates.com
Add to favorites Remove from favorites