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
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

How can I get auto-complete to work with Notepad++?

Discussion in 'Formats & External Tools' started by candlemaster, Feb 12, 2015.

  1. candlemaster

    candlemaster

    Joined:
    Mar 12, 2014
    Posts:
    16
    I'm trying to set up Notepad++ as my script editor (I got fed up with MonoDevelop). I've got syntax highlighting and jump-to-line working perfectly, but I can't seem to figure out Auto-Complete (aka intellisense). Every single tutorial, guide, or thread I find is completely outdated, and I don't want to downgrade Unity.

    Any help?
     
  2. Kirk Clawson

    Kirk Clawson

    Joined:
    Nov 4, 2014
    Posts:
    65
  3. candlemaster

    candlemaster

    Joined:
    Mar 12, 2014
    Posts:
    16
    I tried it, but it doesn't seem to be doing anything.
     
  4. candlemaster

    candlemaster

    Joined:
    Mar 12, 2014
    Posts:
    16
    Anybody? it's really frustrating, and every site that shows how to do it is either outdated or doesn't exist...
     
  5. originalterrox

    originalterrox

    Joined:
    Feb 6, 2015
    Posts:
    40
    was wondering this too as Monodevelop seems slow. But it is can't be any faster than monodevelop once set up I don't need notepad++ :)
     
  6. JohnParask

    JohnParask

    Joined:
    Jul 7, 2014
    Posts:
    323
    Visual Studio is the best choice, it might need a couple of seconds to start the first time but it is really fast, and it has the best auto complete.

    P.S Using Visual Studio 2012 or later also has a very eye friendly dark skin.
     
  7. Stiffx

    Stiffx

    Joined:
    Oct 27, 2014
    Posts:
    455
    Have you guys tried xamarin studio?
     
  8. alexzzzz

    alexzzzz

    Joined:
    Nov 20, 2010
    Posts:
    1,447
  9. mark_ff

    mark_ff

    Joined:
    Jul 24, 2012
    Posts:
    21
    This is possible, in fact I started looking into this today and was able to get it working, using the instructions here:
    http://www.edy.es/dev/docs/using-notepad-plus-plus-as-external-editor-in-unity-3d/

    The only downside is that the keyword and autocompletion definitions seem to be for a slightly earlier version of 4.x
    Might be worth getting in touch with him and seeing if he can provide up-to-date definitions, or explain how they are extracted. He may be on this forum, as I've seen his asset (Edy’s Vehicle Physics) on the asset store.
     
  10. steego

    steego

    Joined:
    Jul 15, 2010
    Posts:
    968
    Not for notepad++ but a few other text editors, http://www.omnisharp.net/ - haven't tried it myself though so don't know how well it works.
     
  11. glantucan

    glantucan

    Joined:
    Aug 31, 2014
    Posts:
    7
    I have prepared this portable version. It's just the zip version you can download from the Notepad++ page with the Language Help plugin installed and configured to go to http://unity3d.com/support/documentation/ScriptReference/30_search.html?q=$word$ when pressing Ctrl+F1, with the following configuration files modified:
    • langs.xml: Added the keywords (updated for Unity 4.5) mentioned here to the javascript and cs entries
    • Original javascript.xml and cs.xml where overwritten with these javascript.xml and cs.xml files
    To jump to the line shown on the console when double clicking on it you must write this down:
    "-n $(Line)" "$(File)"
    in the External Script Editor Args in the preferences External Tools panel

    If you don't trust me (I won't be offended ;P) you can do the process yourself, it's quite easy actually.

    It would be nice to have the keywords updated for the latest version, but I could not find them anywhere.

    Cheers!
     
    URPian and samf1111 like this.
  12. Joringer

    Joringer

    Joined:
    May 2, 2014
    Posts:
    1
    Thanks for this it works perfectly, was stuck at the langs.xml step :)