notepad

notepad++ replace space and , with ,

匿名 (未验证) 提交于 2019-12-03 03:09:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: i am completely bad with replace option in notepad++ but i use it to edit my txt files and some of the books for my kindle in txt format. The problem is, in some lines i've got this problem: example Emily was a pretty girl , but noone realy liked her. I would be realy greatfull is someone can help me to replace this space-newline-come to come so the text will look like this Emily was a pretty girl, but noone realy liked her. Thank you! 回答1: Try to replace this regex: \s+, With this: , 回答2: Another option you could do here is use a Negative

Copy Notepad++ text with formatting?

匿名 (未验证) 提交于 2019-12-03 03:06:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I'm using Notepad++ to write code. How do I copy code in Notepad++ along with its formatting to paste into Microsoft Word? (i.e. syntax highlights, etc) 回答1: Here is an image from notepad++ when you select text to copy as html. and how the formatted text looks like after pasting it in OneNote (similar to any other app that supports "Paste Special"): 回答2: Taken from here : You can use Notepad++ to accomplish this in three ways. Just so you know, Notepad++ is a more advanced version of Notepad, which supports syntax highlighting of

Notepad++ NppFTP plugin fails to connect via SFTP

匿名 (未验证) 提交于 2019-12-03 02:47:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: So, i've been having this problem for a while now. Notepad++ NppFTP plugin fails to connect to server via SFTP with "[SFTP] Error during authentication: Invalid private key file". But the key file is 100% correct and i'm connecting fine with WinSCP. Any solutions? 回答1: The solution for me was to use puttygen to export a .ppk version of my private key to OpenSSH as follows: Open PuttyGen Menu: Conversion -> Export OpenSSH key Save your new key (don't forget to make it clear it is openssh) This was weird seeing as my .ppk was converted from a

Notepad++ Multi editing

匿名 (未验证) 提交于 2019-12-03 02:44:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How can I have multiple cursors in Notepad++? I will have a couple of tab delimited values . I need to write a query for all of these values. For example, if I get an Excel file with values like this: 1234 xyz pqr 2345 sdf kkk ... I want to copy this whole piece of data into Notepad++ and write the query, inserting all the values at once. Like this: Insert into tbl (1234, xyz) where clm = 'pqr' Insert into tbl (2345, sdf) where clm = 'kkk' ... I used to do it with my previous text editor Ultraedit. Can this be done using Notepad++? 回答1: Yes:

Deleting All Lines In Notepad++ Except Lines With :00 :05 :10 :15: 20: 25 :30 :35 :40 :45 :50 :55 :60

匿名 (未验证) 提交于 2019-12-03 02:38:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How do I perform the action in Notepad++ of deleting all lines except lines with different terms? 回答1: Open the search dialogue and select the Mark tab. In the Find what field enter a search string to find the lines to be kept. The question is not really clear, should those strings be at the start of the lines or the end or anywhere in the lines. Enter either ^:(([0-5][05])|60) or ^:(([0-5][05])|60)$ or :(([0-5][05])|60) respectively. Make sure that Bookmark line and Regular expression are selected, then click Mark all . Next visit the menu

How to compile/execute C++ code from within Notepad++

匿名 (未验证) 提交于 2019-12-03 02:31:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I was reading http://daleswanson.blogspot.com/2012/07/how-to-compile-c-code-in-notepad-with.html and decided to try that, so that I can continue to write code in Notepad++ and have a shorter compile/run cycle. When I tried to enter compilation/run code into NppExec, it's not working. The code I have now is: npp_save cd "$(C:\Users\Bart\Desktop\new delete me)" g++ "$(test.cpp)" -o $(testme.exe) -march=native -O3 NPP_RUN $(testme.exe) That was based off the first link I gave: npp_save cd "$(CURRENT_DIRECTORY)" g++ "$(FILE_NAME)" -o $(NAME_PART

Formatting code in Notepad++

匿名 (未验证) 提交于 2019-12-03 02:12:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Is there a keyboard shortcut to format code in Notepad++ ? I'm mainly working with HTML, CSS and Python code. For example: //-->

Formatting code in Notepad++

匿名 (未验证) 提交于 2019-12-03 02:11:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Is there a keyboard shortcut to format code in Notepad++ ? I'm mainly working with HTML, CSS and Python code. For example: //-->

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

匿名 (未验证) 提交于 2019-12-03 02:11:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: 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? 回答1: 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

Does notepad++ show all hidden characters?

匿名 (未验证) 提交于 2019-12-03 02:08:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: In notepad++ I have set "replace tab with 2 spaces". When coding in python I copy-pasted some code from the web and it appeared indented correctly. But running the code resulted in indentation errors, which I solved in the end by removing all "visible" spaces at line beginnings and inserting the same amount of spaces again. Could it be possible that scintilla based notepad++ does not show all special chars but displays them as spaces? Is there a setting to fix this? 回答1: Yes it does. The way to enable this depends on your version of Notepad+