majju's blog

By majju, history, 20 months ago, In English

Hello,

I started to use geany as a text editor. I've setup everything except the snippet. In sublime text, when you type in a certain trigger, a prewritten code is included. Is there anything similar in geany ?

Edit : I use mac 2020 m1 chip

  • Vote: I like it
  • +1
  • Vote: I do not like it

| Write comment?
»
20 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Yes,you can search for how to use it.

»
20 months ago, hide # |
 
Vote: I like it +5 Vote: I do not like it
  1. delete geany
  2. use Clion
»
20 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

interesting, is it similur to vim? cause i use vim

»
20 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Link This is what I got at max when i was trying to configure it myself. then I just stored all my snippets in a .cpp file and i copy them when in need.

»
20 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Go to tools > Configuration files > snippets.conf

Add new snippet, and use it with tab

»
20 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

write a script thats how I use it at least.

»
20 months ago, hide # |
Rev. 3  
Vote: I like it 0 Vote: I do not like it
Method which worked for me
»
20 months ago, hide # |
 
Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by majju (previous revision, new revision, compare).