문제

I recently started using Xcode for developing. It's pretty neat. By accident I happened to see one of its features. The feature only highlights the block of code I am currently working on. Other codes are covered with light grey. I do not know how to get that effect again. Can anybody help? Thanks!

도움이 되었습니까?

해결책

You probably hovered your mouse over the line number bar like this:

enter image description here

다른 팁

You may be referring to the "focus ribbon" on the left side between the code and line numbers.

Refer to: https://developer.apple.com/library/mac/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/Editing/Editing.html

(Figure 3-10)

This is called Code Folding Focus.

If you want to turn it ON or OFF as you please, do as follows in Xcode/Preferences:

assigning custom key to code folding focus

Then, assign the key of your fits.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top