Author Topic: How to ouput curly brackets in text  (Read 3487 times)

aatwo

  • Guest
How to ouput curly brackets in text
« on: January 29, 2018, 03:51:41 AM »
Hi. I'm playing around with VoiceAttack for some software dev and a lot of IDEs implement a concept called code snippets where you can type a keyword and the IDE intellisense will allow it to autocomplete the keyword to a user defined code snippet.

For example "comment_line" might auto complete to "//--------------------------------------------------------------------------------".

I have a whole bunch of these and I was trying to implement them using VA but it's stripping out any curly brackets (I.E. {}). Is there a way round this? I tried using the "Quick Input" and "set windows clipboard"+"ctrl+v" commands but got the same result with both.

[edit] side note - I wanted to mention how enjoyable it is to be able to say "make it so" to launch my applications from my IDE :D

TheThingIs

  • Global Moderator
  • Sr. Member
  • *****
  • Posts: 278
    • HCS Voicepacks
Re: How to ouput curly brackets in text
« Reply #1 on: January 29, 2018, 04:38:14 AM »
To indicate a literal curly bracket, simply prefix the curly bracket with a pipe symbol: |{ or |}.
The Singularity profile - One profile to rule them all and at HCS we bound them ;)

You see, TheThingIs, eventually you'll be allright.