Syntax hiliting in xcode

Moderator
Posts: 133
Joined: 2008.05
Post: #1
Anyway to highlight things other than the list they give you? Like constants, static variables, #define's, functions, member functions, typedefs declared in frameworks?
Quote this message in a reply
Moderator
Posts: 365
Joined: 2002.04
Post: #2
Sadly not. This is something I also miss from CodeWarrior when I'm working on Xcode projects. Unfortunately, I'm just having to get used to the idea of minimally highlighted source code. Sad

Wonder if there's any way of writing a plugin for Xcode to do this? I doubt it somehow.

Neil Carter
Nether - Mac games and comic art
Quote this message in a reply
Member
Posts: 198
Joined: 2005.01
Post: #3
Please don't tell me this hasn't improved in the Panther->Tiger transition? Cry

I actually sent an email to the Whole Tomato guys to ask them if they had any plans to make a Visual Assist type plugin for Xcode, and they said that while they sympathize (and have a number of Mac users there), they didn't have anywhere near the manpower to develop and support something like that. I use V.A. at work on VS.NET, and while it's not perfect, it's pretty awesome.

There's definitely a market for improved highlighting and code completion if it's possible to add it. I'd buy it.

Cryptic Allusion Games / Cryptic Allusion, LLC
http://www.cagames.com/
Quote this message in a reply
Moderator
Posts: 365
Joined: 2002.04
Post: #4
Dan Potter Wrote:Please don't tell me this hasn't improved in the Panther->Tiger transition?
'fraid so. I'm running Tiger and it's just as basic as before.

Interesteringly, Xcode does seem to already have the infrastructure to do intelligent syntax highlighting. For example, the Class Browser knows about all the classes in your project, and autocompletion and symbol lookup use the same index information to provide useful features. It's not such a big step to integrate this with the editor's syntax highlighting.

Maybe logging feature requests with Apple might help.

Neil Carter
Nether - Mac games and comic art
Quote this message in a reply
Member
Posts: 198
Joined: 2005.01
Post: #5
Does anyone know if it's even possible to write add-on plugins for Xcode to do stuff like this? 'Cause if so I might be willing to give it a shot. I'd sure love to get some better syntax highlighting myself.

For now I'll just go in the corner and (hypocritically) sulk about proprietary software Wink

Cryptic Allusion Games / Cryptic Allusion, LLC
http://www.cagames.com/
Quote this message in a reply
jspoon
Unregistered
 
Post: #6
I personally like SubEthaEdit's default objective-c highlighting scheme- I don't think it dynamically finds classes but it does a lot more than Xcode. Also, the default colors are a lot more easily distinguishable. Too bad my machine is pathetic and turning on syntax highlighting on a largish document slows everything down to a crawl.
Quote this message in a reply
Member
Posts: 198
Joined: 2005.01
Post: #7
Just found this today, you guys might find it interesting.

http://www.obdev.at/products/completion-...index.html

It's about completion rather than highlighting, but still may be useful, and proves that it's possible to hook into some parts of Xcode for extensions anyway Smile

Cryptic Allusion Games / Cryptic Allusion, LLC
http://www.cagames.com/
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Simple Text Editor with Syntax Highlighting Jones 4 2,787 May 4, 2006 02:58 PM
Last Post: Jones