In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "what are the skills to improve the coding speed in any IDE". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn what are the skills to improve the coding speed in any IDE.
1. Reduce the number of distractions
After a new installation of IDE, the default workspace is as follows:
You have different panels, such as file browsers, text editors, tab navigation, breadcrumbs, status bars, etc. Some of these sections are useful, and you may be using them every day, while others just take up space and distract your work (for example, a gear icon with a random number badge is useful to me).
Consider hiding or switching unused panels to make the workspace cleaner and larger.
Setting a good color theme and font size will make your coding experience more comfortable and easier. Tips for choosing a theme; think that the background color is roughly the same as the other tools / programs you are using, which reduces the pressure on your eyes when you switch from one tool to another.
Here are five steps to clean up the workspace:
Disable file mapping because I can't use it for navigation and the text editor takes up a lot of space.
Disable tabs because it is difficult to remember whether files are open in tabs and it takes some time to switch between tabs.
Hide the status bar at the bottom (because I hardly use it, and it distracts me from many notifications instead of focusing on coding).
Use the golden ratio to set custom themes, font sizes and line heights.
Hide the file browser. We'll discuss it later!
With these modifications, this is what my IDE looks like:
two。 Reduce interaction with mouse / trackpad
Each time you pick up your hand from the keyboard, you will lose 1-3 seconds. If you start counting the number of times you perform this operation, you will find that only by doing this mechanical work every day, you will waste 20 Murray and 30 minutes of time!
Use the keyboard only to check the file and text navigation features provided by IDE. Visual Studio Code provides a number of keyboard shortcuts for working with code.
If your IDE does not provide default shortcuts, you can always configure them yourself. I think it's better than using default values, because you will be able to create shortcut schemes that are specific to you. Try to remember as many shortcuts as possible!
Consider using shortcuts for these operations:
Rename symbols (words, variables, files, etc.)
Switch between editors / tags
Go to symbols (variable method definition, class name, etc.)
Go to Lin
Fuzzy search
Open the terminal
Open / close the file browser
Expert Tip:
Learn about vim shortcuts that use the keyboard only for file navigation / editing. In the long run, it will save you a lot of time, and in the eyes of your colleagues, you will become the God of IDE. Currently, most IDE support out-of-the-box vim editing mode or have dedicated plug-ins.
3. Do not use file trees for file navigation
Watch this video:
In the example above, you can see that you can open the same file twice as fast by using a fuzzy file search instead of a file tree. You should also consider the complexity and depth of the project file structure.
In some cases, it may be slower to switch between files using the tree editor (for example, if your unit / functional test is not in the project source file). Using fuzzy search can also help you learn about projects and reduce duplicates in the code base.
4. Use integrated terminals whenever possible
Most IDE provide the ability to open a terminal or command line Shell in IDE. This is a very useful feature because you can quickly access the terminal at any time. Another benefit is that your terminal instance will always be opened from the root folder of the project. There is no longer a fixed cd entry path.
5. Learn to type blindly
This may be obvious, but I see that many developers type very fast, but still try to type without making mistakes because they shift their attention from the screen to the keyboard. You can also try using other keyboard layouts instead of QUERTY, such as Programmer Dvorak or Colemak, to further improve code typing speed.
For software developers, IDE skills are as important as knowing the driving skills of taxi drivers or pilots. The more comfortable you feel about your IDE, the more professional you will become.
Thank you for your reading, the above is the content of "what are the skills to improve the coding speed in any IDE". After the study of this article, I believe you have a deeper understanding of the skills to improve the coding speed in any IDE, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.