3 ms·
What if I need to type a note with C++ in it? ;)
by topicseed 3y ago
What if I need to type a note with C++ in it? ;)
- Blahah 3y agoNot sure why that seems like a challenge, but it's trivial since 2001. Use a codeblock.
- ithkuil 3y ago++ triggers AI autocomplete; a whole wall of text of autocomplete. So the question was likely: how to write the word "C++" in your prose (as opposed to writing some C++ code)
- steventey 3y agoGreat question – all you need to do is hit CMD+Z or Esc when the generation starts and it automatically aborts it and gives you your "++" back! Here's the code for it: https://github.com/steven-tey/novel/blob/main/ui/editor/index.tsx#L178-L199 https://github.com/steven-tey/novel/blob/main/ui/editor/inde... I've debated between "++" vs "+++", but settled for ++ since it's lesser keystrokes (at the risk of conflicting with more common words/phrases) haha