# TODO in rails

You can use # TODO, # FIXME, and # OPTIMIZE and you can easily get all of these with the following rake task: rake notes In addition to the default annotations, you can always specify and search for your own annotations: rake notes:custom ANNOTATION=ZOMG

TODO comment font color in VS2010 with ReSharper and Productivity Power Tools

To change the colour of the TODO items in the text editor, change the environment settings using Visual Studio (Tools -> Options -> Environment -> Fonts and Colors) Then scroll to the item in the “Display items” list which in this case is “Resharper TODO item” UPDATE: this applies to Resharper 7.1 and 8.2 upwards … Read more

IDE comment keywords

I can speak of Eclipse, you can customize it. Click on Window -> Preferences, and search for General -> Editors -> Structured Text Editors -> Task tags, or for Java -> Compiler -> Task tags (there might be some additional ones like for JavaScript, PHP, StatET, etc.) TODO, FIXME, XXX I use some additional ones … Read more

How do I add a high-priority TODO comment in Visual Studio?

The priority of the task depends on the keyword you use to tag it. You can see and edit a list of keywords and their priorities by going to Tools->Options->Environment->Task List. For example, on my installation, I’ve got HACK, TODO and UNDONE as normal priority, and UnresolvedMergeConflict as high priority. If you want to add … Read more

Find TODO tags in Eclipse

Is there an easy way to view all methods which contain this comment? Some sort of menu option? Yes, choose one of the following: Go to Window → Show View → Tasks (Not TaskList). The new view will show up where the “Console” and “Problems” tabs are by default. As mentioned elsewhere, you can see … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)