OneNote2016安装代码高亮插件-NoteHightlight的安装及使用教材

注:本文参考了 http://blog.csdn.net/yy228313/article/details/56835399

1 查看系统版本

安装时一定要注意版本,文件--》账户--》关于OneNote

2. 下载资源

NoteHighlight2016代码高亮插件

http://download.csdn.net/download/duzejie/10149865
  

3 安装

For Office 64-bit use NoteHighlight2016x64.msi, and for Office 32-bit use NoteHighlight2016x86.msi. See  here  how to check which Office version you have.

如果是64位office,安装 NoteHighlight2016x64.msi;

如果是32位office,安装 NoteHighlight2016x86.msi。


4 使用

OneNote2016安装代码高亮插件-NoteHightlight的安装及使用教材_第1张图片


如果菜单中不出现 NoteHightLight,请执行 步骤 **
在使用的过程中如果 NoteHightLight消失,请执行 步骤 **


步骤 **

文件--》选项--》信任项--》管理:转到,出现如下窗口--》勾选“NoteHightLight”--》确认。
PS:如果"COM加载项”窗口中没有NoteHighLight,则是插件版本安装错误。
OneNote2016安装代码高亮插件-NoteHightlight的安装及使用教材_第2张图片

 5 添加代码

步骤1:选择语言类型
步骤2:编写代码
步骤3:OK
or
选中代码后,点击相应代码高亮按钮。

OneNote2016安装代码高亮插件-NoteHightlight的安装及使用教材_第3张图片


 6 效果图


OneNote2016安装代码高亮插件-NoteHightlight的安装及使用教材_第4张图片

附录:

NoteHighlight2016 英文使用说明

OneNote2016安装代码高亮插件-NoteHightlight的安装及使用教材_第5张图片


Install

To install just run MSI file from releases. For Office 64-bit use NoteHighlight2016.msi, and for Office 32-bit use NoteHighlight2016x86.msi. See here how to check which Office version you have.

In case AddIn doesn't show after install, check if this helps Not showing after install

Usage

Add new code

  1. Select language from menu
  2. Enter source code in pop-up window and press OK
  3. Highlighted source code will show up in page

OneNote2016安装代码高亮插件-NoteHightlight的安装及使用教材_第6张图片

Format existing text or edit formatted text

  1. Select text that you want to format or edit (you can select whole or only part of note). In case part on note is already formatted, you can select whole source code box.
  2. From NoteHighlight menu select desired language
  3. NoteHighlight form will open with selected text
  4. Edit text or change formatting same as for new code

Additional languages

  1. Go to installation folder and find file ribbon.xml and open it with text editor
  2. Edit property "visible" from "false" to "true" for languages that you want to use. It is necessary to restart OneNote for changes to take effect

It is also possible to add new languages (supported by highlight tool) by adding new rows to ribbon.xml but if you need new language then you are smart enough to figure it out :)


你可能感兴趣的:(工具)