Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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
1
Question by GuroK · Feb 23, 2014 at 03:11 PM · javascripteditormonodevelopautocomplete

Monodevelop autocomplete on private variables

Hello, monodevelop is driving me crazy :(

Is there any way to turn on autocomplete for private variables? (UnityScript)

or can you suggest any alternative good editor? i have tried sublime text unity plugins but im not satisfied with it :(

Comment
Add comment · Show 6
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 vexe · Feb 23, 2014 at 03:14 PM 0
Share

VisualStudio + UnityVS is the best way to go! - and if you're an editor geek, check out VsVim ;) - I don't suggest you go for a stand-alone editor - an IDE is a must, you need to debug, get intellisence, etc.

avatar image GuroK · Feb 23, 2014 at 03:37 PM 0
Share

VisualStudio is not an option for me :( i'm on mac

avatar image McGravity · Feb 23, 2014 at 03:38 PM 0
Share

Turn? Turn it off or on?

avatar image GuroK · Feb 23, 2014 at 04:50 PM 0
Share

Turn on :)

avatar image McGravity · Feb 23, 2014 at 05:01 PM 0
Share

Tools -> Options -> Text Editor -> General -> "Enable code completion" is active?

Show more comments

1 Reply

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by vexe · Feb 23, 2014 at 05:21 PM

A lot of IDE's don't show you private parts for object oriented languages in contexts where you can't access them (outside the class they're declared in for example) - In VS C++ however, intellisence shows you private parts too - But not in C#. I think MonoDev follows the same philosophy.

You might think it makes sense to show private parts too, after all they're members right?

But not when it comes to object oriented languages, where data hiding and encapsulation plays a big role - after all, what's the purpose of making something private? is to keep it away hidden from the consumer - he doesn't have to know about it - it's for you the class programmer not for the user :)

Comment
Add comment · Show 8 · 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 GuroK · Feb 23, 2014 at 05:38 PM 0
Share

:) i'm just asking for autocomplete inside class for class variables.

All other IDE's that i was using previously (Eclipse, netbeans, xCode...) are doing it...

avatar image vexe · Feb 23, 2014 at 05:41 PM 0
Share

(please post comments as comments and not answers :))

if you're inside the class, you should get autocomplete by default - I was talking when you're outside the class.

avatar image GuroK · Feb 23, 2014 at 05:45 PM 0
Share

yes :) i'm talking about that, i am inside class and i am not getting autocomplete for private variables

Example:

 #pragma strict
 public var player:Transform;
 private var someVar:Transform;
 
 
 function Start()
 {
    // here autocomplete works only for "player" variable not for "someVar"
 
 }











avatar image vexe · Feb 23, 2014 at 05:48 PM 0
Share

O$$anonymous$$ it seems this has been around for a while - have you seen this?

avatar image vexe · Feb 23, 2014 at 05:52 PM 0
Share

Ahh, maybe that link isn't helpful. You have to mess around in $$anonymous$$onoDev, google around I'm sure you'll find others with a similar problem.

Show more comments

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

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Monodevelop code javascript autocomplete 1 Answer

Unity 4.3 Monodevelop autocompletion not working for javascript names and enums 0 Answers

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

Refactoring & Find References for JavaScript in MonoDevelop 1 Answer

Javascript editor 5 Answers


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