Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Unity + Sublime Text 2 with Auto-Complete!

Discussion in 'Scripting' started by Ingshtrom, Dec 2, 2012.

  1. Ingshtrom

    Ingshtrom

    Joined:
    Aug 24, 2012
    Posts:
    6
    First off, I want to thank JacobPennock and other unnamed contributors for beginning the Unity+ST2 integration. Without their plugins, conversations, and tutorials I would not have figured this out. Thanks guys!

    Anyways, I have fallen in love with Sublime Text 2--duh, who doesn't--and really wanted to use it for my Unity development. I am using C# for scripting and have used VS 2012 for coding up 'til now, but I really, REALLY wanted to use ST2 for all of my development. I played around with creating system builds for projects, and customizing the crap out of my ST2. In the end, I actually was able to get auto-complete work with ST2!! I have a post describing how to achieve my full setup on my [newish] blog. Hope this helps!
     
    Last edited: Dec 3, 2012
  2. primitiveType

    primitiveType

    Joined:
    Oct 25, 2012
    Posts:
    22
    I haven't done this yet so I can't attest to it's effectiveness, but for others who would like this and are unable to find it on the blog, here is a permalink:

    http://ingshtrom.tumblr.com/post/37050487482/unity-sublime-text-2-integration-auto-complete

    I'm really looking forward to getting this working, thanks!
     
    Alex_May likes this.
  3. illinar

    illinar

    Joined:
    Apr 6, 2011
    Posts:
    857
    Doesnt work for me...
     
  4. auwri

    auwri

    Joined:
    Mar 25, 2013
    Posts:
    5
    Does anyone know a way to get autocomplete working with Mac OS X?
     
  5. SubZeroGaming

    SubZeroGaming

    Joined:
    Mar 4, 2013
    Posts:
    1,008
    In about 2 days you won't have to. I have been working on creating a mono develop theme that is 100% identical to sublime text 3.

    Unless you want the editor because of the fastness with python and the jquery, then nvm. But i'll be releasing the theme soon.
     
  6. Eric5h5

    Eric5h5

    Volunteer Moderator Moderator

    Joined:
    Jul 19, 2006
    Posts:
    32,401
    MonoDevelop with a theme is still MonoDevelop, not Sublime Text.

    --Eric
     
    Alex_May likes this.
  7. SubZeroGaming

    SubZeroGaming

    Joined:
    Mar 4, 2013
    Posts:
    1,008
    almost 21.2k post count? Jesus...trade accounts? lol

    And there is nothing wrong with monodevelop. I assume people change editors because they like different syntax highlights lol. That's why created my own :)

    Idk, could be wrong.
     
  8. urfx

    urfx

    Joined:
    Dec 12, 2013
    Posts:
    12
    assuming that you added Ofer Reichman's "Unity Completions" package already... and used the Package Control: Install Package to do that...

    I have had the same problem on OSX so I made some adjustments to preferences > Settings - User...

    try this:-

    Code (csharp):
    1.  
    2. {
    3.     "ignored_packages":
    4.     [
    5.         "Vintage"
    6.    
    7.     ],
    8.     "auto_complete": true,
    9.     "auto_complete_delay": 50,
    10.     "auto_complete_selector": "source - comment"
    11. }
    12.  
    note my config file previously looked liked this...

    Code (csharp):
    1.  
    2. {
    3.     "ignored_packages":
    4.     [
    5.         "Vintage",
    6.         "Unity Completions"
    7.     ]
    8. }
    9.  
    If that looks familiar... then all you need to do is un-ignore Unity like this

    Code (csharp):
    1.  
    2. {
    3.     "ignored_packages":
    4.     [
    5.         "Vintage"
    6.     ]
    7. }
    8.  
     
    Last edited: Dec 12, 2013
  9. NemoPersona

    NemoPersona

    Joined:
    Dec 19, 2013
    Posts:
    2
    Thx for hints, all setup and working as desired now.

     
  10. Zv_oDD

    Zv_oDD

    Joined:
    Dec 5, 2013
    Posts:
    2
    The reason I don't want to use MonoDevelop is:
    It can't handle complex syntax with out crashing ( Especially Boo) .
    It feature heavy and takes up to much screen realestate.
    It slow to load.
    It crashes, it has always crashed in every version for various unrelated reasons.
     
  11. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,519
    I might give it a go. I downloaded a trial and wanted to try it out, but the fact that I had to play around so much and "customiz[e] the crap out of my ST2" was really offputting.
     
  12. toru_inoue

    toru_inoue

    Joined:
    Aug 7, 2013
    Posts:
    8