I used to complain about the unfriendly design of MPLAB. Today, I saw an article on the Internet that teaches you how to set it up. After setting it up, it is much more user-friendly. I would like to share it here:
Original article:
Make your MPLAB easier to use! Many people complain that the editing function of MPLAB is inconvenient and many functions are missing. Especially if you are new to MPLAB, you may think that the interface is too unfriendly, but it is not.
1. To achieve effect 1: Double-click to select a word, and double-click again to select the entire line. ——Open the edit\properties menu, select C File Types, and cancel Double click toggles breakpoint.
2. To achieve effect 2: To achieve window docking. ——Left-click the run icon in the upper left corner of the window to be docked, select Dockable, and then drag the window to where you want to dock (usually on the left edge, bottom edge, or right edge of the main window) to achieve window docking.
3. To achieve effect 3: To enable multiple open source files to be displayed on a tab bar, it is convenient to switch source files. ——Open the edit\properties menu, select the general tab, and select use tabedd window. (Restart MPLAB to take effect)
4. Achieve effect 4: Automatically align tabs when writing source files to line breaks. ——Open the edit\properties menu, select the C File Types tab, and select auto indent.
5. Achieve effect 5: Implement the code folding function. ——Open the edit\properties menu, select the C File Types tab, and select Enable code folding.
6. Achieve effect 6: Implement the automatic prompt completion function for functions and structures when writing source code——
1. Open the edit\properties menu, select the Tool tips tab, and select AutoComplete;
2 Open the edit\properties menu, select the general tab, and select Enable Tag Locators.
3. When writing code, press ctrl + space to tear open the automatic prompt window.
Useful shortcut keys:
Ctrl + 5 to comment a section of code;
Ctrl + 6 to cancel the comment of a section of code;
Previous article:Summary of Configuration Words of PIC Microcontrollers
Next article:PIC C language programming_Variable modification keywords in PICC
- Popular Resources
- Popular amplifiers
- Siemens Motion Control Technology and Engineering Applications (Tongxue, edited by Wu Xiaojun)
- Virtualization Technology Practice Guide - High-efficiency and low-cost solutions for small and medium-sized enterprises (Wang Chunhai)
- Learning PLC is easy - PLC ladder diagram and statement table with pictures (Li Changjun, Zhou Hua)
- Operational Amplifier Practical Reference Handbook (Edited by Liu Changsheng, Zhao Mingying, Liu Xu, etc.)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications