Pintasan Netbeans - pintasan keyboard yang paling penting
Netbeans adalah cara cerdas dan cepat untuk menyandikan aplikasi desktop, seluler, dan web. Kami akan memperkenalkan kepada Anda kombinasi tombol dan pintasan terpenting dalam artikel ini.
Pintasan 1: Papan klip Netbeans
Dengan kombinasi tombol tertentu Anda dapat dengan cepat mengisi atau mengosongkan clipboard.
- Jika Anda tidak memilih karakter atau kata, [Ctrl] + [C] menyalin seluruh baris ke clipboard.
- Dengan [Ctrl] + [V] Anda dapat menempelkan teks sumber yang sebelumnya disalin dari clipboard.
- Praktis: [Ctrl] + [V] + [Shift] memformat teks yang disalin langsung setelah impor.
Pintasan 2: Hapus menggunakan kombinasi tombol
- Tentu saja Anda dapat pertama-tama menghapus menggunakan menu (konteks) atau tombol [Del].
- Namun, jika Anda ingin menghapus seluruh baris, Anda dapat melakukan ini dengan kombinasi tombol [Ctrl] + [E] tanpa harus menandai baris.
Pintasan 3: Berkomentar di Netbeans
Jika Anda ingin menghapus baris dari aliran program tetapi tidak ingin menghapusnya, pintasan berikut membantu:
- Dengan [Ctrl] + [Shift] + [C] Anda dapat mengaktifkan perintah "Toggle Comment" untuk dengan cepat mengomentari baris yang dipilih atau untuk menghapus komentar.
Pintasan 4: Memindahkan garis dengan kombinasi tombol
Dengan pintasan keyboard yang tepat, Anda dapat dengan mudah memindahkan, memindahkan, dan membuat indentasi baris.
- Gunakan tombol panah dan [Alt] + [Shift] untuk menggerakkan garis saat ini atau yang dipilih ke atas atau ke bawah, atau untuk memindahkannya masuk atau keluar.
Pintasan 5: Pilihan persegi panjang di editor Netbeans
Selain karakter klasik dan pemilihan baris, editor teks sekarang juga memiliki pilihan persegi panjang (diperiksa untuk v. 7.1).
- Pertama tekan [Ctrl] + [Shift] + [R] untuk mengaktifkan pilihan persegi panjang (Catatan: Kombinasi yang sama juga menonaktifkan seleksi).
- Anda sekarang dapat menandai area persegi panjang dalam kode sumber dengan mouse atau tombol panah dalam kombinasi dengan [Shift].
- Anda sekarang dapat menghapus atau menyalin teks yang dipilih di area tersebut, tetapi juga menggantinya dengan memasukkan data baru.
Pintasan 6: Pemformatan cepat di Netbeans
Memformat sesuatu dengan cepat penting untuk memulihkan struktur dan ketertiban. Ini berfungsi seperti ini:
- Dengan [Ctrl] + [Shift] + [F] Anda dapat memformat ulang segalanya (jika pilihan tidak ada) atau area yang dipilih.
Pintasan 7: Netbeans hyperlink untuk kelas, metode, dan bidang
Bahkan berbagai hyperlink dapat diatur dengan cepat dan mudah menggunakan kombinasi tombol sederhana.
- Tahan tombol [Ctrl] dan gerakkan penunjuk mouse ke nama - metode, bidang atau nama kelas.
- Sekarang hyperlink muncul, yang dapat Anda klik dan lompat ke deklarasi. Deklarasi tersebut dapat membuka editor baru.
Pintasan 8: Melompat ke nomor baris dengan kombinasi tombol
Dengan pintasan berikutnya Anda dapat dengan cepat menavigasi melalui garis yang berbeda.
- Dengan [Ctrl] + [G] dan perintah "Goto Linenumber" Anda dapat membuka dialog dan kemudian memasukkan nomor baris di sana.
- Setelah mengklik tombol konfirmasi, kursor secara otomatis melompat ke baris yang ditentukan.
Pintasan 9: Cari kelas di Netbeans
- Mulai dialog pencarian untuk nama-nama kelas dengan [Ctrl] + [O] (perintah "Tipe Goto").
- Sekarang masukkan istilah pencarian dalam dialog dan klik dua kali pada salah satu hasil untuk membuka file.
- [Ctrl] + [Shift] + [1] menampilkan file ini dalam struktur proyek.
Pintasan 10: Maksimalkan editor di Netbeans
Bagi banyak orang, editor terlalu kecil - Anda dapat memaksimalkan editor dengan mengklik dua kali pada tab masing-masing, tetapi Anda juga dapat menyimpan sendiri klik yang melelahkan.
- Di sini pintasan [Ctrl] + [ESC] membantu memperbesar jendela dengan cepat. Anda dapat menutup tab lagi dengan memasukkan kombinasi lagi.
Netbeans: Masalah dengan pintasan keyboard dan pintasan
Sama seperti cara pintas keyboard di atas dapat membuat hidup Anda lebih mudah, Anda akan dengan cepat menyebabkan masalah dan komplikasi bagi beberapa pengguna - masalah dasar berikut diketahui:
- Pintasan yang diperkenalkan dengan [Alt] + [Shift] atau [Alt] + [Shift] tidak berfungsi pada sistem Ubuntu. Sistem sudah menggunakan [Alt] + [Shift] sebagai singkatan. Anda dapat dengan mudah mengubah pintasan ini di "Tools", "Options" dan "Keymap".
- Pengguna Jerman, atau setidaknya mereka yang memiliki tata letak kunci Jerman, akan segera melihat bahwa pintasan umum yang diperkenalkan oleh [Shift], [Shift] atau [AltGr] seperti koma, titik koma, tanda bintang, atau tanda kurung bertabrakan dengan kombinasi tombol untuk Netbeans. Sesuaikan singkatan sesuai di bawah "Tools", "Options" dan "Keymap".
Di artikel lain, kami menyajikan kompiler yang mirip Netbeans dan bagus untuk C dan C ++.
$config[ads_text5] not found