| |
QuasaR
Registered: Dec 2001 Posts: 145 |
Crosdev: Using Geany
Hi there!
I'm struggling with the syntax-highlighting in Geany (http://www.geany.org/). Is anybody else using this editor and would share his filetypes.c64.conf file with me? |
|
| |
Hermit
Registered: May 2008 Posts: 208 |
Hi QuasaR
I use Geany quite a while ago with 64tass (Lubuntu linux). I shared my self-made 6502 syntax-highlighter geany config files in the 'source/devkits/' folder via SID-Wizard 1.2. The extension should be '.asm' for the source files.
http://sourceforge.net/p/sid-wizard/code/212/tree/tags/1.2/sour..
It contains darker colour scheme and a TTF font which should be added in Geany... at the moment it works with Geany 1.2 by simply overwriting its original geany.conf, etc. files... to be on the safe side with your Geany version I advise to make backups from the original config files.
If you use other OS and other assembler than 64tass then the 'Set build commands' settings should be altered accordingly...
|
| |
Carlos Account closed
Registered: Mar 2009 Posts: 15 |
I was toying around with Geany some time ago, but finally discarded because i wanted to use it with KickAss and wasn't able to change some of Geany asm default syntax like the symbol for comments (KickAss C style comments: // and /* */ instead of the standard asm comment: ; ) |
| |
QuasaR
Registered: Dec 2001 Posts: 145 |
Thanks Hermit for your files, I'm gonna try tonight.
|
| |
spider-j
Registered: Oct 2004 Posts: 498 |
Hi, I'm trying to get syntax highlighting to work for acme assembler syntax. I use Hermit's 64tass config files for orientation.
Most things work out nice so far.
I have two problems left:
1.) how to get hex values also highlighted as numbers?
2.) how to get the ! sign to be part of the directive?
Cheers,
spider.
EDIT: okay after spending a day googling, answering this for myself:
It seems that geany's highlighting configuration isn't quite as comfortable as I'm used to (gtksourceview .lang files). So I decided to stick to gedit, as the only feature I'd want that can not be achieved with gedit-plugins is having more than one tab open in one window. But nice highlighting has a higher priority to me.
I can really recommend gedit to all linux x-dev coders. It's heavily extendible.
I spend the rest of the evening working on my 6510.lang file. It know recognizes acme and 64tass syntax and illegal opcodes. So if anyone ever needs this: drop me a note! |