如何配置Keil 外部编辑器?

是否可以对Keil配置使用外部的编辑器呢?

How to use vscode as the external editor of Keil 5? The latest version of Keil MDK 5 still provides compiler, compiler, installation package and debugging trace functions. However, many users have reported that keil‘s editor is too difficult to use, so I’ll introduce vscode as the operation method of Keil’s external editor to you. You need to follow the steps of Xiaobian to set it up!

  1. First, we double-click the Keil icon on the desktop to open the Keil main interface;

▲ Open the Keil main Interface

▲ Open the Keil main Interface

  1. Click the tools menu in the upper menu bar and select the option as shown in the figure below;

▲ Select the Custem Tools Menus

▲ Select the Custem Tools Menus

  1. Click the place marked with red pen on the menu as shown below, and name the tool vscode;

▲ Create the New Menu Contents

▲ Create the New Menu Contents

  1. Then select the location of the vscode program, click the three buttons behind the first column of the following three columns to select the vscode program, as shown in the following figure;

▲ Setup the command

▲ Setup the command

  1. Next, we need to input “e” in the third column. We don’t need to understand what it means, that is, code. We just need to input it. Make sure it’s done.

▲ Setup the Arguments

▲ Setup the Arguments

  1. When we need to call vs code, we just need to click the “totals” menu in the upper menu bar of the main interface, and click the “vscode” at the bottom.

▲ Use tools menu

▲ Use tools menu

  1. Open vs code after calling, click File menu, check auto save, convenient for our use.

At the end of the tutorial, that’s how keil uses the external editor. Use vscode as the whole of the external editor tutorial of keil5, hope you like it!


▲ ARM Keil 官方网站解答

▲ ARM Keil 官方网站解答

µVISION: USING AN EXTERNAL EDITOR
Information in this article applies to:

µVision Version 2.10

QUESTION

Is it possible to use an external editor in conjunction with µVision?

ANSWER

Yes. Follow these steps to add your favorite Windows editor to the µVision Menu System.

Select Customize Tools Menu… from the Tools menu.
Add a description for your editor to the Menu Content box. You may specify an ampersand (’&’) to specify the hot-key.
Enter the command required to launch your editor in the Command input line. For example, to start Notepad under Windows 2000, enter C:\WINNT\NOTEPAD.EXE.
Enter #F in the Arguments text box. If you don’t want your editor to automatically open the source file, you may omit this step.
Now, select a file from the Project List (on the left) and select your editor from the Tools menu. µVision launches your editor which will open the selected source file for you.

MORE INFORMATION

Refer to Customize Tools Menu in the µVision User’s Guide.

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.


参考文献

  1. µVISION: USING AN EXTERNAL EDITOR
  2. How does keil use an external editor? Using vscode as an external editor tutorial for keil 5
发布了440 篇原创文章 · 获赞 521 · 访问量 12万+

猜你喜欢

转载自blog.csdn.net/zhuoqingjoking97298/article/details/105496024