+ Add Question

Escaping special characters

How do I escape special characters, like for instance the @-sign?

I'm creating tasks for a programming project with annotations, like for instance

"Add @RequestMapping to xxx". I'm not looking to turn it into a label.

All responses

David Trey  staff
Replied on Sep 28, 2013 - 19:55 UTC

Hello Poyan,

Unfortunately, you can't "truly" escape them so that you will see @RequestMapping and this will not turn into a label, but if you type .@RequestMapping and don't mind the dot at the front - this will not consider it a label.


Best regards,
David

M
Matt  premium
Replied on May 21, 2015 - 04:01 UTC

What if we could escape it via \@RequestMapping?

Clyde Romo  staff
Replied on May 21, 2015 - 05:01 UTC

Hi Matt,

I just tested it and adding a backlash should work just fine as well.


Regards,
Clyde

M
Matt  premium
Replied on May 21, 2015 - 05:31 UTC

Hey Clyde :) of course, the backslash prevents the commit but for completeness sake, I was wondering if the task could then show up in the list without the backslash? ie. the "@" char is escaped at time of editing title only. thanks!

PS. great product! best I've found in years.

Clyde Romo  staff
Replied on May 21, 2015 - 05:35 UTC

Hi Matt,

I see. We're not currently working on adding this feature but we may look into it in the future. We're very happy to hear that Todoist is working for you. :-)


Regards,
Clyde