• 0 Votes
    4 Posts
    5k Views
    Daniel MercadoD

    Nope.

    “Final All in Current Document” is not in the list of items which can be mapped to a shortcut key sequence.

  • Auto indent

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Mandar SantM

    @guy038 but how for html and css etc…

  • How are print margins set? Can rulers be set?

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Insertion of LineNumber

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Jim DaileyJ

    @Philippe-Giraud Not sure exactly what you want to do.

    If you just want to see line numbers, then use the menus: Settings–>Preferences–>Editing and check the Display line number checkbox.

    If you want to actually insert line numbers into a file, then you can do it using Edit–>Column Editor…. Begin by moving the cursor to the very beginning of the file, then press Alt-C (or use the menu entry Edit–>Column Editor…), select the Number to Insert button, then fill in the options as you desire. When you press OK, the numbers will be inserted into the file as text. That is, this:

    =============================================================================== TOPIC: HOTKEYS (INCLUDING MOUSE-RELATED): =============================================================================== Tagging: (needs TagsJump) Find Definition -- <Alt>+<Down Arrow> Return from Definition -- <Alt>+<Up Arrow> Generate tags file -- <Alt>+t

    will change to something like this:

    01=============================================================================== 02TOPIC: HOTKEYS (INCLUDING MOUSE-RELATED): 03=============================================================================== 04 05Tagging: (needs TagsJump) 06 07 Find Definition -- <Alt>+<Down Arrow> 08 Return from Definition -- <Alt>+<Up Arrow> 09 Generate tags file -- <Alt>+t

    Regards,
    Jim

  • Bug Opening TXT File on a Mapped Drive?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Greg BoiceG

    Sorry… when I said Mapped Drive, I should have said this is done with the SUBST command and not a network mapping. Thanx.

  • We need smarter split screen!

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • A liittle problem

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Can't install on Windows 10? Any ideas?

    3
    0 Votes
    3 Posts
    6k Views
    Mikan MikanM

    If you have windows 10 OS, first download software, then right click the file and select option Run as Administrator .

  • code folding with multi-part keywords

    4
    0 Votes
    4 Posts
    3k Views
    Nicolas-N

    Ok, I guess really no one knows how to fix/improve that ?

  • How to set Python as your language

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    Settings > Preferences > New Document > Default Language

  • 0 Votes
    3 Posts
    2k Views
    Tim BrutonT

    Thank you for introducing me to that plugin, I never knew that thing existed but it has already changed my life :]

  • Disable highlighting of matching parentheses

    Locked
    3
    0 Votes
    3 Posts
    9k Views
    SullivanS

    @guy038 Thanks! Didn’t realize it was that simple.

  • Notepad++ crashes, file is lost

    Locked
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Delete Auto-Inserted Character on Delete of Typed Character

    5
    1 Votes
    5 Posts
    4k Views
    John SparkJ

    bump this !
    it’s wanted feature damn it

  • View of character "Selection" counter is obscured

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    Kasper GraversenK

    Please provide a screenshot and a version number of notepad++ - it looks great on my v6.9.2 with plenty of digits displaying

  • Text Field Seperator

    7
    0 Votes
    7 Posts
    45k Views
    dailD

    Nothing exists (existed?) that does it. However I wrote a quick piece of Lua to do it. I can’t say the columns are that pretty but this is as close as you will probably get to indicating columns based on width.

    Download the LuaScript plugin Extract the zip and copy the DLL to your plugins directory Select Plugins > LuaScript > Edit Startup Script Paste the chunk of code (See end of this post) Edit the first few lines of of the code to do what you want (you’ll probably just need to set the file extensions you want) Save and restart Notepad++ Open one of your files

    Again, it isn’t the prettiest but there’s really nothing else I know of that will do what you want. Adjusting colors may help. For example…

    The code…

    -- Configure things here... local registeredExtensions = {".csv", ".xyz"} local columWidth = 8 local col1Color = 0xd0d0d0 local col2Color = 0xaaaaaa local field_indic = {12, 13} -- not sure what one is best to use but this works local function setupEditor(e) e.IndicStyle[field_indic[1]] = INDIC_STRAIGHTBOX e.IndicStyle[field_indic[2]] = INDIC_STRAIGHTBOX e.IndicUnder[field_indic[1]] = true e.IndicUnder[field_indic[2]] = true e.IndicAlpha[field_indic[1]] = 255 e.IndicAlpha[field_indic[2]] = 255 e.IndicFore[field_indic[1]] = col1Color -- Color of first column e.IndicFore[field_indic[2]] = col2Color -- Color of second column end setupEditor(editor1) setupEditor(editor2) function highlightColumns() local function getLineRangeOnScreen() local firstLine = editor.FirstVisibleLine local lastLine = firstLine + editor.LinesOnScreen return firstLine, lastLine end local function getRangeOnScreen() local firstLine, lastLine = getLineRangeOnScreen() local startPos = editor:PositionFromLine(firstLine) local endPos = editor.LineEndPosition[lastLine] return startPos, endPos end local function clearIndicatorOnScreen() local s, e = getRangeOnScreen() editor:IndicatorClearRange(s, e - s) end -- Clear everything editor.IndicatorCurrent = field_indic[1] clearIndicatorOnScreen() editor.IndicatorCurrent = field_indic[2] clearIndicatorOnScreen() local s, e = getLineRangeOnScreen() for i=s,e do local index = 0 local lineStart = editor:PositionFromLine(i) local lineEnd = editor.LineEndPosition[i] for p=0,editor:LineLength(i),columWidth do editor.IndicatorCurrent = field_indic[(index % 2) + 1] local col1 = editor:FindColumn(i, p) local col2 = editor:FindColumn(i, p + columWidth) editor:IndicatorFillRange(col1, col2 - col1) index = index + 1 end end end npp.AddEventHandler("OnSwitchFile", function(filename, bufferid) -- Always remove it npp.RemoveEventHandler("OnUpdateUI", highlightColumns) -- Check to see if the extension exists for _,v in pairs(registeredExtensions) do if v == npp:GetExtPart() then npp.AddEventHandler("OnUpdateUI", highlightColumns) return end end end)
  • Using Notepad++ zip package

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    Navee Sunny SharmaN

    Hi @kawinga

    Thank you for the reply.

    I just wanted confirmation before I tried it, I didn’t want to get into trouble whilst doing so.

    Kind regards,

    Nav.

  • How make NPP opens .json as JS, not JSON?

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    kawingaK

    Hi totalamd,

    check out %programfiles(x86)%\Notepad++\langs.model.xml.

    You will find a Section Language name=“json”.

    Kind regards,

    Robert

  • 1 Votes
    3 Posts
    3k Views
    gerdb42G

    CTRL-ALT-SHIFT-Rand CTRL-ALT-SHIFT-C are defined by the XML Tools plugin to do XML(!) commenting and uncommenting.

    Unfortunately CTRL-ALT-SHIFT-R is also bound to the run command “Launch in Chrome” which takes precedence over the plugin-command.

    Also unfortunately NPP does not detect and warn about multiple shortcut assignments. So you need to check your shortcut settings and adjust them to your liking.

  • How to change default font settings on pane preview

    Locked
    2
    0 Votes
    2 Posts
    2k Views
    dailD

    No clue what you are referring to. Try showing a screenshot.