开发者

gVim perl tags under Win32 - should I use Perl::Tags?

开发者 https://www.devze.com 2022-12-09 17:42 出处:网络
I am a newbie when it comes to gVim, Perl & test scripts, so I hope this is not a stupid question?

I am a newbie when it comes to gVim, Perl & test scripts, so I hope this is not a stupid question?

I have successfully installed Perl::Tags 0.26 under Linux and OS X but am getting installation test errors under WIN32 -- also see perl.cpan.testers

My questions are:

(i) Does VIM need Perl::Tags or can I rely on exuberant ctags to generate the appropriate tags for me?

(ii) If I nee开发者_如何转开发d Perl::Tags then how does one fix the following issue -- many of the installation tests seem to fail because the test expects /Test.pm but gets \Test.pm under WIN32. Here is an example from test 02_subclass.t :

Current test does fails under WIN32

like ($todo_tagger,  qr{Test\t\S+/Test.pm\t/package Test;/}       , 'package line');

This test succeeds - note the directory slash

like  ($todo_tagger, qr{Test\t\S+\\Test.pm\t/package.Test;/}       , 'package line');

Will this prevent the tags file working?


I can't speak to the usefulness of Perl::Tags (I use ctags myself, but I don't currently use any tags for Perl), but as for the test failures, they look harmless. Everything should go okay if you do a "notest install". I've filed a bug report on rt.cpan.org about the failing tests.

0

精彩评论

暂无评论...
验证码 换一张
取 消