User Tools

Site Tools


hpl2:third_party_tools:text:geany

Link to this comparison view

Next revision
Previous revision
hpl2:third_party_tools:text:geany [2011/08/16 04:55]
yourcomputer created
hpl2:third_party_tools:text:geany [2014/12/06 20:31] (current)
yourcomputer [Geany setup]
Line 1: Line 1:
 ====== Geany ====== ====== Geany ======
  
-This is for those who are not interested in using Notepad++ and prefer to use [[http://​www.geany.org/​|Geany]]. For those who are unfamiliar with Geany, Geany is considered an integrated development environment. It has many features that Notepad++ has (e.g. auto-complete,​ syntax highlighting,​ tabbed interface, etc) and perhaps a few other useful features that Notepad++ lacks, and it is cross-platform (though it may be a bit more complex to install on a Mac). + 
 +This is for those who are not interested in using Notepad++ and prefer to use [[http://​www.geany.org/​|Geany]]. For those who are unfamiliar with Geany, Geany is considered an integrated development environment. It has many features that Notepad++ has (e.g. auto-complete,​ syntax highlighting,​ tabbed interface, etc) and perhaps a few other useful features that Notepad++ lacks, and it is cross-platform (though it may be a bit more complex to install on a Mac). 
  
 ===== 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. 
-  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. +    ​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). 
-  - 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. +    - 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. 
-  - Look for the C++ line and add "​*.hps;"​ to the end of it (without quotes) and save.+    - 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. 
 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++.
 +
 +===== Video =====
 +
 +
 +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.1313470528.txt.gz · Last modified: 2011/08/16 04:55 by yourcomputer