notepad++

Notepad++ 6.1.x and HTMLTidy

心已入冬 提交于 2019-12-30 06:09:25
问题 Has someone got Notepad 6.1.x and HTMLTidy working and can tell me, where to download the dll / config. Using: Notepad++ 6.1.4 Win 7 x86 Yes, this Notepad++ / TidyHTML question has been already asked, but it either refers to outdated URLs, does not work with newer Notepad++ 6.1. versions , or does not work at all. SO References: Format HTML document Notepad++ HTML Tidy Notepad++ HTML Tidy Unknown Exception Windows 7 x64 Here is what I did: Installed TextFx plugin as of Plugins / PluginManager

How to create a user-defined language in Notepad++ based on an existing language?

老子叫甜甜 提交于 2019-12-30 05:59:57
问题 I frequently work with files that have an extension of .ebs. This is a language based on vbscript with a number of new keywords. Currently I set notepad++ to just use the built-in vb highlighting for files with extension .vbs. Works ok, but the custom keywords do not get highlighted. I would like to create a user-defined language for the .ebs files but base it off of the built-in vb language. Is this possible? I searched but the built-in languages do not have an associated .xml file to copy

Use IDLE to launch script using the full file path

不问归期 提交于 2019-12-30 05:26:08
问题 I'm currently using Notepad++ to edit my python script, and I would like to be able to use a shortcut to make my script run in IDLE. Currently, I have: cd C:\Python32 pythonw.exe Lib\idlelib\idle.pyw -c "$(FULL_CURRENT_PATH)" When I try to run it, I get a Syntax error on the : in C:\Users\... However, if I omit -c , IDLE properly opens up the file in it's editor and then I am able to run it. I feel like I'm missing something simple, can anyone help me out? 回答1: Argument -c used to start the

How do I read a text file of about 2 GB? [duplicate]

岁酱吖の 提交于 2019-12-29 02:21:14
问题 This question already has answers here : Text editor to open big (giant, huge, large) text files [closed] (2 answers) Closed 4 years ago . I have a .txt file whose memory is more than 2 GB. The problem is I cannot open it with Notepad, Notepad++ or any other editor programs. Any solutions? 回答1: Try Glogg. the fast, smart log explorer. I have opened log file of size around 2 GB , and the search is also very fast . 回答2: WordPad will open any text file no matter the size. However, it has limited

What is “ANSI as UTF-8” and how can I make fputcsv() generate UTF-8 w/BOM?

落爺英雄遲暮 提交于 2019-12-28 11:46:33
问题 I made a PHP script that generates CSV files that were previously generated by another process. And then, the CSV files have to be imported by yet another process. The import of the old CSV files works fine, but but when importing the new CSV files there are issues with special characters. When I open old CSVs with Notepad++, it says the encoding is UTF-8, and when I open the new CSVs with it, it says their encoding is 'ANSI as UTF-8'. What's the difference of the two? And how can I make

Removing empty lines in Notepad++

纵然是瞬间 提交于 2019-12-28 01:39:32
问题 How can I replace empty lines in Notepad++? I tried a find and replace with the empty lines in the find, and nothing in the replace, but it did not work; it probably needs regex. 回答1: You need something like a regular expression. You have to be in Extended mode If you want all the lines to end up on a single line use \r\n . If you want to simply remove empty lines, use \n\r as @Link originally suggested. Replace either expression with nothing. 回答2: There is now a built-in way to do this as of

Remove a BOM character in a file

不问归期 提交于 2019-12-28 01:27:06
问题 I have a BOM character in my html file. I want to remove It. I have searched a lot and used a lot of scripts and etc... . But no one worked. I have downloaded notepad++ too, but there is not encoding "UTF8 without BOM" in its encoding menu. How can I delete that BOM character? thanks. 回答1: If you look in the same menu. Click "Convert to UTF-8." 回答2: You can solve the problem using vim, where you can get easily with MinGW-w64 (If you have installed Git it comes along) or Cygwin. So, the key is

Remove a BOM character in a file

本秂侑毒 提交于 2019-12-28 01:26:39
问题 I have a BOM character in my html file. I want to remove It. I have searched a lot and used a lot of scripts and etc... . But no one worked. I have downloaded notepad++ too, but there is not encoding "UTF8 without BOM" in its encoding menu. How can I delete that BOM character? thanks. 回答1: If you look in the same menu. Click "Convert to UTF-8." 回答2: You can solve the problem using vim, where you can get easily with MinGW-w64 (If you have installed Git it comes along) or Cygwin. So, the key is

Capturing a specific repeated group

匆匆过客 提交于 2019-12-26 06:19:08
问题 i'm trying to capture a group (in notepad++) of digits. Example: StartOfLineCharacters[0..4 repeating groups of 32 digits and spaces] How can i find all repeating groups starting with 0000 whatever the position of the group Example: StartOfLineCharacters 0001 1234567890123456789012345678 0000 123456890123456789012345678 0100 1234567890123456789012345678 0000 1234567890123456789012345678 in this specific example I have 4 groups (groups starting in bold) where 2 groups start with 0000. It could

Capturing a specific repeated group

随声附和 提交于 2019-12-26 06:18:45
问题 i'm trying to capture a group (in notepad++) of digits. Example: StartOfLineCharacters[0..4 repeating groups of 32 digits and spaces] How can i find all repeating groups starting with 0000 whatever the position of the group Example: StartOfLineCharacters 0001 1234567890123456789012345678 0000 123456890123456789012345678 0100 1234567890123456789012345678 0000 1234567890123456789012345678 in this specific example I have 4 groups (groups starting in bold) where 2 groups start with 0000. It could