/DaysSearch

IntelliCode experiment

Primary LanguageC#

IntelliCode enum suggestion

Steps to reproduce:

  1. Code the first switch case logic;
  2. Copy and paste the entire line (CRTL+C and CTRL+V);
  3. Move the duplicated line to the next switch case (Alt + Arrow down) and you should see a suggestion for the others cases;
  4. Now change the name of the column in the second switch case and at this moment you should see suggestions according to each case respecting the columns of the table of the same name as enum.

Copy and paste the entire line

Change the name of the column