Cov txheej txheem:

Kuv yuav khiav SonarQube hauv IntelliJ li cas?
Kuv yuav khiav SonarQube hauv IntelliJ li cas?

Video: Kuv yuav khiav SonarQube hauv IntelliJ li cas?

Video: Kuv yuav khiav SonarQube hauv IntelliJ li cas?
Video: lis kub hawj by zaj dab neeg hauv koos loos tshooj 2024, Kaum ib hlis
Anonim

Tam sim no koj npaj txhij los teeb tsa SonarQube hauv IntelliJ.

Txhawm rau nruab qhov plugin no hauv koj lub IntelliJ IDE:

  1. Mus rau Cov Ntaub Ntawv> Chaw> Plugins.
  2. Nyem rau ntawm Browse repositories
  3. Nrhiav rau SonarQube .
  4. Tua tawm lub kev teeb tsa .

Ib sab ntawm no, Kuv yuav ua li cas thiaj li khiav SonarQube hauv zos hauv IntelliJ?

Teeb tsa Txuas Hom Hauv IntelliJ , mus rau Cov Ntaub Ntawv> Chaw> Lwm Qhov Chaw. Qhib 'CodeScan General Chaw. Nyem qhov ntsuab "+" kos npe rau sab xis ntawm lub SonarQube Servers windows rau teeb tsa kev sib txuas tshiab. Xaiv lub koom haum koj xav txuas mus rau thiab nyem Next.

Tom qab ntawd, lo lus nug yog, Kuv yuav txuas rau SonarQube server li cas? Mus rau Window> Preferences> SonarQube > Cov servers . SonarQube nyob rau hauv dab noj hnub yog pre-configured rau nkag mus ib lub zos SonarQube server mloog ntawm https://localhost:9000/. Koj tuaj yeem kho qhov no server , rho tawm nws lossis ntxiv cov tshiab. Tus neeg siv koj teem rau nkag mus tus server yuav tsum tau tso cai rau Execute Preview Analysis tso cai.

Ntawm no, yuav ua li cas kuv khiav sonar lint hauv IntelliJ?

Txhim kho SonarLint Plugin rau IntelliJ Lub Tswv Yim

  1. Nyem rau Chaw> Plugins.
  2. Nyem rau ntawm Browse Repositories khawm.
  3. Ntaus "SonarLint" thiab nyem rau ntawm lub pob nruab.
  4. Rov pib koj IDE yog tias nug.

Kuv yuav siv IntelliJ plugins li cas?

Thaum koj teeb tsa koj lub chaw khaws ntaub ntawv plugin, ntxiv rau IntelliJ IDEA:

  1. Nyob rau hauv tej chaw/Preferences dialog Ctrl+Alt+S, xaiv Plugins.
  2. Ntawm nplooj Plugins, nyem.
  3. Hauv Custom Plugin Repositories dialog, nyem.
  4. Nyem OK hauv Custom Plugin Repositories dialog kom txuag tau cov npe ntawm plugin repositories.

Pom zoo: