简体   繁体   中英

Xamarin Studio's intellisense behaves badly for LINQ queries

When I enter a LINQ query in Xamarin Studio 5.10.3 (build 51), auto-complete starts suggesting things incorrectly, for example in join s in doc.Descendants("Supplier") it will auto-correct s to sim :

在此处输入图片说明

Or in on (int)p.Attribute("SupplierID") , it will auto-correct (int) to (into) . These constant wrong auto-corrections make it difficult to write LINQ queries in MonoDevelop.

Is it possible to fix the intellisense so it works properly? If not, can it at least be turned off for LINQ queries so I don't have to constantly return and undo wrong auto-corrections?

Try upgrading to the latest version of Xamarin Studio (currently sitting at 6.x). I haven't had problems with LINQ in this one.

At this time the latest one has been 6.0.0.5174:

http://download.xamarin.com/studio/Windows/XamarinStudio-6.0.0.5174-0.msi

Here it is where to find it from your account:

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM