i have a project with multiple aarch64 assembler files. Every time i select a file ST4 decides it is an x86 assembler file. I select arm and everything is fine. However… If i close the file and open it again ST4 reverts it to x86 assembler which is wrong because x86 gnu asm and arm gnu asm use different characters for line comments (DUMB GNU IDIOT STUFF grrr).
How do i make ST4 remember that foo/bar/bam/fud/fudge.s is arm assembler but foo/fud/bar/bam/fudge.s is x86 asesmbler
yes i have both
Issue with syntax coloring
mark4
#1
0 Likes
bschaaf
#2
ST generally uses the first line of a file and the file extension to determine the syntax to use. Seems like that approach isn’t enough for your case. Keeping a database of all previously opened files isn’t a good solution to this though, perhaps you have another way of differentiating those files?
0 Likes