Skip to content
This repository has been archived by the owner. It is now read-only.
Generate editor tags for perl6
Other
  1. Other 100.0%
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
t
.travis.yml
LICENSE
META6.json
README.md
dot-ctags
taglist.vim.patch

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

You can’t perform that action at this time.