Chapel Developers --

For those who haven't seen/tried it yet, this is a very cool feature, providing emacs/vim "tags" support for Chapel code via a 'chpltags' utility script.* While trying it out, I used it to surf through routines in the internal/standard modules today, as well as to walk around the callchain of lulesh. I wish we'd had this years ago -- Give it a try.

Thanks Kyle!
-Brad



---------- Forwarded message ----------
Date: Thu, 11 Dec 2014 18:30:18 -0600
From: Kyle Brady <[email protected]>
Reply-To: [email protected]
To: [email protected]
Subject: [Chapel-commits] [chapel-lang/chapel] b57488: Add tag generation       
for the
     module code

  Branch: refs/heads/master
  Home:   https://github.com/chapel-lang/chapel
  Commit: b5748830da2061fad68b056747ed169d87213e83
      
https://github.com/chapel-lang/chapel/commit/b5748830da2061fad68b056747ed169d87213e83
  Author: Kyle Brady <[email protected]>
  Date:   2014-11-25 (Tue, 25 Nov 2014)

  Changed paths:
    M .gitignore
    A etc/ctags/ctags.chapel
    M make/Makefile.base
    M modules/Makefile

  Log Message:
  -----------
  Add tag generation for the module code

Adds ctag support for chapel via the --regex and --lang[def|map] options
and uses it to generate tag files for our module code. `ctags -e` is now
used to generate the emacs format for compatibility with these options.

Also consolidated a few rules in the .gitignore for tag files, we now
generally ignore any tags or TAGS file.


  Commit: ce4d422ead70760fd54a7d46d60d635310d8cd40
      
https://github.com/chapel-lang/chapel/commit/ce4d422ead70760fd54a7d46d60d635310d8cd40
  Author: Kyle Brady <[email protected]>
  Date:   2014-11-25 (Tue, 25 Nov 2014)

  Changed paths:
    M etc/ctags/ctags.chapel

  Log Message:
  -----------
  Remove type declarations from Chapel tags

While it might be nice to have type declarations in the tags, we tend
to use them as variables in quite a few places and this leads to many
duplicate tags.


  Commit: f47e85214d772b1ba7018b8c223a6ec26ecbb85f
      
https://github.com/chapel-lang/chapel/commit/f47e85214d772b1ba7018b8c223a6ec26ecbb85f
  Author: Kyle Brady <[email protected]>
  Date:   2014-12-02 (Tue, 02 Dec 2014)

  Changed paths:
    R etc/ctags/ctags.chapel
    M make/Makefile.base
    M modules/Makefile
    A util/devel/chpltags

  Log Message:
  -----------
  Add a new chpltags utility

chpltags wraps both Exuberant Ctags and etags, allowing for the creation
of both emacs and vi compatible tag files for Chapel code. This new
script is now being used to create the tag file for the modules. The
ctags.chapel file that was being used previously has been removed


  Commit: 776254c57df85668539f483268d24c707593390c
      
https://github.com/chapel-lang/chapel/commit/776254c57df85668539f483268d24c707593390c
  Author: Kyle Brady <[email protected]>
  Date:   2014-12-04 (Thu, 04 Dec 2014)

  Changed paths:
    M util/devel/chpltags

  Log Message:
  -----------
  Improve the chpltags help message

Improved the chpltags help message based on feedback from
@thomasvandoren.

Added a check to ensure that a ctags executable can be found before
calling it.


  Commit: 1294155ff49e8b5c2d6f4e2c3527e5c2dbcb7f1e
      
https://github.com/chapel-lang/chapel/commit/1294155ff49e8b5c2d6f4e2c3527e5c2dbcb7f1e
  Author: Kyle Brady <[email protected]>
  Date:   2014-12-11 (Thu, 11 Dec 2014)

  Changed paths:
    M modules/Makefile
    M util/README
    M util/buildRelease/gen_release
    A util/chpltags
    R util/devel/chpltags

  Log Message:
  -----------
  Move chpltags into the util/ directory

chpltags is now in the root util/ directory and has been added to the
release.


  Commit: 43348cc78b186fa4f382987df98a0dd1828b1795
      
https://github.com/chapel-lang/chapel/commit/43348cc78b186fa4f382987df98a0dd1828b1795
  Author: Kyle Brady <[email protected]>
  Date:   2014-12-11 (Thu, 11 Dec 2014)

  Changed paths:
    M .gitignore
    M make/Makefile.base
    M modules/Makefile
    M util/README
    M util/buildRelease/gen_release
    A util/chpltags

  Log Message:
  -----------
  Merge pull request #925 from Kyle-B/kb-add-chapel-ctags

Add tag generation for the module code

Adds ctags support for chapel via a new utility script, `chpltags`. `chpltags`
uses the regex options supplied by ctags and etags.

`ctags -e` is now used to generate the emacs format for compatibility
with these options if possible, otherwise etags is used.

Also consolidated a few rules in the .gitignore for tag files, we now
generally ignore any tags or TAGS file.


Compare: 
https://github.com/chapel-lang/chapel/compare/5bd849a79d19...43348cc78b18
------------------------------------------------------------------------------

Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server

from Actuate! Instantly Supercharge Your Business Reports and Dashboards

with Interactivity, Sharing, Native Excel Exports, App Integration & more

Get technology previously reserved for billion-dollar corporations, FREE

http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk

_______________________________________________

Chapel-commits mailing list

[email protected]

https://lists.sourceforge.net/lists/listinfo/chapel-commits

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to