• 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
    6k 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
    9k 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
    2k Views
    Michael VincentM

    @lawriehodges

    No worries!

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

    1
    1 Votes
    1 Posts
    1k 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
    861 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
    789 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
    3k 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
    6k 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=-

  • Function List not working in v7.2

    30
    0 Votes
    30 Posts
    40k Views
    pete312P

    I recovered from this problem by uninstalling notepad++ and then renaming what was left in Program Files to oldNotepad++, then reinstalling notepad++. Something obviously is out of whack.

    Takes less time this way

  • N++ .NET Plugin template

    Locked
    5
    0 Votes
    5 Posts
    1k Views
    Kuba PuchatekK

    Link you’ve posted expects VS2015. I have lots of errors. Beginning with “using static” od Kgb namespaces.

  • Emmet: Python Script Plugin not found

    Locked
    4
  • A new C++ plugin template

    2
    10 Votes
    2 Posts
    2k Views
    EkopalypseE

    @dail - wondering why it is not listed here?

  • 3UP Security IRD Paper Plugin help.

    Locked
    6
    0 Votes
    6 Posts
    1k Views
    Eric LanE

    @PeterJones Okay thank you.

  • NPP 7.7 broke ColdFusion plugin

    Locked
    2
    0 Votes
    2 Posts
    1k Views
    Meta ChuhM

    welcome to the notepad++ community, @Richard-Linhart

    i can’t yet reproduce that opening a .cfm file, causes an abnormal notepad++ shutdown.

    please test the following, to verify, if a clean notepad++ (without any 7.7 incompatible plugins that could cause this) would be able to open them on your system.

    download the notepad++ 7.7 portable version from >>> here <<<.
    (the portable version does not require any installation and runs completely independent and isolated from your installed version. all custom settings, as well as any stuff you might want to try at the portable version, will not modify your installed version)

    extract npp.7.7.bin.zip to your desktop.

    important note: make sure to close all instances of notepad++ that might be running, before starting the portable version at the next step, to make sure you are using this portable version.

    open the extracted npp.7.7.bin folder and start this portable version by double-clicking on notepad++.exe inside this folder.
    (note: notepad++.exe will just be seen as notepad++, if you have enabled to hide all known file extensions at your explorer settings)

    try to go to the menu file > open and open any .cfm file and report back what happens.

    many thanks and best regards.

  • Notepad++ 7.7 breaking change of SCNotification definition in x64 build

    Locked
    17
    7 Votes
    17 Posts
    3k Views
    gstaviG

    @dail said:

    The Scintilla developers are not at fault. This is the entire reason they changed from the 3.x to 4.x version.

    It is very much in dispute whether a library should ever allow itself a major compatibility breaking change to its API. Changing the library’s major version does not magically justifies it. This is definitely the Linux mindset with its advantages and shortcomings.
    A responsible developer should go through all possible hoops to extend the API rather than change it before going this path. Maybe they did, I don’t know.

    Specifically for this change, I would challenge, the need to support 64 bit position within a document. Opening a text file over 1GB is such a bad user experience that I doubt that you can find 0.01% within your user base that do it routinely. Your guess is good as mine for the amount of users that will be pissed by the compatibility break.

    Still need to audit plugins to see how many are actually broken. Maybe I am overly pessimistic.
    But it is possible that 32 bit version of Notepad++ just became much more attractive.

  • Customize Toolbar - New Version 4.1

    45
    0 Votes
    45 Posts
    63k Views
    MAPJe71M

    OK, the GitHub link @andrecool-68 provided already pointed to a description of how I did it.
    Did not remember that.
    What can I say: “Now also available for Notepad++ 64 bit!” :-D

    @andrecool-68 I agree, same toolbar button functionality as the build-in Function List toolbar button i.e. indicating active/inactive by changing the button background color.