gedit ເປັນຫລາຍກ່າວທີ່ທ່ານຄິດ

ກ່ອນອື່ນ ສະບາຍດີປີໃຫ່ມຫມົດທຸກຄົນ

ຫລາຍຄົນຄືຊິເຄີຍໃຊ້ edit+ ເຊິ່ງມີຟັງຊັ້ນຫລາຍຢ່າງ, ແຕ່ gedit ທີ່ຕິດມານຳ ubuntu ກໍເຮັດໄດ້ຄືກັນມາເລີ່ມກັນເລີຍ

  1. ເປີດ gedit ຫລື Text Editor ຂື້ນມາ – Application > Accessories > Text Editor
  2. ກົດເມນູ Edit > Preferences
    1. ໃນ Tab View, tick “Display line number” and “Display right margin”
    2. ໃນ Tab Editor, ປ່ຽນ Tab width ເປັນ 4 ແລະ tick “Enable automatic indentation”
    3. ໃນ Tab Font & colours, ເລືອກ Colour scheme ຕາມທີ່ທ່ານມັກ
    4. ໃນ Tab Plugins, tick “External tools” ຫລື plugin ໂຕອື່ນທີ່ທ່ານມັກ
  3. ມາໃສ່ short-cut ໃນການ compile ແລະ run Java – ie. F2
    1. ກົດເມນູ Tools > External tools > New > ຂຽນ Java
    2. ຊ່ອງ Description = … – ແລ້ວແຕ່ທ່ານມັກ
    3. ກົດຊ່ອງ Shortcut Keys: ແລ້ວ ກົດ F2
    4. ຊ່ອງ Command(s) =
    5. #!/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

    6. ແລ້ວກົດ Close ອອກ

ລອງທົດສອບໂດຍການລອງເປີດໄຟຼ java ຂື້ນມາ, ແລ້ວ ກົດ F2
Free Image Hosting

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

This entry was posted on Friday, January 2nd, 2009 at 12:34 pm and is filed under HOW TO. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

2 Responses to “gedit ເປັນຫລາຍກ່າວທີ່ທ່ານຄິດ”

  1. devsmudger said:

    ຈິດມາແລ້ວໆໆໆໆໆ

    ປລ. fedora user ມາແລ້ວ
    ປວ. geek fedora ມາແລ້ວ

  2. au໘ust said:

    ຂອບໃຈຫຼາຍ :D

Leave a Reply




Message:

Ubuntu: For Desktops, Servers, Netbooks and in the cloud