Tracker: Feature Requests

5 Semantic: Add support for TODO/FIXME tags - ID: 1538502
Last Update: Comment added ( nobody )

Hi,

It would be great if Semantic could support FIXME: and
TODO: tags (like, for instance Eclipse does). I tried
adding that functionality myself but failed
miserably... :-(

Thanks!
Francesco


Nobody/Anonymous ( nobody ) - 2006-08-11 01:13:52 PDT

5

Open

None

Eric M. Ludlam

None

None

Public


Comments ( 2 )




Date: 2009-05-01 22:17:50 PDT
Sender: nobody

Add this to your ~/.xemacs/init.el file:

; Make fixme:, todo:, bug: and ??? tags standout
(add-hook 'font-lock-mode-hook
'(lambda ()
(setq font-lock-keywords
(append font-lock-keywords

'(("[Ff][Ii][Xx][Mm][Ee]:\\|[Tt][Oo][Dd][Oo]:\\|[Bb][Uu][Gg]:\\|\\?\\?\\?\\?*"
(0 'font-lock-warning-face t)))))))


Date: 2008-03-01 19:30:39 PST
Sender: zappoSourceForge.net SubscriberProject Admin


Semantic doesn't look inside any comments, so there is no structure there
to do the lookup.

It would probably be easier to write a seperate simple program form Emacs
that calls grep, and groups the output. Then you could use semantic to
find out what those grep hits are associated with.


Log in to comment.

Attached File

No Files Currently Attached

Change ( 1 )

Field Old Value Date By
assigned_to nobody 2009-02-01 06:23:04 PST zappo