Make Geany recognize additional file extensions

断了今生、忘了曾经 提交于 2019-11-30 02:40:40

问题


My default Geany installation on Debian does not recognize some file types out of the box. How can I add extensions, using the same syntax highlighting as other known extensions for simplicity's sake?

In the current case, I'd like Geany to open all .aspx files with the same highlighting as .html files.


回答1:


Use inside the menu Tools->Configuration files->filetype_extensions.conf. This will allow you to configure the filetypes based on suffix for your user.




回答2:


Just add new extensions in /usr/local/share/geany/filetype_extensions.conf



来源:https://stackoverflow.com/questions/20316547/make-geany-recognize-additional-file-extensions

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!