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
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
| № | Пользователь | Рейтинг |
|---|---|---|
| 1 | Benq | 3676 |
| 2 | jiangly | 3670 |
| 3 | Kevin114514 | 3657 |
| 4 | maroonrk | 3355 |
| 5 | Um_nik | 3353 |
| 6 | squareOf105 | 3346 |
| 7 | tourist | 3343 |
| 8 | strapple | 3324 |
| 9 | heuristica | 3322 |
| 10 | jiangbowen | 3291 |
| Страны | Города | Организации | Всё → |
| № | Пользователь | Вклад |
|---|---|---|
| 1 | Qingyu | 158 |
| 2 | nik_exists | 150 |
| 2 | maspy | 150 |
| 4 | AmShZ | 143 |
| 5 | Um_nik | 141 |
| 6 | Errichto | 139 |
| 7 | adamant | 137 |
| 8 | BledDest | 133 |
| 8 | maroonrk | 133 |
| 10 | qwexd | 130 |
| Название |
|---|



Yes,you can search for how to use it.
Didn't find anything online that works in a mac
Not as lightweight tho.
Don't like to use IDEs
its not that deep, relax
interesting, is it similur to vim? cause i use vim
No it's a little different
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.
I tried what was there in the link. It doesn't work
Go to tools > Configuration files > snippets.conf
Add new snippet, and use it with tab
Doesn't work
see it
write a script thats how I use it at least.
How to do that ?
.
1.copy paste your code here and copy the output without the quotes
2.type sudo gedit /usr/share/geany/snippets.conf (or you can go to snippets.conf from the tools menu in geany)
3.under the language section which you want to change
4.aliasname=paste the op which you have copied and save it
5.open geany ,in tools -> reload configuration
6.you are done just type aliasname and then press tab, your snippet is pasted.
Like in the above case under c++ section in that conf file ,i would do as customhash=the op you copied
Auto comment: topic has been updated by majju (previous revision, new revision, compare).