Yuav Ua Li Cas Xaiv Java IDE

Yuav Ua Li Cas Xaiv Java IDE
Yuav Ua Li Cas Xaiv Java IDE

Video: Yuav Ua Li Cas Xaiv Java IDE

Video: Yuav Ua Li Cas Xaiv Java IDE
Video: TUTORIAL USING JVDROID (MOBILE JAVA PROGRAMMING) 2024, Kaum ib hlis
Anonim

Xaiv txoj hauv kev tsim txoj kev loj hlob zoo (IDE) rau Java txoj kev sau cov lus tuaj yeem muaj kev cuam tshuam tseem ceeb rau koj cov khoom tsim tau. Tom qab piv cov kev sib tw tseem ceeb ntawm NetBeans, dab noj hnub, thiab IntelliJ IDEA thiab xaiv qhov uas zoo tshaj plaws rau koj cov kev paub thiab xav tau, nrhiav qhov zoo tshaj plaws IDE rau koj.

Yuav ua li cas xaiv Java IDE
Yuav ua li cas xaiv Java IDE

Kev pib nrog Java yog inextricably txuas rau xaiv IDE (kev tsim kho kev tsim kho ib puag ncig). Qhov no yog qhov tshwj xeeb tshaj yog rau cov neeg tshiab rau lub cajmeem, raws li kev xaiv ntawm IDE tuaj yeem muaj qhov cuam tshuam loj rau lawv kev ua haujlwm.

Thaum muaj ntau dua li kaum tawm txawv Java IDE nyob rau hauv tag nrho, qhov loj tshaj plaws thiab muaj zog tshaj plaws, thiab zoo txhawb nqa los ntawm ob tus tsim tawm thiab zej zog, yog peb IDEs: NetBeans, Eclipse, thiab IntelliJ IDEA. Tus so ntawm cov neeg sib tw muaj qis dua nyob rau hauv kev ua haujlwm, muaj ntau yam tsis tau txais kev txhawb nqa, uas yog vim li cas lawv tsis tuaj yeem ua tau raws li cov qauv kawg ntawm cov kev ua tau zoo ntawm kev sau lus xws li Java. Cia peb nyob ntawm txhua qhov chaw hais txog kev nthuav dav hauv kev qhia ntau dua.

NetBeans tau tsim nrog kev txhawb nqa los ntawm Oracle, uas kuj yog tswv ntawm Java cov cai. Yog li, qee qhov ntawm Java thev naus laus zis tau xub yug hauv NetBeans.

Nyob rau hauv cov nqe lus ntawm kev ua haujlwm, NetBeans yog qhov yooj yim thiab kev paub tshaj plaws kev txhim kho Java txhim kho ib puag ncig ntawm peb qho. Tsis muaj ib qho tsis txaus ntseeg, peb tuaj yeem pom zoo nws rau cov uas pom thawj ib puag ncig ntawm kev loj hlob thiab Java cov lus programming. Ntawm qhov pom qhov txawv ntawm qhov IDE no yog qhov zoo tshaj plaws ntawm ib puag ncig "tawm ntawm lub thawv". Muaj kev txhim kho qhov chaw ib puag ncig no, tus neeg siv tau txais cov chaw zoo rau cov compiler thiab kev txhim kho ib puag ncig nws tus kheej, kev sib tham tsis muaj cov cim tsis tseem ceeb thiab cov khoom siv hauv zaub mov, muaj tsuas yog qhov feem ntau xav tau thiab nquag siv. Tom qab, tau kawg, koj tuaj yeem kho lub interface rau koj tus kheej. Peb tseem tuaj yeem sau qhov yooj yim ntawm kev ua tiav cov haujlwm, txhua tus menus tus qauv zoo heev thiab muaj lub npe ntshiab. Nyias, peb tuaj yeem nco ntsoov qhov yooj yim ntawm kev ua haujlwm nrog NetBeans vim yog qhov tsis muaj qhov yuav tsum tau ua kom tiav los ntawm kev tsis paub tab thiab pop-up qhov rais, uas ntau lwm qhov chaw nthuav dav muaj kev txom nyem los ntawm. Feem ntau, thaum ib tus neeg siv cuam tshuam nrog NetBeans ib puag ncig, nws cia li qhia qhov kev teeb tsa zoo tshaj plaws rau txoj haujlwm. Yog li, txawm hais tias tus siv novice tsis nkag siab dab tsi ib puag ncig nug nws txog, nyem "OK", nws yuav luag tsis yooj yim rau ua phem rau nws txoj haujlwm. Txhim kho ntawm cov khoom ntxiv ib puag ncig / cov ntsaws-ntxig (ntsaws rau hauv) yog ua tiav hauv ib nyem. Muaj kev txhawb nqa zoo rau kev tswj hwm version (VCS) zoo li ib qho yooj yim-rau-siv graphical tus neeg siv interface (GUI) kev txhim kho hauv kab ke. NetBeans yog muaj pub dawb.

Hauv txoj kev xaus, NetBeans IDE yog kev paub txog kev tsim kho kom yooj yim thiab siv tau yooj yim. Pib nrog NetBeans, nws nkag siab yooj yim thiab yooj yim kawm siv thaum nce qib. Tsis tas li ntawd, cov qauv ntawm NetBeans tus neeg siv kev sib cuam tshuam yog qhov uas koj tuaj yeem kawm Java cov lus nws tus kheej, yog tias koj siv cov yim pab ua rau hauv ib puag ncig, txawm hais tias nws yog Javadoc cov ntaub ntawv lossis cov lus pom zoo los kho qhov yuam kev / muaj qhov tsis raug.

Dab noj hnub yog lub chaw tsim kho kev tsim kho thaum xub thawj tsim los ntawm IBM thiab tau ua ntawm cov thawj coj txij li thaum nws pib. Dab noj hnub, Txawm li cas los xij, tsis yog tsuas yog Java-kev tshwj xeeb, tab sis lub hom phiaj dav dav Eclipse Platform, uas cuam tshuam rau nws txoj haujlwm. Lub rooj sib txoos uas tsim nyog tshaj plaws rau kev ua haujlwm nrog Java Eclipse yog muaj nyob hauv lub npe Eclipse IDE rau Java Developers.

Tus yam ntxwv ntawm dab noj hnub yog nws yuav luag unlimited customizability thiab extensibility. Rau cov neeg siv novice, txawm li cas los xij, qhov no tuaj yeem tsim teeb meem. Yog li tawm ntawm lub npov, Eclipse interface muaj ntau lub luag haujlwm tsis tshua nyiam siv, muaj cov neeg tsis meej pem thiab tsis muaj npe, Eclipse paub txog nws qhov kev sib tham tsis kawg uas xav kom tus neeg siv nkag mus ntau cov ntaub ntawv lossis tsuas tshaj cov ntaub ntawv uas nws xav tau kom nws tus kheej paub. Txoj kev teeb tsa plugin kuj tseem tuaj yeem ua rau tsis meej pem. Cov kab ke ua haujlwm nrog version tswj thiab kev siv neeg siv interface yog nyob rau theem nruab nrab. Dab noj hnub no tseem siv tau pub dawb.

Ntawm qhov zoo ntawm Eclipse IDE tuaj yeem pom qhov kev txhawb nqa rau yuav luag txhua cov tshuab Java uas twb muaj lawm, nrog rau kev siv cov thev naus laus zis, yam uas tsis muaj cov programmers ua tsis tau. Nrog cov kev paub txaus, Dab noj hnub tuaj yeem hloov kho rau qib tsis ntseeg siab kom haum koj cov kev xav tau. Rau cov neeg siv tshiab, qhov no yuav tsuas yog ib qho kev khuam siab rau kev ua haujlwm zoo, vim tias koj yuav tsum tsis txhob cia siab ntau intuitiveness thiab yooj yim los ntawm ib puag ncig-lub hom phiaj ib puag ncig.

IntelliJ IDEA, tsim los ntawm JetBrains, yog thawj qhov ua tiav kev tsim kho ib puag ncig puas tau tsim. Tsis zoo li IDEs uas tau piav qhia saum toj no, Intellij IDEA muaj nyob rau hauv cov Ntawv Dawb Luam Zej Zog thiab kev them nqi - Qhov kawg. Rau cov kev tsim tawm tshiab, cov dawb version muaj tag nrho cov kev ua haujlwm tsim nyog thiab tuaj yeem suav ua IDE ib tus muaj tag nrho.

Tam sim no IDEA tau txais ntau dua thiab ntau dua tus neeg txhawb nqa thiab kev soj ntsuam zoo, ua, raws li nws cov lus hais tias, ib puag ncig "ntse". Intellij IDEA yog qhov nkag siab yooj yim, siv tau yooj yim, txhawb nqa cov thev naus laus zis feem ntau, muaj ib qho ntawm cov qauv yooj yim tshaj plaws kev tswj hwm. Muaj tsis muaj ntau tshaj nyob rau hauv nws: qhov tsawg kawg ntawm lub thawv ntawv thawv thiab tsuas yog cov ntaub ntawv tsim nyog tau tshwm rau tus neeg siv. Muaj cov txheej txheem dej kub tshaj plaws uas tso cai rau koj kom ua sai sai qhov ntau uas tsis ua haujlwm tsis tseem ceeb. Hais txog kev yooj yim ntawm kev siv, IntelliJ IDEA yeej tau sawv ntawm qib siab tshaj qhov kev sib tw, txij li yog "tus ntse" ib puag ncig, nws ib txwm paub tus neeg siv qhov kev mob siab, ua rau nws / pab nws hauv nws txoj haujlwm thiab txuag ntau lub sijhawm thiab kev rau siab. Xws li, IntelliJ IDEA tsis muaj qhov tsis zoo, rau tus pib, txawm li cas los xij, GUI kev tsim kho txoj kev tuaj yeem tuaj yeem nyuaj, vim tias nws yuav xav tau los ntawm tus neeg siv tsawg kawg qhov kev paub txog kev tsim GUI hauv Java.

Txhawm rau lub ntsiab lus, cov ntsiab lus hauv qab no yuav tsum tau ua. Rau cov tshiab rau Java thiab IDEs, NetBeans yog qhov kev xaiv zoo tshaj plaws. Rau cov neeg uas muaj tsawg tsawg Java paub, NetBeans lossis IntelliJ IDEA yuav ua. Rau cov neeg uas muaj lub siab xav thiab cov sijhawm los siv qee lub sijhawm kom paub thiab teeb tsa ib puag ncig, thiab tseem xav kom ua tiav qhov kev cai ib puag ncig rau lawv tus kheej, koj tuaj yeem pom zoo dab noj hnub.

Pom zoo: