Hi,
Yesterday, an article featured the XDA Portal, talking about a new "code editor" for the Edify language. I wasn't much interested in it, because:
1. Windows, duh!
2. Porting ROMs (which I seldom do, though), or editing updater script, I use Linux.
3. Why a new editor, when language support can be added easily to *most* of the editors? This limits user functionality, the way user had been interacting with software, and would be missing out high on features
So, I decided to add edify syntax highlighting support to the popular text editor, Geany (yes, I don't use Gedit, and hate it. Period.).
Here's how you'd go about doing this one
All changes are perfectly revertible, so, you won't have to risk reinstalling Geany :fingers-crossed:
First, copy your filetype_extensions.conf to your home folder using the following command:
Open it up, and add the following line, (below "Docbook=*.docbook;" preferably, to maintain alphabetical order):
Download the following file: https://raw.github.com/thewisenerd/edify_geany/master/filedefs/filetypes.Edify.conf
And place it within your ~/.config/geany/filedefs/ folder.
Hopefully, those are all the changes that need to be done
Close Geany, and open up any updater-script file, and hopefully, you should have syntax highlighting :laugh:
XDA:DevDB Information
[PLUGIN][GEANY] Edify Syntax Highlighter, a Tool/Utility for the Android General
Contributors
thewisenerd
Version Information
Status: Testing
Created 2014-01-12
Last Updated 2014-05-01
Yesterday, an article featured the XDA Portal, talking about a new "code editor" for the Edify language. I wasn't much interested in it, because:
1. Windows, duh!
2. Porting ROMs (which I seldom do, though), or editing updater script, I use Linux.
3. Why a new editor, when language support can be added easily to *most* of the editors? This limits user functionality, the way user had been interacting with software, and would be missing out high on features
So, I decided to add edify syntax highlighting support to the popular text editor, Geany (yes, I don't use Gedit, and hate it. Period.).
Here's how you'd go about doing this one
All changes are perfectly revertible, so, you won't have to risk reinstalling Geany :fingers-crossed:
First, copy your filetype_extensions.conf to your home folder using the following command:
Code:
cp /usr/share/geany/filetype_extensions.conf ~/.config/geany/
Open it up, and add the following line, (below "Docbook=*.docbook;" preferably, to maintain alphabetical order):
Code:
Edify=*updater-script*;
Download the following file: https://raw.github.com/thewisenerd/edify_geany/master/filedefs/filetypes.Edify.conf
And place it within your ~/.config/geany/filedefs/ folder.
Hopefully, those are all the changes that need to be done
Close Geany, and open up any updater-script file, and hopefully, you should have syntax highlighting :laugh:
XDA:DevDB Information
[PLUGIN][GEANY] Edify Syntax Highlighter, a Tool/Utility for the Android General
Contributors
thewisenerd
Version Information
Status: Testing
Created 2014-01-12
Last Updated 2014-05-01