User Tools

Site Tools


hpl2:third_party_tools:text:geany

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
hpl2:third_party_tools:text:geany [2012/04/30 12:57]
yourcomputer
hpl2:third_party_tools:text:geany [2014/12/06 20:31] (current)
yourcomputer [Geany setup]
Line 7: Line 7:
 ===== Geany setup ===== ===== Geany setup =====
  
 +For auto-complete and other suggestive features Geany uses its tags system to accomplish this. To make our work easier for us, we'll simply add the HPL2 functions list to an already existing supported language: the C language. This is done automatically when Geany reads our .tags file. In this way we can just tell Geany to assume that all %%*%%.hps files are C++ files, which would also trigger C++ syntax-highlighting and symbols listing for all .hps files.
  
-For auto-complete and other suggestive features Geany uses its tags system to accomplish this. To make our work easier for us, we'll simply add the HPL2 functions list to an already existing supported language: the C language. This is done automatically when Geany reads our .tags file. In this way we can just tell Geany to assume that all *.hps files are C++ files, which would also trigger C++ syntax-highlighting and symbols listing for all .hps files. +    ​- Assuming you already have Geany installed, go [[http://​pastebin.com/​sdrvC7aF|here]] and download the paste. Be sure to save the file as "​hps.c.tags"​ (as the title of the paste shows).
- +
- +
-    ​- Assuming you already have Geany installed, go [[http://​pastebin.com/​rcPQaWJt|here]] and download the paste. Be sure to save the file as "​hps.c.tags"​ (as the title of the paste shows).+
     - Move the file to Geany'​s user tags directory. In Windows 7 that would be, for example, C:​\Users\username\AppData\Roaming\geany\tags. In Linux that would be /​home/​username/​.config/​geany/​tags.     - Move the file to Geany'​s user tags directory. In Windows 7 that would be, for example, C:​\Users\username\AppData\Roaming\geany\tags. In Linux that would be /​home/​username/​.config/​geany/​tags.
     - Open up the filetype_extensions.conf file. In Windows 7 that would be found in, for example, C:\Program Files (x86)\Geany\data. In Linux that would be in, for example, /​usr/​share/​geany.     - Open up the filetype_extensions.conf file. In Windows 7 that would be found in, for example, C:\Program Files (x86)\Geany\data. In Linux that would be in, for example, /​usr/​share/​geany.
-    - Look for the C++ line and add "​*.hps;"​ to the end of it (without quotes) and save. +    - Look for the C++ line and add "%%*%%.hps;" to the end of it (without quotes) and save.
  
 Now the next time you start Geany your .hps files will provide the same, if not more, satisfaction as it may have in Notepad++. Now the next time you start Geany your .hps files will provide the same, if not more, satisfaction as it may have in Notepad++.
Line 22: Line 19:
  
  
-For those who have trouble following written instructions and what to see it done visually: http://​www.youtube.com/​watch?​v=JeOG53Zapx8+For those who have trouble following written instructions and want to see it done visually: http://​www.youtube.com/​watch?​v=JeOG53Zapx8
hpl2/third_party_tools/text/geany.1335790620.txt.gz · Last modified: 2012/04/30 12:57 by yourcomputer