consulo / consulo-unity3d

Frameworks: Unity3D
Apache License 2.0
103 stars 10 forks source link

Consulo not importing Unity libraries automatically #183

Closed xCISACx closed 4 years ago

xCISACx commented 4 years ago

Consulo can auto-complete the type names when writing them, but it does not automatically import the required libraries (UnityEngine.AI and UnityEngine.UI, in this case). Is there a setting to turn this feature on? I'd like it to do it without me having to press Alt + Enter every time, if possible. I searched the settings but couldn't find anything.

image

VISTALL commented 4 years ago

There few cases. If you type NavMeshAgent - you will see it in popup, and then you press Enter it will add correct using.

Second case its when you insert some code without using, or type without completion - it will be show Using popup.

And you are right without user it will be not add using.

It's C# issue

xCISACx commented 4 years ago

I see, so there is no way to implement it in Consulo then, language limitation? I found a Visual Studio plugin for it: https://marketplace.visualstudio.com/items?itemName=Fudge.auto-using I was wondering if such plugin could be made for Consulo.

VISTALL commented 4 years ago

I was wondering if such plugin could be made for Consulo.

If you try select class from popup it will insert

examplePopup

I see, so there is no way to implement it in Consulo then, language limitation?

Add using on fly - just only human-hours.

xCISACx commented 4 years ago

I see, I'll use the pop-up then, I did not notice it worked if done through it.

VISTALL commented 4 years ago

Np. Questions are welcome too