Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

190
Views
Remove explicit casts from autocomplete of enum

When using the autocomplete of enums, the default option is an explicit cast in many cases, which is usually not the desired one. So if I press Enter or Tab I'll get the undesired autocomplete.

Consider the the Visibility enum. If I type the letter c - instead of offering Collapsed, Visual Studio offers (char).

enter image description here

There are many more offered for different letters:

enter image description here

How can I remove those cast options from the autocomplete menu so that if I type the first letter of an enum value I'll get the desired one?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!