if (1 == 1) // When I hit enter here, the cursor moves to the next line at pos (0)
|
else
return; // When I hit enter here, cursor moves to next line/ pos 4
| // why is the cursor here? why not pos 0?
Visual Studio (to jest to, co chcę się zdarzyć)
if (1 == 1) // When I hit enter here, the cursor moves to the next line at
| // pos 1 if I'm working with Tabs or pos 4 for spaces)
to nie jest problem w Kodeksie VS jeśli używasz szelki tak:
if (1 == 1){
return;
}
jednak nie lubię używać szelek W tych scenariuszach, a jeśli nie, Kod VS naturalnie sprawia mi skończyć pisząc ten kod, który jest również złe
if (1 == 1)
return;
Próbuję uzyskać takie samo zachowanie w Kodeksie VS. Nie mogę znaleźć ustawienia dla tego lub rozszerzenia. Proszę pomóż. Jeśli muszę zrobić rozszerzenie lub zaktualizować kod źródłowy VS i sam go skompilować, mam na to ochotę, proszę wskazać mi właściwy kierunek. To jest denerwujące.
Dzięki za to, ale to nie jest dokładnie to, czego szukam. Nie chcę wpisywać snajpera za proste zadanie, jak gdyby ... – James