Problems with Xcode Syntax Highlighting - iphone

In Xcode 3.2.1 I have this problem where it stops highlighting Objects in purple, and such. For example:
In that example, NSAutoreleasePool, pool, img, size, width and height should be highlighted, however, they are not. Here is a screenshot of what that looks like.
Anyone know how to fix this?
Edit: Also, code sense isn't showing correct options.

Xcode is often glitchy for me in similar ways. Restarting xcode often clears up the issue. Also, sometimes a missing semi-colon or curly brace will keep codeSense and highlighting from working as you want it to. Try Opt-B (build) to see if you have any errors that could be causing this.

I noticed that opening projects from the XCode welcome screen causes this issue. If I dismis the welcome screen and then go file open (or file open recent) and open the project that way the syntax highlighting works

Related

Xcode 10.1 highlighting off by one (or more) lines in Version Editor for storyboard file

When I use Version Editor to compare changes, or when committing changes, the changed lines are showing incorrectly (each one is showing offset by one or more lines). Typically I only experience this when opening my storyboard file, rather than code files. Does anyone know the cause and/or how to fix? Thanks
EDIT: This issue persists for me in Xcode 10.2
OK I discovered what had been causing this for me. I had been putting carriage returns into strings in interface builder using CTRL-RETURN, when I should have been using OPTION-RETURN to do so. Changing those removed the issue for me. Still I think this is something that could be handled in a more forgiving and user-friendly way by Xcode.

Get rid of file icon shadow when file is not saved in Xcode

When a file was just edited and not saved in the Xcode editor the icon of the file in the right pane is darkened a little, and because I have OCD this drives me absolutely crazy and I end up having to click Ctrl+S every time I do anything as simple as commenting a line of code or moving a button 1 pixel in storyboard.
I am using Xcode 10.1 Beta 2, but this happens in all versions of Xcode.
How do you make it so the file is never darkened?
I have the same problem in Xcode and I always command s everything as well. I have looked for a way to disable this, but for now I don’t think there is a way... Maybe they’ll add a way to turn this off in another update soon :)

vscode on mac is incorrectly highlighting text around text blocks

It is very annoying to see that background around code is lighter then the rest of the program. When the cursor moves the highlighting moves up and down to full window width. Can you please propose solution how to turn this highlighting off. Same problem is in output of task log, and in file explorer.
I have deleted all the settings and Application data and I have same problem. I have installed vscode on windows and I do not have this problem with same settings.
Unfortunately this is an issue in Chromium. You can work around this by starting VS Code with --disable-gpu from the command line.
Sean
It appears this can be fixed for some users by selecting a different color profile in macOS display settings. Note that you have to change this separately for all monitors that you use.
For me, "Apple RGB" will show these blocks, and switching to "LED Cinema Display" or "iMac" solves the issue.
See also: https://github.com/Microsoft/vscode/issues/12473#issuecomment-269024219

Tiny text bug on Mavericks eclipses (eclipsii?)

Just got a new MBP, not upgraded from a previous version, and trying to get through a few issues with the new OS and programs.
One oddity that I'm having is with eclipse, in some of the menus, the Variables/Expressions window and the console, some times. I've included screenshots of it occurring in the debug windows and menu, wasn't able to catch it in the console as that's the inconsistent one. What occurs there is it looks fairly normal, all ok, but when I bring focus to it, it goes all weird,
Got it after playing around with the colours and fonts, as described How can I change font size in Eclipse for Java text editors?
Something's definitely messed around because while most things were set right, at 11 or so, they were displaying at 5. When I then explicitly set them to 11 and restarted, they came back huge. Then resetting them put everything back to normal. shrug

Strange behavior of Xcode

I am doing iOS project in Xcode . It was working properly but now it is giving me strange character in place of space.It is also reflecting in all Xcode projects.
why this is happening?
in xCode go to Menu->Editor->Hide invisible Characters
Why is this happening? because sometimes you need to know if your indentation or spacing is correct, or even you want to know if you are using spaces or tabs, then you will Show Invisibles, it maybe useful sometimes