Program ape domesticated chameleon Cooking Guide

Program ape chameleon

Chameleon is, bah, Notepad ++ is a text editor for Windows operating system, a complete cultural interfaces and support functions written in multiple languages.

table of Contents

  • About Chameleon Notepad ++
  • download
  • interface
  • Recommended commonly used shortcut keys
  • Introduction little function
  • Use of air posture chameleon

About Chameleon Notepad ++

The official website at: chameleon home Notepad ++ home

Download link: download

download

Download is very simple, just point has been the "Continue" is like, there is a demand of friends can study on their own. After the completion of sub sauce:

Bang Bang Oh good, free to buy a chameleon Hey!

interface

With npp (Notepad ++) did not compile a brain process:2

Fantastic, Pascal and C ++ did wrong!

Recommended commonly used shortcut keys

name hot key
New Ctrl+N
Storage Ctrl+S
Save as Ctrl+Shift+S
Turn to uppercase Ctrl+Shift+U
To lower case Ctrl+U
Capitalized Alt + U
Swath Ctrl+I
Merge Rows Ctrl+J
Move current line Ctrl+Shift+Up
Down the current row Ctrl+Shift+Down
Seek Ctrl+F
Find Next F3
Find Previous Shift+F3
replace Ctrl+H

For more shortcuts, see the Help npp

I want to replace shortcuts? Settings -> Manage Shortcuts

Introduction little function

1. Replace

Replace What's the use? As an example to illustrate:

Var a:array[1..1000] of longint;
    t,i,n:longint;
Begin
	read(n);
    for i:=1 to n do
    Begin
    	read(a[i]);
        t:=t+a[i]*2-a[i-1]+a[i]*3;
    end;
end.

The above program appeared many times a group, this time, if you want to have become a f it? It would have to use the Replace function (manual change of course, I do not stop)

It should be noted that a problem, some small partners excited nod to replace all, ╮ (╯ ▽ ╰) ╭ var, array, read all that frustration ah ~

Note ah :

These can be a change of ah ~

Be careful ah, do not become innocent helpless.

You can see, replacing kinds of "reverse lookup", "whole word matching," respectively, "Match Case", "Find circulation" and other options.

  1. Reverse Lookup

    As the name implies, reverse lookup is to start from the end to find the code, some time may be used.

  2. Match whole words

    This function can be used to avoid replacing other keywords, for example: bz is an array, but if you just look for the letters b and then could bool confusion.

  3. Match Case

    This function is very effective, such as: F you define an array, you want to change into an array of arrays F A, but the fear and confusion for circulating reserved words, one by one manually replace very troublesome.

  4. Find circulation

    This function is not to say, not only to replace one opened it.

2. Indent Guides

This feature is very useful, is running a lot of friends there will be a mistake, that is, the number of program start flag and end flag is not the same Q w Q moment (in fact, only one question to enter the start and end markers on the line), but the benefits of this feature more than that, it can go wrong except to prevent you improve the readability of the code, let you be a a modified block structured programming
(code readability many friends too low, will not want to copy)

Great, Ma Ma never have to worry I forgot to play the "}" it!

3. Character panel

This feature is one to know is why, many friends have complained, sometimes want to output some characters there are not a few know mediated the character of the ASCII code, and that this function can also help yourself to quickly enter special symbols.

Edit -> Character panel

Actually, this character panel, there is a special function in the following special characters, I will introduce to you.

Ma Ma no longer have to worry about my back no less than the ASCII table, will not play a special character!

4. special characters

This feature is a characteristic feature of Notepad ++, which allows special characters originally invisible displayed on the screen. Such as: the original line break does not appear on the screen become CR LF, Tab have become symbol ->.

How to insert control characters? Some control characters is keyboard input, but others do? Here, we need to get back panel of the characters.


Double-click the character you want to enter.

5.宏录制

这个功能可以录制你编辑代码的过程,并在你回放时自动帮你把你录制的代码在你的程序里克隆n遍。它就在 宏 中。

6.快速运行

这个功能对于任何语言都有用,可以使用F5快捷键,也可以点 运行 ,这个功能可以帮助你快速运行任何程序,任何软件,如,你的程序是C++的,因为npp不是编译器,使用你可以把你写的程序保存,再使用C++编译器打开。

7.同时运行多个文件

这个功能是某些编译器所木有的,例如CP Pascal Editor,要同时打开两个程序就得开两个窗口,不但占了屏幕的许多空间还带来了许多的不方便,又如Free Pascal,的确可以实现打开多个文件,但是是一层一层的,很不方便。npp帮大家解决了这个问题,任何类型的文件都可以同时在一个npp窗口里打开。

8.区块复制

这个功能是很实用的,你只需要摁住Alt键就可以随意选中一个区块。

当然,黏贴时也是一块的(不会变成一行)

Notepad++的更多的其他功能,感兴趣的朋友可以自己去探索。

使用变色龙的神气姿势

常用插件

1.16进制编辑器( H E X E d i t O r HEX-Editor )

插件功能:此插件主要提供了16进制查看与编辑的功能。

插件用途:以16进制模式查看和编辑文件。

插件->HEX-Editor

2.导出彩色高亮代码( N p p E x p O r t NppExport )

插件功能:将高亮代码转换成其他格式的文件。

插件用途:将已经着色的代码或复制到剪切板,或保存为Word、Html等文件。

插件->NppExport

3.轻量级资源管理器( L i g h t E x p l O r e r Light Explorer )

插件功能:轻量级的Explorer。

插件用途:方便打开文件。

插件->Light Explorer

还在满足于基本的文本操作?你落后了,插件功能强大到你无法想象!

更多插件就先不说了,留给大家自己探索。

好了,该展示一下姿势了(cpp)~~

  • 快速双击npp
  • 左手一个Alt,右手一个L打开 (选择语言
  • 摁下两个下键一个猛力的回车
  • 再是两个下键一个猛烈的回车(使用C++)

(全程只用了4秒左右,当然还可以更快)

  • 右手一个Ctrl+O打开事先准备好的常用头文件库,一个Ctrl+A全选再一个Ctrl+C复制

如果觉得麻烦推荐使用万能头文件(不稳定):

#include<bits/stdc++.h>
  • 优美地定义一个主程序或子程序,写完参数表再优美地打出一个{,并看到一个}神奇地蹦出来(自动匹配功能详见 设置->首选项->自动完成)
  • 做完这些,就开始编你的程序吧,该秀的都秀完了(要更秀的自己想办法)

鉴于上面说的对P党很不友好,我也给出Pascal的使用姿势~~

  • 同样,快速打开npp
  • Alt+L选择语言,猛烈点击键盘上的P键,再是一个猛烈的回车
  • Pascal就不会需要头文件了,顶多就是包含几个单元,如crt、math、dos等等,如果你需要,也可以雷同cpp第五步的操作
  • Likewise, beautifully played key functions, processes (the main program on a free), and then gracefully play begin, then quietly watching from the back end to jump out (if there is no end appears the same Go to Settings -> Preferences -> automatic completion)
  • Once this is done the handsome bar code portions began to grow, the show will show over (to show more of their own way)

Is the air above the operating position spicy ~ ~

Thank you for reading this article, I wish you a big raise chameleon

Published 23 original articles · won praise 37 · views 9072

Guess you like

Origin blog.csdn.net/weixin_41221124/article/details/87027084