Commit Graph

19 Commits

Author SHA1 Message Date
Justin Whear 4f32e16e2b Fix recursive Ctags output
Previously using `dscanner --ctags -R <dir>` would output tags without
any filenames, making it pretty useless for navigating in a project.
This was due to all the syntax objects being merged into a single generic
Module, then outputting that module without a filename specified.

This fix does the following:
 * Moves the CTag header output from the Module class to the proper spot in
    main.d
 * Renames `Module.writeCtagsTo` to `getCtags` and now returns string[]
    with the prepared tag lines.
 * The CTag printing functionality in main.d now gathers all tag lines
    from each module, sorts, then outputs.

Note that a more optimal implementation would be fairly straightforward.
Instead of simply returning a string[], `Module.toCtags` could take a
sorted container and insert in sorted order.  main.d could pass this
container to each module in turn, then output the results.
2013-07-26 13:05:17 -07:00
Hackerpilot 75a802d51a Fixed issue #38 2013-03-26 13:26:27 -07:00
Hackerpilot 0d23da9ea6 Slightly better autocomplete for arrays. It still doesn't work properly 2012-11-13 15:07:08 -08:00
Hackerpilot 22a62bfe84 Added alias declarations to modules, structs, classes, etc. Fixed issue #15 2012-11-13 12:49:02 -08:00
Hackerpilot 3054914e2f Fix issue #20 2012-11-11 03:15:22 +00:00
Hackerpilot fcf6578232 Issue #18 2012-10-22 14:49:15 -07:00
Hackerpilot 9388738f99 Fix issue #14. The listing of unions was mislabled as 'structs'. 2012-08-01 17:09:03 -07:00
Hackerpilot c86ab70b07 Added dot completion support for import statements 2012-06-16 20:45:16 -07:00
Hackerpilot 9c8295e013 Call tips for member functons 2012-06-07 11:29:35 -07:00
Hackerpilot 570f69f64e Removed debugging from call tips 2012-05-29 10:35:02 -07:00
Hackerpilot f354b6ec4c fixed contract parsing. Improved autocomplete. Initial support for call tips 2012-05-29 10:26:26 -07:00
Hackerpilot dbf2be29b7 More bug fixes 2012-05-24 15:20:20 -07:00
Hackerpilot cb719a9c36 Autocompletion improvements 2012-05-22 14:48:09 -07:00
Hackerpilot 99dfd0973a Fixed bug with version statement completion 2012-05-04 14:49:09 -07:00
Hackerpilot 7fdf090144 Fixed CTAGS output 2012-04-22 22:34:07 -07:00
Hackerpilot 79f59bb6f4 Added --ctags option to generate tags file 2012-04-21 17:43:56 -07:00
Roman D. Boiko bd9a5186d8 Updated licensing information (minor) 2012-04-21 21:00:59 +02:00
Hackerpilot b0a677a17c Module declarations. Changed license to Boost 2012-04-21 11:11:30 -07:00
Hackerpilot 9d5a8ce7e6 Checking in the code 2012-04-21 06:10:41 -07:00