I'm trying to change the default column ruler width from 120 to 80. I've come close to it by changing it in Preferences
/Source Code
/Code Formatting
/Text File
/Desired file width:
; but it warns that
"Changes made in this section will only be applied to new projects. Settings for existing projects can be modified in the project (or solution) options dialog".
The problem is, I do not have a Project or Solution; I am just editing some loose scripts I created in a Unity3D project: The whole "Project" menu (which contains both "Project Options" and "Solution Options" submenues)is grayed out, and hence unselectable.
Any way out?
EDIT Upon restart, my setting of 80 characters seems to have been applied... I will still accept any answer that elucidates the preference dynamics...
ADDENDUM This applies to MonoDevelop-Unity version 4.0.1 as shipped with Unity version 4.3.3f1.
Changing the displayed column ruler depends on the location of the file you are editing and its type.
Here I assume you are modifying C# files, but if not just choose the adequate file type instead of C# source file
like for example: Text file
for every file without a recognized type.
Preferences -> Text Editor -> Markers and Rulers
, and select the option: Show column ruler.Project -> Solution Options -> Source Code -> Code Formatting -> C# source code
, and set the column ruler to, say 80, in the textfield Desired file width
Preferences -> Text Editor -> Markers and Rulers
, and select the option: Show column ruler.Preferences -> Source Code -> Code Formatting -> C# source code
, and set the column ruler to, say 80, in the textfield Desired file width
Some extra notes:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With