© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•2y ago•
16 replies
hutonahill

Live Templates: Jetbrains Rider

hey trying to make a live template.

i want to that where is
System.Linq.Queryable.Where()
System.Linq.Queryable.Where()
, then also apply this to other methods like
 Select()
 Select()
and
Count()
Count()
. Chat GPT and the Docs talk about setting 'method context' or defining the context its available in, but i cant find where to do this.
i don't appear to understand how this works. the The shortcuts only works if i start with where and doesn't wait for a char within the
Where()
Where()
. the actual result of this is
Where(char => )
Where(char => )


the goal here is to type something like
otherstuff.Where(a|)
otherstuff.Where(a|)
then hit tab and get
otherstuff.Where(a => |)
otherstuff.Where(a => |)
. ideally i could read the text of
otherstuff
otherstuff
and if its a
DbSet<T>
DbSet<T>
than i just type
otherDbSet.Where|
otherDbSet.Where|
hit tab and get
otherDbSet.Where(o => |)
otherDbSet.Where(o => |)
where we determine the char
o
o
as it is the first letter of
otherDbSet
otherDbSet
image.png
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Jetbrains Rider Config
C#CC# / help
3y ago
❔ Jetbrains Rider - Designer Stuck on Loading
C#CC# / help
3y ago
❔ Jetbrains Rider cant resolve any symbols
C#CC# / help
4y ago