notepad

How do I use Notepad++ (or other) with msysgit?

匿名 (未验证) 提交于 2019-12-03 10:24:21
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How do I use Notepad++ (or any other editor besides vim) with msysgit? I tried all of the following to no avail: git config --global core.editor C:\Program Files\Notepad++\notepad++.exe git config --global core.editor "C:\Program Files\Notepad++\notepad++.exe" git config --global core.editor C:/Program Files/Notepad++/notepad++.exe git config --global core.editor C:\\Program Files\\Notepad++\\notepad++.exe 回答1: Update 2010-2011: zumalifeguard 's solution (upvoted) is simpler than the original one, as it doesn't need anymore a shell wrapper

Why do Netbeans, Aptana Studio and Komodo Edit all not save in UTF-8?

匿名 (未验证) 提交于 2019-12-03 10:24:21
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I'm getting back into development and want to find a good editor for HTML5/JQuery. Being able to save files in UTF-8 is important. However, although I set my project in NetBeans 7.0 to encode in UTF-8, when I create a file in the project, then look at it in Notepad++, the file is encoded in ANSI and I have to manually set the encoding to UTF-8: In Aptana Studio 3 I set the workspace to UTF-8 encoding, and my project inherits from that, but when I create a file in the project and look at it in Notepad++, it is encoded in ANSI and I have to

Notepad++ Function list for SQL

匿名 (未验证) 提交于 2019-12-03 10:10:24
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: quick question .. I'm trying to get the function list option in Notepad++ going ... Now, I found this thread: Notepad++ Function List for PL/SQL which helped get me started, however, I'm still struggling with something, and I can't seem to wrap my monkey-brain around it. It'll be this section I need to focus: <function mainExpr="^[\t ]*(FUNCTION|PROCEDURE)[\s]*[\w]*[\s]*(\(|IS|AS)*" displayMode="$functionName"> <functionName> <nameExpr expr="[\w]+[\s]*(\(|IS|AS)"/> </functionName> </function> That works perfectly fine .. so far. However, I

Notepad++ doesn&#039;t bookmark all marked lines

匿名 (未验证) 提交于 2019-12-03 09:02:45
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I want to filter everything from a log that belongs to a particular user. With the following pattern I can match everything that I am looking for, but when I ask Notepad++ to bookmark these line so I can copy them something stranges happens. ([^\n]+)userB(.+?)(?=([0-9]{4}-[0-9]{2}-[0-9]{2})) In front of line 2 and 8 I see a bookmark icon, but the lines: 3,4,5 and 9,10,11 are missing a icon altough they belong to the highlighted text. Why does Notepad++ highlight the text, but doesn't place the bookmark correctly? And more important how can I

Notepad++ color highlight with their value

匿名 (未验证) 提交于 2019-12-03 08:48:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Last night, last usage of Notepad++, color codes backgrounds were highlighted with their value like below. But now, background colors are not shown like this. I did not find settings. Please could you help me, how can I set the settings like first picture? 回答1: It's Notepad # ("sharp"). For some reason it can't be "validated" and is disabled after the update. You can go to the link below or download it directly from the Plugin Manager withing N++. Link to Notepad# Also, Try "Quick Color Picker for Notepad++". You double-click on the hex

Visual Studio/Notepad++: Highlight repeat occurences of selection text?

匿名 (未验证) 提交于 2019-12-03 08:48:34
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I use Notepad++ for all my note-taking, copying and pasting, rapid prototyping, etc. It's freaking awesome. (Just wish it had some cloud storage instead! That's another topic though.) Now, in Notepad++, when I have a script like that below, and double-click "foobar" to select and highlight it, everywhere else "foobar" appears, it's also highlighted: function foobar () { var _foobar = "foobar" ; return _foobar ; } Is there any way to get this in Visual Studio 2010? It's more a functional than stylistic feature, programmatically, I

Refresh document in notepad++

匿名 (未验证) 提交于 2019-12-03 08:33:39
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: I have a php script running which writes to a logfile. I opened the logfile in Notepad++ to see any new content. But i noticed that the content is only refreshing after Notepad++ looses the focus and receives the focus again. Is there a way to refresh the page manually just like a page refresh with F5 on webbrowsers, or even better, automatically refresh? 回答1: Yes, the Reload from Disk feature is built-in. It's not mapped to any keyboard shortcut, though, so you will have to do it yourself: Settings -> Shortcut mapper then choose Modify and

notepad++ mark style with macro

匿名 (未验证) 提交于 2019-12-03 08:28:06
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: One of my favorite feature of Notepad++ is marking a specific word/characters with style. However, whenever I want to mark, I have to manually select that word and mark through a context menu. Instead, since the word that I usually mark is often same and the number of words is limited, is it possible to write a macro - like mark 'AAA' or mark '123' - and assign a shortcut? This would save a lot of time. 回答1: A much better approach would be to use Notepad++'s "Define your language" feature available in the menu under Language-

Replacement for SimpleCursorAdapter?

安稳与你 提交于 2019-12-03 07:27:12
I'm looking at the Notepad Tutorial on the Android developer's site and noticed that SimpleCursorAdaptor is deprecated. The new constructor public SimpleCursorAdapter (Context context, int layout, Cursor c, String[] from, int[] to, int flags) is only available in API 11. The suggested alternative is to use LoadManager with a CursorLoader , but these also require API 11. So what can replace SimpleCursorAdapter in API 10, i.e. how should Step 12 of the tutorial be done using a non-deprecated method? Eric Levine Please note that the deprecation does not apply to all of SimpleCursorAdapter , just

Notepad++: Capitalize first letter by Shortcut?

点点圈 提交于 2019-12-03 03:45:37
问题 I've got a huge list of words (every single word in one line in a txt file) and certain words need to get capitalized manually (e.g. by hand), so I was looking if there's a shortcut in notepad++ (my editor currently) to automatically capitalize the first letter of a line but couldnt find one. Is there none? If not, can you advise me an alternative windows program to quickly do this by using a simple shortcut (so I can go through with the arrow-down key and use the shortcut whenever needed on