Esi sithuba sahlulwe sangamacandelo amabini, okokuqala iziseko: ujongano lwekhowudi emileyo, kunye neyona khosi iphambili: ukugqibezela iPython.
Ukujonga ikhowudi emileyo
Izolo ebusuku emva kokudwelisa iLanga kancinci ndiqale ukudlala ngeplagi ukuze ndiyolule IsiGeany nge Inyanga, emva kwemizuzu emi-5 sele ndinayo iplagi ebhaliweyo endenze ukuba ndikhangele ikhowudi kwiPython nakwiKofiScript, Ucacisa iimpazamo ezingasetyenziswanga kunye nokungeniswa elizweni, okuluncedo kakhulu xa usebenza ungxamile ukufumana iimpazamo zobudenge ezifihlwe kwimbonakalo ecacileyo.
Ukufezekisa oku, kufakiwe iipybhekiUkujonga okungagungqiyo Python, ikopiUmhlanganisi wolo lwimi kunye neplagi eyandisiweyo IsiGeany en Inyanga.
$ sudo aptitude install pyflakes coffeescript geany-plugin-lua
Ifayile ye Python kwaye siya "Yakha" »" Cwangcisa imiyalelo yokwakha "; ibekwe kukhetho lokuqala, apho ithi "Qokelela" kubhaliwe:
pyflakes "%f"
nakwintetho eqhelekileyo ukukhangela iimpazamo ozibekayo:
(.+):([0-9]+):(.+)
Ukuhlala ngale ndlela:
Ke xa unefayile evulekileyo Python kwaye icinezelwe F8 itsheki emileyo iyenziwa, ibonisa iimpazamo kuyo.
Ukufezekisa okufanayo nge IKofiScript, ujongano olungagungqiyo kunye nokudityaniswa, ifayile iyavula .kofu kwaye ibekwe kwimiyalelo yokwakha:
coffee -c "%f"
Nge-regex yeempazamo:
Error: In (.+), .* ([0-9]+): (.+)
Ukwenza ngokuzenzekelayo le miyalelo yokuhlanganiswa ngalo lonke ixesha ifayili igcinwa kwaye sinokulibala ukucinezela i-F8, ikopi yefayile equlethwe apha kwifolda yakho "~ / .config / geany / plugins / geanylua / imicimbi", ukuba ngaba ubume besikhombisi abukho: yenze.
Ke ngalo lonke ixesha ndigcina ifayile kwi Python o IKofiScript oku kuhlolwe ngokwezibalo.
Ukugqitywa kwePython
Enye into yokudlala endiyenzileyo yile iplagi evumela ukuba ukugcwaliswa okuzenzekelayo okuthelekiswa ne-Eclipse PyDev iplagi, kodwa ngesantya kunye nokukhanya kweGeany.
Faka intamboIlayibrari yokuphinda ikhowudi kunye nohlalutyo:
$ sudo aptitude install python-rope
Unzip iifayile eziqulathiweyo apha kwifolda "~ / .config / geany / plugins /" kwaye uvule ukhetho lweendlela ezimfutshane "Hlela" "Ukukhetha" »" Umdibaniso " kwaye ujonge ungeniso "Python ukugqitywa ”kwaye uyinike indibaniselwano yesitshixo esigqibeleleyo ukugqibezela " indawo ", ungoyiki ukuba iyangqubana nesigqibelo esizenzekelayo, ubhale ngaphezulu indibaniselwano ngaphandle koloyiko, ukuba ifayile apho kugqitywa khona ukuzaliswa kwayo ayiveli Python isenzo sokugqibezela somhleli siya kwenziwa.
Ngale ndlela kuya kufuneka sele ugqibile ukuzenzela ngokuzenzekelayo eGeany.
Ukuqukumbela
Ndicinga ngokunyanisekileyo ukuba le iplagi ilungile kwimeko yokukhanya kunye nokuvalelisa kwi-Eclipse, iNetBeans, iKomodoEdit, kunye ne-Nice SublimeText. Ngale iplagin unokuba namandla abahleli abakhulu kwiGeany encinci nelula.
Kwimeko apho "i-configuradera" inzima kakhulu okanye inzima, sebenzisa ngokulula ukuseta kwam iGeany. Gcina incwadi eneenkcukacha "~ .config / geany", xa kunokwenzeka, kwaye uvule uziphu emitsha apho; faka:
$ sudo aptitude install pyflakes coffeescript python-rope geany-plugin-lua
kwaye uya kuba nomhleli wakho ulungele ukuhamba.
Ndiyathemba uyayonwabela kakhulu kwaye undazise umbono wakho woyilo lo… hehehe….
Izimvo ezi-10, shiya ezakho
Kulunge kakhulu! Ndiya «bookmark» ukuyivavanya kamva 🙂
Enkosi ngegalelo kunye nomgangatho waseCuba 😉
@Titotatin
Ndingumbhali weposti yoqobo kunye nalowo wenza iplagi.
Lo mxholo ulibele i-geany.
Okwangoku, uluntu.uci.cu iphantsi kodwa phaya kwii-repositories ze-git kubanjwa i-repo ene-geany yoqwalaselo njengoko ndiyisebenzisa.
Imibuliso, Ed.
Enkosi kakhulu, inyani kukuba ndiyayithanda ngaphezulu komxholo oza ngokusilelayo.
Ukubulisa
Igalelo elihle kakhulu. Hi ndlela leyi, ngowuphi umxholo obonwa kwimifanekiso ye-geany?
Andiboni kungena kokugqitywa kwe-python kwiiNdibaniselwano, ndikope yonke incwadi emiselweyo kwaye ndafaka iipakeji njengoko icandelo lokuGqibela lesithuba lisitsho says
Sele ndiyifumene into ebendilahlekile ukuba ndiyenze, kukhetho lwePlagi, kuya kufuneka wenze iplagi yeLua kwaye yiyo it
Ndilibele ukukhankanya ukuba iLua kufuneka yenziwe ukuba isebenze kwizixhobo, Umphathi wePlagi, kwaye ukuba ayikho ayisebenzi, jonga u-Hlela, uKhetho lwePlagi 🙂
Ndidinga ukufunda kwaye utitshala onjengawe ndifuna iCuba
Phantse iminyaka eli-10 emva kokupapashwa kunye nokukhokelwa noncedo lusenexabiso
Ndiyabulela kakhulu! Indincede kakhulu