Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the practical tips in VSCode terminals?

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

What are the practical tips in the VSCode terminal? aiming at this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.

I have been using VS Code terminal for a long time. Today I am curious to find two tips to record my excitement. So what problems do these techniques solve?

Some words in the command are typed incorrectly. When you want to change a word, you have to delete or move it from back to front, which is clumsy and unfriendly.

The command is all wrong. I want to delete it all, but I want to delete it letter by letter, often speechless.

Two skills

If you are also worried about the above problems, then move on. (take Mac OS as an example)

1. Partial modification command

If you execute this command and find that there is an error and no permission, at this time you want to add sudo to the front of the command, you can

Option + mouse click

The premise is that the terminal has got the focus, and then the cursor moves near the specified location.

It is much more efficient than moving letter by letter.

two。 Entire delete command

When you paste a command to the terminal, all kinds of possible reasons, suddenly do not want to execute, you can

Command + delete key

The corresponding control key is the Windows + delete key, so you can quickly delete the entire command.

Another technique, the arrow keys to check the history of the command, presumably everyone knows, will not be verbose.

Summary:

Option + mouse click, quickly move the cursor, modify commands

Command/control + delete key, delete the entire command

Arrow keys to view the history command

This is the answer to the questions about the practical tips in the VSCode terminal. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.

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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report