Unity Community


Results 1 to 11 of 11

  1. Location
    Paris
    Posts
    3,730

    MonoDevelop secret tips :

    Hello,

    I just found a neat built-in feature inside MonoDevelop :

    Whenever you put the word "TODO" (case sensitive) in a comment, it highlights the word in a flashy color so that you can see it instantly when browsing your code.

    Can be very helpful to find an old Todo thing !

    Considering it's kind of cool, and totally unnecessary from MonoDevelop devs to implement that, I guess there are other built-in tricks like that.

    Do you know some ?


  2. Location
    Istanbul
    Posts
    113
    You know it also pops up in a list inside TaskList pad (View -> Pads -> TaskList)


  3. Location
    Paris
    Posts
    3,730
    Brilliant ! Thanks


  4. Location
    Rome / Niš
    Posts
    1,744
    Ehe, probably by now you will have got them, but just in case:
    - FIXME is the same as TODO, but is highlighted in red.
    - In MonoDevelop "Tools > Options > Task List" you can add more tokens (special words) and set their importance.

    ::::: GOSCURRY - a hard game :::::

    I am DEMIGIANT
    HOTween : a fast, type-safe, and powerful Unity tween engine
    HOTools - HOUnityLibs


  5. Location
    Paris
    Posts
    3,730
    Didn't know the FIXME one, thanks


  6. Location
    Vienna
    Posts
    13
    I spent an afternoon trying to get to know MonoDevelop better, and I wrote up a list of tips I found.


  7. Location
    Winterthur, Switzerland
    Posts
    14
    Thanks for that list, very helpfull
    Help Frank the Fish to survive on iOS and Android.
    Like to slap flies, check out happy fly for iOS and Android (it's free)


  8. Location
    Germany
    Posts
    209
    Wow. I always write Todo´s in my scripts and wished that something like that exists XD
    I use C# in Visual Studio but it works there too!


  9. Location
    Brampton, Ontario
    Posts
    40
    The two uncommon commands that I use a LOT are:

    "Navigate to" - just start typing the name of ANY class or method name or variable name in your project, and it'll take you right there. Super handy, I use this constantly. Bind it to a shortcut that's easy for you to do with one hand (CTRL+Shift+R for me).

    "Dynamic Abbrev" - bound to Ctrl+/ for me. Type the first character or two of ANYTHING you could possibly want to write (ex. variable names, method names), it will fill in the rest, if it doesn't choose the right one, keep hitting the shortcut until it does. It goes in historical order of the most recent things you typed. It's like autocompletion but super fast because it's not doing any complex calculations, it's just looking through things that have been typed in the past (or something like that). Seriously this will save you from typing TONS of stuff, I use this more than any other shortcut.


  10. Location
    TN, USA / Birmingham, United Kingdom
    Posts
    26
    I like to do a lot of scripting in UnityScript but find that monodevelop sometimes isn't as intuitive when comparing to use in C#, NotePad ++ is actually pretty good for it though...
    Last edited by Matthew Scott; 12-09-2013 at 11:27 PM.


  11. Location
    Auckland, New Zealand
    Posts
    21
    Hey guys! I know this thread is kind of old now but I love the idea of sharing Tips and Tricks! Props to Philipp_S for writing up a blog post, I hope to do the same!

    Here's one of my favorites:

    Type 'for' and then push tab twice, and it'll make a for loop for you! Push tab to edit some of the fields if need be (it will try to auto-fill things as best as it can). Push Enter to set the cursor inside the loop so you can start typing your implementation. This works for 'foreach' as well. Very handy for quick coding.

    Anybody know what this is called and how we can customise them? Cause I find it fascinating

    Cheers all

    EDIT:

    They're called Code Templates. You can find them in MonoDevelop > Preferences ( CMD + , )

    Name:  Screen Shot 2014-03-18 at 2.13.11 pm.png
Views: 202
Size:  106.9 KB

    There are heaps! Using them could be a huge performance booster.
    Last edited by acheron studio; 4 Weeks Ago at 05:28 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •