notepad++

Notepad++ Remove line with specific word in multiple files within a directory

谁说胖子不能爱 提交于 2020-01-24 17:25:06
问题 I am trying to REMOVE lines in a MULTIPLE text files with a particular word. Is this possible in Notepad++? At the moment, I can replace those lines with a blank line. However how do I remove them in multiple files within a directory? I tried the "Mark" method whereby we can remove lines however it seems only possible for single file. Thanks! 回答1: Go to Search > Find in Files menu (shortcut CTRL + Shift + F ) and do the following: Find what: <Brand>Acer<\/Brand>\r?\n? Replace: [leave empty!]

disable closing tags in notepad++

◇◆丶佛笑我妖孽 提交于 2020-01-24 12:17:06
问题 How do you disable closing tags in Notepad++? For example, if I type <html> , I don't want the program to add </html> after I type it. The same goes for any other tags. I have already double checked the Preferences -> Auto-Completion, and made sure it is all unchecked. 回答1: Go to: Settings -> Preferences -> Auto Completition -> Auto Insert Uncheck the option html/xml close tag 来源: https://stackoverflow.com/questions/35513546/disable-closing-tags-in-notepad

How to launch and edit a file from Git using Notepad++?

我们两清 提交于 2020-01-24 05:47:34
问题 I have set up Notepad++ as my default editor as in this topic: How can I set up an editor to work with Git on Windows? with this command: git config --global core.editor "'C:/Program Files/Notepad++/notepad++.exe' -multiInst -notabbar -nosession -noPlugin" Now, I'm working through a Ruby on Rails tutorial. On one step, the author uses the command: $mate README.markdown to launch his TextMate editor and edit the readme file. My question is, now that I have set up Notepad++ as my default editor

notepad++ nppgtag plugin shortcut

浪子不回头ぞ 提交于 2020-01-24 00:27:35
问题 I have installed npp plugins from sourceforge nppgtags on latest notepad++ version but i am not able to effectively use that. I am facing these problem Is there any shortcut for nppgtags plugin of notepad to search references, create DB, search definition and other command? On the sourceforge page the image of the plugin have 3 windows nppgtags doc-switcher tag-view but i am only getting nppgtags window. am i missing something here or i need to install some other plugin for effectively using

Regex to replace spaces with tabs at the start of the line

醉酒当歌 提交于 2020-01-23 11:04:46
问题 I'd like to be able to fix a Text File's tabs/spaces indentation. Currently each line has spaces in random locations for some reason. For example: space tab if -> tab if space tab space tab if -> tab tab if tab tab space if -> tab tab if etc. It should not affect anything after the first word, so only the indentation will be affected: So tab space if space boolean should be changed to tab if space boolean not tab if tab boolean . The regex command should keep the correct number of tabs and

Remove Line numbers from Notepad++ file

吃可爱长大的小学妹 提交于 2020-01-23 08:06:05
问题 I have received a very long file. It has 1000+ lines of SQL code. Each line start with line number. 14 PROCEDURE sp_processRuleset(pop_id IN NUMBER); 15 16 -- clear procedure for preview mode to clean crom_population_member_temp table and global variables 17 PROCEDURE sp_commit; -- 28-Oct-09 J.Luo 18 19 -- The rule Set string for the Derived Population Member Preview 20 -- The preview mode will set gv_context_ruleSet by setContext_ruleSet, 21 -- sp_processRuleset uses gv_context_ruleSet to

How can I use bullets and Numbering in Notepad++? [closed]

╄→гoц情女王★ 提交于 2020-01-22 17:31:47
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . Is there a way I can have bullets and numbering in Notepadd++ for lists. 回答1: Notepad++ is just a text editor. As long as no-one implements a custom plugin that takes advantage of special unicode characters looking like bullets, you probably need to stick with "-" and "1)" kind of syntax. 回答2: Notepad++ doesn't

Plugin for NotePad++ for rich text?

一曲冷凌霜 提交于 2020-01-22 13:18:11
问题 I like Notepad++. But sometimes I need some words set in bold or cursive, change font size ets. Does it possible in Notepad++? Or exists some plugin? 回答1: NP++ itself doesn't allow rich text, and most likely no plugin could add this functionality. http://sourceforge.net/projects/notepad-plus/forums/forum/331753/topic/3445473 回答2: We can highlight the Text. Right click the Text Style Token->Using 1st Style .By using this we can highlight Text.There will be upto 5 style. 回答3: Long time has

Notepad++ and regex with removal of unmatching sections

做~自己de王妃 提交于 2020-01-22 03:05:24
问题 I'm using this regex string I've crafted... ['"]{1}\w+@\w+\.{1}\w\w\w?['"] To hunt for email addresses contained in quotes in an old badly formatted legacy file. Example: ADF325@#%jkdaf-@#%j-afd(#$w52'leroyjenkins@myguild.edu'@#%kladfjkla-235dsaf-'thisemail@example.com'2l35jk2dz-dl1jkozf-afajelj'gooselick@somebodyspastries.co'l2#%Jk23l5jlafafljewo8972509357 j2k3l5jadfjeljwfoobar'foobar@barfoo.foo'jk23j-zv8902354jlfa ('352lj53k2ljkumquat'fakeemail@realemail.wtf')lajflsdf etc. The regex is

Tweaking NppAutoIndent, or is there a good customizable alternative?

江枫思渺然 提交于 2020-01-17 02:39:12
问题 I recently started using the NppAutoIndent plugin for Notepad++, and have been fairly pleased with the Smart Indent mode, but I find its lack of customizable preferences to be annoying as there are a few behaviors in Smart Indent mode that I'd like to tweak/modify. I thought about modifying the plugin's source code and recompiling it to try to get the behavior I want, but I have Visual Studio 2010 and the project for the plugin seems to be a VS 2003 project, and as I'm a complete beginner to