Kuv yuav ua li cas thiaj tau txais kev pov hwm hauv IntelliJ?
Kuv yuav ua li cas thiaj tau txais kev pov hwm hauv IntelliJ?

Video: Kuv yuav ua li cas thiaj tau txais kev pov hwm hauv IntelliJ?

Video: Kuv yuav ua li cas thiaj tau txais kev pov hwm hauv IntelliJ?
Video: Kev txo Hwjchim yog yam uas haum Vajtswv siab 2024, Kaum ib hlis
Anonim

Kev pab them nqi ua rau cov cuab yeej windows?

Yog tias koj xav rov qhib lub Kev pab them nqi lub qhov rais, xaiv Khiav | Qhia Code Kev pab them nqi Cov ntaub ntawv los ntawm cov ntawv qhia zaub mov tseem ceeb, lossis nias Ctrl + Alt + F6. Daim ntawv tshaj tawm qhia txog feem pua ntawm cov cai uas tau ua npog los ntawm kuaj . Koj tuaj yeem pom cov kev pab them nqi tshwm sim rau cov chav kawm, txoj kev, thiab kab.

Ua raws li qhov no hauv kev txiav txim siab, kuv yuav ua li cas qhia qhov kev xeem hauv IntelliJ?

Los ntawm cov ntawv qhia zaub mov tseem ceeb, xaiv Khiav | Qhia Kev Pabcuam Cov ntaub ntawv (Ctrl + Alt + F6). Hauv Xaiv Kev pab them nqi Suite rau Zaub dialog, xaiv lub checkboxes ib sab ntawm cov suites tsim nyog, thiab nyem Qhia xaiv. Nyob rau hauv lub editor, IntelliJ IDEA qhib kuaj kev pov hwm tshwm sim rau cov xaiv xeem suites.

Tsis tas li ntawd, qhov kev pab them nqi hauv IntelliJ yog dab tsi? Code kev pab them nqi tso cai rau koj pom ntau npaum li cas ntawm koj cov cai raug tua thaum lub sij hawm ntsuas chav tsev, yog li koj tuaj yeem nkag siab tias cov kev xeem no ua tau zoo npaum li cas. Cov cai hauv qab no kev pab them nqi runners muaj nyob rau hauv IntelliJ IDEA: IntelliJ IDEA code kev pab them nqi khiav (pom zoo).

Ntawm no, kuv yuav ua li cas thiaj li pab tau cov cai hauv IntelliJ?

  1. Nyob rau hauv tej chaw/Preferences dialog Ctrl+Alt+S, xaiv Tsim, Ua, Deployment | Kev pab them nqi.
  2. Qhia seb yuav ua li cas cov ntaub ntawv khaws cia yuav raug ua tiav:
  3. Xaiv lub Activate Coverage View checkbox kom qhib qhov Coverage tool window tau txais.

Kuv yuav khiav txhua qhov kev xeem hauv IntelliJ li cas?

Nias Shift + Alt + F10 kom pom cov npe muaj khiav configurations los yog Shift + Alt + F9 rau debug configurations. mus rau sab xis ntawm daim ntawv teev npe. Xwb, xaiv Khiav | Khiav Shift + F10 los yog Khiav | Debug Shift + F9 los ntawm cov ntawv qhia zaub mov tseem ceeb.

Pom zoo: