notepad

notepad++ 常用插件

≡放荡痞女 提交于 2019-11-27 12:26:46
1.JSON Viewer 用来格式化JSON的 使用: 插件->JSON Viewer->FormatJSON; 2.XML Tools 用来格式化XML文件的 使用:插件->XML Tools->Pretty print(XML only - with line breaks) 3.Compare 用来比较两个文件,和Beyond Compare 4差不多. 插件->Compare->Compare; 来源: https://www.cnblogs.com/lishuaiqi/p/11363003.html

Notepad2 可以替换xp记事本Notepad

笑着哭i 提交于 2019-11-27 07:03:41
软件分类:文字处理 软件性质:汉化软件/绿色版/简体中文 软件大小:556KB 运行环境:Win2000/XP/2003 软件版本:2.0.16.0 详细简介: 编程的朋友们,平时大家除了自己喜爱的开发工具外,我想每个人都有一个 mini编辑器吧, WinXP自带的记事本,我们既喜欢它的小巧玲珑,又苦于功能稍微偏弱,比如:不能语法高量显示、不能显示行号,这两个最大的缺陷,致使很多朋友都自备了一个记事本的代替品,比如大名鼎鼎的 UlseaEdit 等等。。。。不过现在你可以高兴啦!Vista的记事本把这些功能都补上了!并且还有人提取了出来,可以替换掉XP里的记事本,并且还进行了汉化! 特点: 1 自定义语法高亮,支持HTML, XML, CSS, Java, VB, ASP, PHP, CSS, Perl/CGI,C/C++, C#, Java, VB, Pascal, Assembler, SQL, Python, NSIS,INI, REG, INF, BAT, DIFF等众多文件 2 支持ANSI,Unicode,UTF-8等编码互换 3 可以设置无限个书签(9种图标可换)轻松定位 4 空格,制表符彩色显示,并可互相转换 5 可以对任意的文本块进行操作,ALT键+鼠标 6 对括号{}〔〕()可以高亮配对显示,方便查看(仅对英文符号有效) 7 可以自定义代码页和字符集

Notepad++编辑.sh文件

我与影子孤独终老i 提交于 2019-11-27 03:23:31
使用记事本创建创建test.txt文件,修改后缀名为sh后,再文件里写以下内容: #!/bin/bash echo "hello world" 这样的文件再linux里是无法执行的,会出现以下类似错误: : 没有那个文件或目录bin/bash ./test.sh:行1: #!/bin/bash: 没有那个文件或目录 可以使用Notepad++修改文件编码与文本格式方式修改 1.修改文档格式 2.修改编码格式 来源: https://www.cnblogs.com/SmilingEye/p/11341659.html

How to open the notepad file in java?

放肆的年华 提交于 2019-11-27 01:25:33
问题 I want to open Notepad in my Java program. Suppose that I have one button if I click this button the notepad will appear. I already have a file name and a directory. How can I implement this case? 回答1: Try if (Desktop.isDesktopSupported()) { Desktop.getDesktop().edit(file); } else { // dunno, up to you to handle this } Make sure the file exists. Thanks to Andreas_D who pointed this out. 回答2: (assuming you want notepad to open "myfile.txt" :) ProcessBuilder pb = new ProcessBuilder("Notepad.exe

Notepad++的使用

假装没事ソ 提交于 2019-11-27 01:14:48
\t 制表符. \n 新行. . 匹配任意字符. | 匹配表达式左边和右边的字符. 例如, "ab|bc" 匹配 "ab" 或者 "bc". [] 匹配列表之中的任何单个字符. 例如, "[ab]" 匹配 "a" 或者 "b". "[0-9]" 匹配任意数字. [^] 匹配列表之外的任何单个字符. 例如, "[^ab]" 匹配 "a" 和 "b" 以外的字符. "[^0-9]" 匹配任意非数字字符. * 其左边的字符被匹配任意次(0次,或者多次). 例如 "be*" 匹配 "b", "be" 或者 "bee". + 其左边的字符被匹配至少一次(1次,或者多次). 例如 "be+" 匹配 "be" 或者 "bee" 但是不匹配 "b". ? 其左边的字符被匹配0次或者1次. 例如 "be?" 匹配 "b" 或者 "be" 但是不匹配 "bee". ^ 其右边的表达式被匹配在一行的开始. 例如 "^A" 仅仅匹配以 "A" 开头的行. $ 其左边的表达式被匹配在一行的结尾. 例如 "e$" 仅仅匹配以 "e" 结尾的行. () 影响表达式匹配的顺序,并且用作表达式的分组标记. \ 转义字符. 如果你要使用 "" 本身, 则应该使用 "\". 1、Notepad++查找的时候,一行出现多个结果,查找的结果列出多次,如何解决? 使用正则表达式 如下:^(.*abc.*)+$, 仔细思考

使用notepad++进行替换

喜欢而已 提交于 2019-11-27 01:13:00
将 aaa bbb ccc 转化为 #define AAA aaa #define BBB bbb #define CCC ccc 查找(.*),替换为#define $1 "$1" #define aaa "aaa" #define bbb "bbb" #define ccc "ccc" 列表式,按住Alt,选择中间的,Ctrl+Shift+u,转化为大写(Ctrl+u转化为小写)。注意:低版本的notepad++可能不支持大小写转化。 转载于:https://www.cnblogs.com/nzbbody/p/4391780.html 来源: https://blog.csdn.net/weixin_30221425/article/details/99234790

How windows notepad interpret characters

拟墨画扇 提交于 2019-11-26 23:22:04
问题 I was wondering how windows interpret characters, for instance: I maked a file with an Hexeditor with the 3 bytes E3 81 81 . Those bytes are the "ぁ" character encoded as UTF-8. I open the notepad and it displays "ぁ" I don't specified the encoding of the file, i just created the bytes. and the notepad interpret it correctly. Is the notepad guessing what encoding probably is? or is the Hex editor saving those bytes with a specific encoding. 回答1: If the file only contains these three bytes, then

没事动别人电脑的臭傻逼

≯℡__Kan透↙ 提交于 2019-11-26 14:29:01
这可能是一个能够气炸很多人的故事,当年买这一台电脑电脑的时候,让一个妹子取的快递,她就打开快递并打开电脑做了这样一件事。她把我的电脑命名为“咦???”,没错,就是一个汉字3个问号。然后设置了一个小游戏,让我猜她设置的电脑开机密码,猜了半天猜到了是“你是笨蛋”的拼音小写。 后来,密码改了,奇葩妹子也没联系了,但是“咦???”这个文件夹却永远不能改名了,于是所有的安装路径都极其麻烦,操你妈的臭傻逼,没事改我路径干你妈,你认为你很可爱吗 cmd /k C:\Users\咦???\AppData\Local\Programs\Python\Python37\python.exe "$(FULL_CURRENT_PATH)"& PAUSE & EXIT File "C:\Program Files (x86)\Notepad++\change.log", line 1 Notepad++ v7.7.1 enhancements and bug-fixes: ^ SyntaxError: invalid syntax 请按任意键继续. . . 系统找不到指定的路径。 请按任意键继续. . . 来源: https://blog.csdn.net/weixin_43792309/article/details/98884868

How to make Notepad to save text in UTF-8 without BOM?

时光怂恿深爱的人放手 提交于 2019-11-26 12:28:41
I have a CSV file with special accents and saving it in Notepad by selecting UTF-8 encoding. When I read the file using Java, it reads the BOM characters too. So I want to save this file in UTF-8 format without appending a BOM initially in Notepad. Otherwise is there any built-in class in Java that eliminates the BOM characters that present at beginning, when reading the contents in a file? korifey Use Notepad++ - free and much better than Notepad. It will help to save text without BOM using Enconding > Encode in UTF-8 without BOM : When I encountered this problem in Java, I haven't found any

ubuntu18.4 与pc notepad++ 使用nppfftp

ぃ、小莉子 提交于 2019-11-26 01:24:35
首先在linux上部署 vsftpd 安装过程可能有一些问题。我之前的一个文章有所说明。 然后更改配置文件 vsftpd.conf 最简单是开启匿名登录,有时候还要开启root登录,在user文件里面(禁止登陆)。文件路径要更改好,比如匿名的地址或者本地地址。最后在虚拟机里面测试 127.0.0.1 ,如果文件正产,再在pc浏览器输入 虚拟机ip,使用ifconfig可以看到虚拟机的ip。最后如果使用匿名并且不启用ssh加密,就不需要后使用sftp,没有加密就是用ftp,端口使用21。 匿名登录,就是不需要账号,这个时候账号使用 anoonymous 来源: https://www.cnblogs.com/polar-lights/p/11932922.html