Как удалить методы расширения LINQ из Intellisense?C#

Место общения программистов C#
Гость
Как удалить методы расширения LINQ из Intellisense?

Сообщение Гость »


По сути, я хочу противоположного этому вопросу: Intellisense перестала работать для Linq to Entities
Это сводит меня с ума, так как я загрузил VS 2022 и обновил свои проекты до .NET 7
p>
ВС размещает

Код: Выделить всё

using System.Linq
in every file I create. I'm deleting this line. Sometimes it stops showing me the methods for a minute but then it starts to show them back, even there is no

Код: Выделить всё

using ...
. Whenever I implement

Код: Выделить всё

IEnumerable
the list is bloated with useless methods that distract me from work and slow me down...
For example I have a (geometry) and I want extract sub range of it. I type ".sub" and the only entry showed in the list is

Код: Выделить всё

Sum(Func...)
, instead of proposing

Код: Выделить всё

GetRange(int, int)
(which is the name I forgot) and it takes a lot of time to find a method manually in such a big list. Doesn't feel very "Intelli" to me...
Why is this so intrusive and how do I stop it?
I tried removing statements in file and unchecked "Implicit global usings" in project settings.


Источник: https://stackoverflow.com/questions/773 ... tellisense

Вернуться в «C#»