开发者

View plain text files with different background colors in Mac OSX, for different programming languages

开发者 https://www.devze.com 2022-12-22 16:32 出处:网络
I work with Mac OS X Leopard. I usually have 5 or 10 text files opened at the same time with different programming languages; one for a bash script, another for a python one, etc. When I use exposé a

I work with Mac OS X Leopard. I usually have 5 or 10 text files opened at the same time with different programming languages; one for a bash script, another for a python one, etc. When I use exposé all of them look the same, so it is difficult to select them.

I wonder how could I work with just plain text files in OSX, so when they are opened in an editor the background color changes or some other thign, so when using exposé it is clear to me which window belon开发者_如何学JAVAgs to what language.

I thought about inserting some kind of info to the last line of each document, and then creat some applescript that converts it to RTF or someother text document which includes color in bacjground, so then it is opened with textmate or someother app.

Do you know a better approach for this?

Thanks


Some editors allows different settings for different programming languages. Try TextMate or BBEdit, for example...


Try smultron... it's free and I think it does what you are looking for

0

精彩评论

暂无评论...
验证码 换一张
取 消