Generate editor tags for perl6
Switch branches/tags
Nothing to show
Clone or download
Latest commit f655609 Nov 28, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Expect Failure from Grammar.parse Aug 18, 2017
t test kebabed method Jul 6, 2015
.travis.yml rakudobrew doesn't use panda anymore, try to fix travis Sep 13, 2017
LICENSE actually import Jun 24, 2015
META6.json Use SPDX identifier in license field of META6.json Apr 28, 2017
README.md plug own fork of taglist Nov 28, 2017
dot-ctags actually import Jun 24, 2015
taglist.vim.patch actually import Jun 24, 2015

README.md

Introduction

"Ctags is a programming tool that generates an index (or tag) file of names found in source and header files of various programming languages. Depending on the language, functions, variables, class members, macros and so on may be indexed. These tags allow definitions to be quickly and easily located by a text editor or other utility." -- Wikipedia

App::p6tags

'p6tags' generates ctags for perl6 to allow tags use within editors such as vim and Atom.

When run without arguments it generates a "tags" file in the current directory after parsing perl6 files underneath.

I've mainly tested within vim using Universal Ctags (an actively maintained fork of Exuberant Ctags).

Pull requests welcome.

Vim's "Tag List Plugin"

Users of the vim "Tag List" plugin by Yegappan Lakshmanan will currently have to alter the following files to successfully display the structure of perl6 files using it.

  • patch your "taglist.vim" with "taglist.vim.patch" to be perl6 aware

(or use https://github.com/stmuk/taglist.vim)

  • copy the included "dot-ctags" to ~/.ctags to add very basic perl6 support to ctags(1)

note linux distros probably ship different versions of ctags(1)

Note proper perl6 support for universal ctags is in progress by dtikhonov (github)

-- steve.mynott@gmail.com 20150624

p6-app-p6tags