How to insert code snippets in Word

tags: Java related  C++  Development language  Editor  python  java  

The advantage of this method is that you don't need to paste and copy! ! ! You can set your own code format at one time! ! ! It's so fragrant. . .

Take your code from this ugly format below. . .

Convert to the following format with one click:

Isn't it very fragrant? Now teach you how to do it.

First of all, you need to download Easy Code Formatter from Word's Addin store, for free! 

Specific methods:

Open Word, select the Insert tab, find the Get Add-ins button, and then you can open the Word App Store.

After entering the app store, it looks like this:

We look for Easy Code Formatter in the app store and install it.

After the installation is completed, the Easy Code Formatter option will appear on your Word menu.

Click the menu button of Easy Code Formatter, the following options will appear:

It can be used now, for example, we typed some code in Word. . .

Select these codes:

Then click the Format text as code button (the first button in the picture), and the magic happens, and the code format will be displayed elegantly immediately! ! !

You can also use the Code formatter settings button to set the code format you want, once and for all.

Intelligent Recommendation

How to insert the code segment in Word

New definitions, named "CCODE", specifically used to format the code. Because it is code, it is recommended to use black body (annotation, etc.) in Chinese, while using equality width fonts....

Show code snippets in word (recommended!)

We often need to insert code in word, we always need to make large pieces of code look beautiful and unified, in order to get a unified code format as shown below: Here I recommend a website that can ...

vs using tabs to quickly insert code snippets

In vs, you can output a complete code segment by outputting part of the code and then pressing tab twice, for example: Enter if and press tab twice to insert. Using the above principle, you can set th...

jQueryday09 (code snippets dynamically insert a table)

${1:} where the tab stays tabTrigger internal input trigger source needs to be saved in the corresponding path when the snippet is created border-spacing distance between tb and tb The distance betwee...

How to elegantly insert code in Microsoft word

First, the tool Method 1. Open this pagePlanetB; Method 2.mustSearch for syntax highlight code in word documents, as shown below: PS. Methods 1 and 2 open the same website. Second, the steps 1. Copy t...

More Recommendation

(Reprint) How elegant insert the code in Microsoft word

Original link: https: //blog.csdn.net/u011303443/article/details/50992651/   A tool 1. Open this pagePlanetB; 2. The method or Google search syntax highlight code in word documents, search result...

How to insert code in Microsoft Word gracefully

Recently, I need to write some Word documents that contain code. Copying the code directly is not elegant, so I found this gadget from the Internet and share it with everyone. 1. Tools http://www.plan...

How to insert formatted code blocks in Word

Paste the code block into Word, and keep the original format and color mark of the code. There are three ways: Way 1 Enter the websitehttp://www.planetb.ca/syntax-highlight-word。 Copy your code into i...

How to insert code in Word gracefully? With instructional video

How to insert code in Word gracefully? How to insert code in word with better effect? Principle: Create a table, the first column is the row number, the second column is the code part, the highlightin...

How to insert better-looking code in word

Insert better-looking code in word Method 1: Use word directly Features: is formatted and has an invisible border on the outside method: Click Insert→Object (text area)→Select OpenDocument T...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top