EzDevInfo.com

notepad++ interview questions

Top notepad++ frequently asked interview questions

How can one turn off spell checking in Notepad++?

Notepad++ recently added built-in support for spell checking, and it is enabled by default.

Where can I turn it off?


Source: (StackOverflow)

How can I tell Notepad++ to always use a particular language with a particular file extension

I've associated .xul with Notepad++ so if I double-click on a .xul file, it will open in Notepad++. But Notepad++ doesn't know that XUL is just a particular type of XML, so I then have to manually click on "Language > XML" to get XML syntax highlighting. Is there a way that I can tell it: "every time you open a file with the extension .xul, automatically switch to the XML language"?


Source: (StackOverflow)

Advertisements

Assigning custom extensions to a language's syntax highlighting in Notepad++

In the current version of Notepad++ opening .sql files results in Notepad applying SQL syntax highlighting to it. I'd like Notepad++ to do the same for other extensions as well, is there some setting where I can define this?


Source: (StackOverflow)

Disable auto-update in Notepad++

Is it possible to configure Notepad++ to stop checking for new versions each time it is run?

Every time Nodepad++ is started a dialog pops with:

An update package is available, do you want to download it?


Source: (StackOverflow)

Something took control over Notepad++? [duplicate]

This question already has an answer here:

So I was using Notepad++ today and then all of a sudden I couldn't move my mouse or keyboard but there was this message that was being typed out in a new page on Notepad, it was about the freedom of speech then it said Je Suis Charlie.

Do I have a virus on my system or malware that is allowing someone to control the computer? I'm really scared because I had no idea what was going on.


Source: (StackOverflow)

Switching to tabs to the right or left of the current tab in Notepad++

How can I switch to the document to the left or right of the current document in Notepad++? For example, if I have documents A, B, and C open, and I'm currently editing B, I would like a shortcut to be able to switch to A (Alt-LeftArrow or Ctrl-Pageup) or C (Alt-RightArrow or Ctrl-PageDown). Is this possible? All I've found is a way to switch to next or previous documents based on the "history" of when the document was last opened (Ctrl-Tab and Ctrl-Shift-Tab), which are useful, but not what I want.


Source: (StackOverflow)

How can the font size be changed in Notepad++?

How can the font size be changed in Notepad++?

I just downloaded and installed Notepad++ v5.4.5 (I have been using UltraEdit for the last 11.5 years) and can not find a menu command for changing the screen font. I want to change it to Lucida Console 18pt.


Other notes: to download Notepad++ go directly to the SourceForce download page for Notepad++.

(Note: Another question, How do I change Notepad++'s console font?, deals with changing the font (not the font size). For instance, answers to that question that only talks about font size are being downvoted.)


Source: (StackOverflow)

Sorting lines in Notepad++ without the TextFx plugin [duplicate]

This question already has an answer here:

The current version of Notepad++ (at the time of this writing) is 6.6.3. Version 6.5.2 is the first that introduced a native (without a plugin) sorting function. At least, that's what they claim; even though we're nine releases after version 6.5.2, I have found nothing about this feature:

  • There is no sign of it in the menu (or I am blind),
  • There isn't even a word in Notepad++ documentation (online help).

Everything I read around the Internet (including this answer) still talks about sorting lines using the TextFx plugin. There isn't anything about a native (QuickSort-based) function.

So: How do I sort lines in Notepad++ without using the TextFx plugin?

Edit: In my opinion this question is not a duplicate of this question, because an answer to an exact question, I'm asking here (how to sort without TextFx plugin) was given over a month later after I have asked this question. I wasn't able to know that answer, when asking my question.


Source: (StackOverflow)

ShellExecute failed (2) error for Notepad++ on Windows 7 64bit

Windows 7 Error: Is this command correct?

ShellExecute failed (2): Is this command correct? "C:\Program Files (x86)\Notepad++\notepad++.exe [location of file to edit]

I seem to have some issue with RIGHT CLICK > Edit with Notepad ++. This is on a fresh install of Microsoft Windows 7 Professional 64-Bit.

I can't seem to find any notice of this error? Or is this just some Windows 7 config issue?


Source: (StackOverflow)

How to disable links in Notepad++?

Ever since a few months ago, Notepad++ now automatically makes clickable links whenever you type a URL. I hate it! It makes it much more difficult to edit html documents because instead of clicking in the middle of the text url to change it, it instead opens the link in the web browser.

How can I permanently disable this awful feature?


Source: (StackOverflow)

How do I get Notepad++ to associate a file type with a language? [duplicate]

I have associated .wxs files with Notepad++. So far so good. However, it doesn't remember that it should use XML syntax highlighting. How do I associate a file-type with a Language?


Source: (StackOverflow)

How to delete all lines in Notepad++ except lines containing a word I need?

I have a text file.

I want to keep lines started with <Path>, and delete all the other lines.

How can I do it?


Source: (StackOverflow)

How to automatically reload modified files in Notepad++

How can automatically reload modified files in Notepad++? The confirmation step is annoying, and is completely unnecessary in some situations.


Source: (StackOverflow)

Notepad++ find and replace string with a new-line

Consider the scenario where you have a specific string that you want to find-and-replace. You want to replace it with a new string that contains a newline character (or character sequence).

abc123 xyz456-blah
fsafd23 xyz456-green
89hjkf23 xyz456-red
afdsa23 xyz456-yellow
abaac123 xyz456-orange

In the scenario above, I'd like to find " xyz" and replace the space with a carriage return/newline.

The results would look like:

abc123
xyz456-blah
fsafd23
xyz456-green
89hjkf23
xyz456-red
   ︙

etc...

Question: How would you most easily achieve this using Notepad++? Are there any other tools that you'd suggest to easily perform this command?


Source: (StackOverflow)

Vertical line for the the right margin in Notepad++

Does anyone know if Notepad++ can display a vertical line on the right margin to indicated that the text will or will not fit on a printed page? I have looked but I cannot find it. Word wrap does work, but it wraps by my screen width, not by the width of a printed page.


Source: (StackOverflow)