• Highlight a text row

    3
    0 Votes
    3 Posts
    390 Views
    Alan KilbornA

    @Peter-Wokke

    and a save option

    As to saving, there’s a method here, although it is probably not for noobs.

  • NPP plugin

    4
    0 Votes
    4 Posts
    965 Views
    rinku singhR

    @ajay-gohil said:

    How to developed a NPP plugin with example

    it’s depend on what kind of language (c# , c++ , pascal )you are knows

    hello word plugin template using Lazarus is here

  • 0 Votes
    3 Posts
    366 Views
    Pregnant SausageP

    Thank you Alan

  • BigFiles Plugin

    5
    1 Votes
    5 Posts
    4k Views
    Claudio OlmiC

    @pnedev and @dinkumoil
    Thank you both for your help, it is now working beautifully as expected. I have removed the unnecessary hToolBarIcon and converted the icons to BMP format.

  • Suggestion: Batch Replace on Text Editor (this is the future)

    3
    1 Votes
    3 Posts
    601 Views
    Michael VincentM

    I would script this from the command line probably in Perl - in fact, I already have.

  • Files reopen on start with external drives

    10
    0 Votes
    10 Posts
    13k Views
    gstaviG

    @justdudeone
    I think you should read @Ekopalypse arguments carefully.

    But let me try to give you a specific example: I fetch everyday a nightly log from our build server named build_<date>.log. E.g. build_18082019.log. I open it with Notepad++ and observe it. I close Notepad++. I delete the file since I no longer need it locally.

    With your proposed solution within a year Notepad++ will remember within its auto-session 365 files that will never reappear again and spend considerable amount of time trying to open each of these files. I will not be aware of this list of files that Notepad++ tries to open in the background (other then noticing that Notepad++ becomes SLOW). The example could be modified to using files over network shares which can be even more catastrophic due to occasional VERY long network timeouts.

    Try to be a little less egocentric and realize that Notepad++ needs to balance different requirements of thousands of usage patterns.

  • Function List Bug

    2
    0 Votes
    2 Posts
    441 Views
  • Line Change Indicator Plugin

    35
    0 Votes
    35 Posts
    5k Views
    Rahul JhaR

    @Alan-Kilborn said:

    Maybe @Ekopalypse 's suggestion to create the .ini file will go somewhere if the OP is trying it?

    Created LocationNavigate.ini in c:\notepad++\plugins\config as per Ekopalypse’s post. No luck.

  • C# Plugin

    4
    0 Votes
    4 Posts
    2k Views
    Jared A. BarneckJ

    It isn’t for C#, but just going to be written in C#. I am a C# developer, though I can code in php, java, python, are various other languages, I would love to code in the language I use daily.

    I have a few ideas for plugins, such as section finder in np++. https://github.com/rhyous/SectionFinder, which is already written in C#.

  • missing TextFx pugin, developers please take note

    15
    -1 Votes
    15 Posts
    6k Views
    tran vietT

    @chcg many thank

  • shellcheck plugin wanted

    10
    1 Votes
    10 Posts
    5k Views
    Gerhardus ScheltemaG

    NppFTP is a very good tool, but still does not support scp properly, and using public/private key authentication is still a struggle, or at least I cant get it to work. I use it at home for certain servers, but at work I prefer WinSCP and NPP when not using vim.

    I hope this thread will inspire some plugin developer to integrate shellcheck into a plugin, have some kind of line highlighting or popup/tooltip type popup showing the output of shellcheck validation, maybe even a autoreplace text, which needs to be used with care :-)

  • How to get the scintilla view0/view1 HWNDs

    31
    0 Votes
    31 Posts
    6k Views
    EkopalypseE

    @Alan-Kilborn said:

    Maybe worth pointing to that template…

    Thanks, yes of course it is worht ;-) - it is here.

  • Can't reset Number of Columns.

    9
    1 Votes
    9 Posts
    1k Views
    Michael VincentM

    @lawriehodges

    No worries!

  • An how to use cffi and python to build a npp plugin

    1
    1 Votes
    1 Posts
    890 Views
    No one has replied
  • Notepad++ Plugin Development using C#

    3
  • Invoking python script in plugin method

    8
    0 Votes
    8 Posts
    1k Views
    rinku singhR

    @Parth-Kurani said:

    @gurikbal-singh Even when I set useShellExecute to false, the python script is still not being invoked. The txt file that my python script is supposed to generate cannot be found anywhere. Any advice on how to resolve this issue?

    proc.StartInfo.Arguments = string.Concat(progToRun, " ", s)

    try { Process Process = new Process(); string keyValues = currentDirectory() + "\\User_Command_Line_Tools_PATH"; string keyValue = currentDirectory() + "\\GnuWin32\\bin"; string envVar = Process.StartInfo.EnvironmentVariables["path"]; if (envVar != null) { string value = envVar + ";" + keyValue + ";" + keyValues; Process.StartInfo.EnvironmentVariables["path"] = value; } else { Process.StartInfo.EnvironmentVariables.Add("path", keyValue); Process.StartInfo.EnvironmentVariables.Add("path", keyValues); } Process.StartInfo.FileName = windir() + "\\cmd.exe"; Process.StartInfo.Arguments = "/c " + richTextBox1.Text; if (filepath().ToString() == filex().ToString()) { Process.StartInfo.WorkingDirectory = currentDirectory() + "\\GnuWin32\\bin"; } else { Process.StartInfo.WorkingDirectory = path.ToString(); } Process.StartInfo.RedirectStandardError = true; Process.StartInfo.RedirectStandardOutput = true; Process.StartInfo.RedirectStandardInput = true; Process.StartInfo.UseShellExecute = false; Process.StartInfo.CreateNoWindow = true; Process.Start(); string lined = Process.StandardOutput.ReadToEnd(); string line = Process.StandardError.ReadToEnd(); if (String.IsNullOrEmpty(lined)) { richTextBox2.AppendText(line + Environment.NewLine); } if (String.IsNullOrEmpty(line)) { richTextBox2.AppendText(lined + Environment.NewLine); } Process.WaitForExit(); if (checkBox2.Checked == true) { Win32.SendMessage(PluginBase.GetCurrentScintilla(), SciMsg.SCI_SETTEXT, 0, richTextBox2.Text); } } catch (Exception ex) { System.Diagnostics.Debug.Write(ex.Message); }
  • Auto Scroll Enablement during comparison

    2
    0 Votes
    2 Posts
    722 Views
    EkopalypseE

    @Jairam-P-Jidgekar

    Not quiet clear to which auto scroll functionality you refer to as there is a synchronized scroll functionality in npp and there is a plugin called compare which addresses this as well. Which one doesn’t do what you want? Btw. post your debug-info, which can be found under the ? menu (last menu item) if you need additional help.

  • 1 Votes
    3 Posts
    645 Views
    Federico AtristainF

    Most kind. Thank you!

    That’ll work…

  • Upgraded to NPP 7.7 and I cannot use NPP FTP anymore :( can anyone help?

    2
    0 Votes
    2 Posts
    2k Views
    Meta ChuhM

    welcome to the notepad++ community, @Oliver-Christes

    nppftp seems to work fine on 7.7 and 7.7.1.
    but if you have recently updated from notepad++ 7.5.9 or below, you will have to migrate or reinstall your plugins.

    easiest way is to reinstall nppftp using the notepad++ menu plugins > plugins admin.

    your config file containing your ftp server list and credentials should remain in %AppData%\Notepad++\plugins\config\NppFTP\NppFTP.xml.
    (path of a regular notepad++ installation)

    best regards.

  • Coldfusion

    10
    0 Votes
    10 Posts
    5k Views
    Bob SzurgotB

    Well, it seems no matter what I try, I cannot get the nppColdFusion plugin to work with 7.7 at all. So Randy DiCotti - would you be willing to share your exported UDL with us? I’d be very grateful if you would.

    Thanks.

    -=Bob=-