Cov txheej txheem:

Kuv yuav nrhiav thiab hloov tag nrho cov lej hauv Visual Studio li cas?
Kuv yuav nrhiav thiab hloov tag nrho cov lej hauv Visual Studio li cas?

Video: Kuv yuav nrhiav thiab hloov tag nrho cov lej hauv Visual Studio li cas?

Video: Kuv yuav nrhiav thiab hloov tag nrho cov lej hauv Visual Studio li cas?
Video: lam yuam kuv lub siab by tsom xyooj 2021 2024, Kaum ib hlis
Anonim

Raws li ntawm version 1.3 (Lub Rau Hli 2016) nws tuaj yeem tshawb nrhiav thiab hloov hauv Visual Studio Code . Siv ctrl + shift + f, koj tuaj yeem tshawb nrhiav thiab hloov tag nrho tshwm sim.

Tom qab ntawd, ib tus tuaj yeem nug, Kuv yuav nrhiav thiab hloov cov lej hauv Visual Studio li cas?

Hloov ua haujlwm tuaj yeem nkag mus tau:

  1. Hauv Kev Tshawb Nrhiav Saib los ntawm kev nthuav tawm Cov Ntawv Tshawb Nrhiav.
  2. Siv Ctrl + Ua haujlwm + H, los ntawm Kho kom raug | Hloov hauv Files menu.
  3. Siv Hloov Hauv Cov Ntaub Ntawv hais kom ua hauv Command Palette.

Ib tug kuj yuav nug, Kuv yuav saib li cas hauv Visual Studio? Koj tuaj yeem qhib code rau hauv Visual Studio hauv ib qho ntawm cov hauv qab no:

  1. Ntawm Visual Studio ntawv qhia zaub mov bar, xaiv Cov Ntaub Ntawv> Qhib> Folder, thiab tom qab ntawd mus rau qhov chaw code.
  2. Ntawm cov ntsiab lus teb (txoj cai-nias) cov ntawv qhia zaub mov ntawm cov ntawv tais ceev tseg uas muaj cov lej, xaiv Qhib hauv Visual Studio hais kom ua.

Ua raws li qhov xav tau, kuv yuav nrhiav thiab hloov ntau cov kab hauv Visual Studio li cas?

Predefined keyboard shortcut rau lub nrhiav ntau kab hais kom ua yog Ctrl + Alt + F. Yog tias koj xav tau hloov nws (piv txwv li vim qhov shortcut twb tau siv lawm) koj tuaj yeem ua nws hauv Cov Cuab Yeej - Cov ntawv qhia zaub mov. Nkag mus rau ib puag ncig - Keyboard.

Kuv yuav nrhiav thiab hloov cov ntawv li cas?

Nrhiav thiab hloov cov ntawv

  1. Mus rau Tsev> Hloov lossis nias Ctrl + H.
  2. Nkag mus rau lo lus lossis kab lus uas koj xav nrhiav hauv lub thawv Nrhiav.
  3. Sau koj cov ntawv tshiab nyob rau hauv Hloov lub thawv.
  4. Xaiv Nrhiav Tom ntej kom txog thaum koj tuaj rau lo lus koj xav hloov tshiab.
  5. Xaiv Hloov. Txhawm rau hloov kho txhua qhov xwm txheej ib zaug, xaiv Hloov Txhua.

Pom zoo: