gedit ເປັນຫລາຍກ່າວທີ່ທ່ານຄິດ
ກ່ອນອື່ນ ສະບາຍດີປີໃຫ່ມຫມົດທຸກຄົນ
ຫລາຍຄົນຄືຊິເຄີຍໃຊ້ edit+ ເຊິ່ງມີຟັງຊັ້ນຫລາຍຢ່າງ, ແຕ່ gedit ທີ່ຕິດມານຳ ubuntu ກໍເຮັດໄດ້ຄືກັນມາເລີ່ມກັນເລີຍ
- ເປີດ gedit ຫລື Text Editor ຂື້ນມາ – Application > Accessories > Text Editor
- ກົດເມນູ Edit > Preferences
- ໃນ Tab View, tick “Display line number” and “Display right margin”
- ໃນ Tab Editor, ປ່ຽນ Tab width ເປັນ 4 ແລະ tick “Enable automatic indentation”
- ໃນ Tab Font & colours, ເລືອກ Colour scheme ຕາມທີ່ທ່ານມັກ
- ໃນ Tab Plugins, tick “External tools” ຫລື plugin ໂຕອື່ນທີ່ທ່ານມັກ
- ມາໃສ່ short-cut ໃນການ compile ແລະ run Java – ie. F2
- ກົດເມນູ Tools > External tools > New > ຂຽນ Java
- ຊ່ອງ Description = … – ແລ້ວແຕ່ທ່ານມັກ
- ກົດຊ່ອງ Shortcut Keys: ແລ້ວ ກົດ F2
- ຊ່ອງ Command(s) =
- ແລ້ວກົດ Close ອອກ
#!/bin/sh
if javac $GEDIT_CURRENT_DOCUMENT_NAME;
then
DESU=`echo ${GEDIT_CURRENT_DOCUMENT_NAME}|cut -d “.” -f 1`
xterm -hold -e java $DESU –working-directory=$GEDIT_CURRENT_DOCUMENT_DIR
fi
ລອງທົດສອບໂດຍການລອງເປີດໄຟຼ java ຂື້ນມາ, ແລ້ວ ກົດ F2

ລອງເອົາທົດລອງກັນເບິ່ງມີບັນຫາແນວໃດ ກະຖາມໄດ້

ຈິດມາແລ້ວໆໆໆໆໆ
ປລ. fedora user ມາແລ້ວ
ປວ. geek fedora ມາແລ້ວ
ຂອບໃຈຫຼາຍ
Reference to…
…If you’re thinking about other viewpoints……
In Regard to…
…More food for thought……