Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Frederick · Jul 30, 2011 at 04:41 AM · monodevelopautocompletescripteditorunity3.4uniscite

MonoDevelop and UniSciTE not auto completing JavaScript with 3.4

Before the version 3.4, UniSciTE was working fine with JavaScript, but in 3.4 it isn't auto completing Unity keywords. So I tried MonoDevelop, the new default script editor, but it doesn't auto complete JavaScript either. However, it does auto complete cs. I tried install notepad++ but it says that the language helper is incompatible. Please, someone knows a solution? All that I want is a quick and simple way to edit javascript like I was doing with UniSciTE until 3.4.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

3 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by Waz · Jul 30, 2011 at 04:53 AM

The completion in MonoDevelop is so slow I turned it off anyway. It stupidly tries to complete when you've only typed one letter, which of course produces too many results. It also doesn't abort/restart the completion analysis when another key is entered. I sometimes typed 20 characters before anything appeared on screen.

Hopefully Unity will fix one of these ASAP.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by spacepilot · Dec 31, 2011 at 08:57 PM

This threat is quiet old but I'm just replacing the slow-mono-editor and stumbled over this question:

  • The wikie-threat about mono-editor-replacements is here: Other Script-Editors - Unify Community Wiki. It lists several script-editors being a lot better and quicker than mono (e.g. Notepad++ or Unity Script Editor).

  • The Uniscite-Editor, included in unity, is not doing autocompletion for some reason, even when I tried turning it on (manually in the SciteGlobal.properties-file). Help for the mysteriously missing auto-completion is missing on the homepage, since Scite seems to be discontinued and Geany shall become the editor of the future (unfortunately without official unity-support).

However, I got notepad++ running well with unity and the mentioned tutorial.

  • The language helper-plugin needs to be downloaded manually. It's a zip-file containing two dll-files. Extract it into the plugins-directory in the notepad++-folder and remove one of the two files not needed (depending on your notpad++-version). Otherwise notepad++ will complain about one of the two files on startup, since one is for Unicode- and the other for the ANSI-version of notepad++.

Once installed,

  • configure the plugin with click on Plugins >> Language Help >> Options >> Add and fill the three fields (as mentioned in the tutorial):

    Name: Unity

    Extension list: js cs

    Extended help file path: http://unity3d.com/support/documentation/ScriptReference/30_search.html?q=$word$

    Afterwards, enable the checkbox "Enable showing this entry in notepad++ help menu" below.

To test it, doubleclick on a keyword in a script and right-click then. The context menu will show the entry "Help". This entry will open the unity-documentation in the web-browser with an explanation of the selected keyword. Since the Language Helper also supports CHM-helpfiles, such a solution would be a lot more elegant. Unfortunately I don't know of any offline-helpfile-version of the unity-documentation. If there should be one, maybe someone can post a link here.

The notepad++-tutorial however, has one minor issue:

  • The linked tool "Unity External Script Editor Helper" is not working with the newest unity-version anymore. The file shall get renamed to MonoDevelop.exe to replace the original Mono-Startup-Program. This way, a script's line-number (on a compilation-error in unity) shall get forwarded to notepad++ instead of starting mono. This is not working anymore since Unity starts mono with calling some dll-file, in the newest version.

Hence, jumping to an error's line in the script-editor is not possible anymore with some other editor than mono. Since notepad++ supports line-jumping with the "-n"-switch on the command-line, this is a real feature-lack in unity: The settings allow usage of another editor but no command-line-arguments.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image spacepilot · Dec 31, 2011 at 09:03 PM 0
Share

A possible solution could be some editor-script, opening notepad++ with the line-number on double-click of an error-message in unity's debugger. I can't program something like this but maybe someone else can. Needed skills: $$anonymous$$nowledge of how to get the line-number, knowledge of which class to extend with such a script to enhance the debugger. Looks like stuff for professionals.

avatar image
0

Answer by Frederick · Feb 05, 2012 at 07:42 PM

Sorry for my late response... A lot of time has passed and MonoDevelop turned a lot better for java than was before, thus, I got used to it. As I told before, I tried to install many script editors in vain, but I didn't tried again since then because as I said, I got used to MonoDevelop. However, I think that following the steps that Spacepilot mentioned it would probably work, and I sure will try someday.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Can you make a shortcut key for templates(snippets) in Monodevelop? 0 Answers

Unity 3D don't open java or C script... 2 Answers

Monodevelop problems with curly braces 1 Answer

Monodevelop autocomplete on private variables 1 Answer

Unity 5.3 Monodevelop JS Not Checking for Errors or Auto-Completing/Suggesting (C# fine) 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges