• I need to develope custom plugin

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    PeterJonesP
    I don’t have the “log” language to which you refer… but many of the language lexers allow for adding custom keywords to existing styles. For example, Settings > Style Configurator, Language = LISP, select Style = FUNCTION WORD and you can add other custom keywords to the User-defined keywords box. It may be that your “log” language has similar – so if “log” shows up in the Language selection column, then look through it’s various Style column items, and see which ones have customizeable boxes. Any that do, you should be able to add keywords into those styles. That description assumes the “log” language is above the vertical bar (ie, above “Define your language…”) in the Language pulldown. If the “log” language is below the “Define your language…”, then it’s a User Defined Language (UDL), and the methodology will be different. Go to Language > Define your language..., then in the User language pulldown, select “log”. Go to the “Keywords List” tab, and either add your keywords to the existing styles, or if some of your 8 groups are empty, you can create new group(s) with unique style(s) in any empty groups. Ivan Radić has made available documentation on how to use UDL v2.1.
  • [New Plugin] npp.connections

    10
    0 Votes
    10 Posts
    8k Views
    V
    @chcg said: Unbekannt Es wurden keine Symbole geladen Try with new version. I reload zip yesterday. I clear cyrillic symbols from combobox default text. I think, the error will be disappear Added for x86 with https://npppm.bruderste.in/plugins/view/nppconnection. I tried to do that, but no messages comes to my email. I’m still waiting, but nothing happens Thank’s for your interest
  • ShellExecute Failed (2):

    Locked bug
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [New Plugin] NppDoctypes

    2
    0 Votes
    2 Posts
    2k Views
    chcgC
    @jonaskohl What about a 64bit version? Ideally this is just a recompile. For publishing the plugin with the pluginmanager a zipfile of the dll is needed. For x64 see https://github.com/bruderstein/npp-plugins-x64 and the PM itself https://bruderste.in/npp/pm/ and https://github.com/bruderstein/nppPluginManager.
  • 0 Votes
    7 Posts
    4k Views
    Geert VancompernolleG
    @MAPJe71 said: Your system might contain more than one functionList.xml and Notepad++ is using a different one than you’d expect or one of the plugins is interfering, try running N++ without plugins. Well, you are absolutely right! There was another functionlist.xml file located in my roaming directory. I’ve kicked out that one and now all is working fine. Great catch, didn’t see it myself!
  • [Bug] 0 equals 1???

    4
    1 Votes
    4 Posts
    4k Views
    P
    Hello all, @Dinesh-J-Prakash , thank you for reporting this. @Claudia-Frank , thank you for commenting. @guy038 , thank you for the detailed investigation. This problem has already been reported in the GitHub project page (https://github.com/pnedev/compare-plugin/issues/128) and I have already fixed it in the development branch. I’m preparing a new release but since it is a major plugin rework and I’m quite busy these days it is taking longer than I thought. I hope I’ll be able to release the new version in month or two. Just FYI the problem was with the hashing function used in the compare process. BR
  • Plugin Menu Bar Entry

    Locked
    3
    0 Votes
    3 Posts
    3k Views
    J
    I’ve already tried to look into TextFX’s source code, but I don’t really understand it. As I said, I’m fairly new to Notepad++ plugin development and the structure of TextFX’s source code is quite different to mine (which uses Notepad++'s C++ plugin template).
  • NPPM_DOOPEN: wrong return value

    3
    1 Votes
    3 Posts
    2k Views
    Vitaliy DovganV
    OK, I’ve found how to deal with it. At least, it’s one of possible solutions: int nFiles = (int) SendNppMsg(NPPM_GETNBOPENFILES, 0, 0); if ( !SendNppMsg(NPPM_DOOPEN, (WPARAM) 0, (LPARAM) params.c_str()) ) { nCmdResult = CMDRESULT_FAILED; DWORD dwAttr = ::GetFileAttributes(params.c_str()); if ( (dwAttr != INVALID_FILE_ATTRIBUTES) && ((dwAttr & FILE_ATTRIBUTE_DIRECTORY) == FILE_ATTRIBUTE_DIRECTORY) ) { // NPPM_DOOPEN unexpectedly returns 0 when a folder is specified // as its argument, though in fact it does open all the files // from that folder. int nFilesNow = (int) SendNppMsg(NPPM_GETNBOPENFILES, 0, 0); if ( nFilesNow != nFiles ) { nCmdResult = CMDRESULT_SUCCEEDED; } } }
  • 0 Votes
    6 Posts
    4k Views
    poonam joshiP
    Thanks for the reply Problem Statement: In my project, I do shell scripting and use notepad++ to write the script. I need to follow some rules while writing the code. Thus, I want to develop a plugin (which works like a code reviewer) which when selected in notepad++, could automatically check the code(script) at the run time while I am writing the code(script) in notepad++ and display an error message if any rule is not followed. For e.g. SELECT word should always be in upper case. So whenever I write SELECT word in small case in notepad++ then an error message should popup. Can you please suggest how should I go for it using C# template for plugin development?
  • Feature request: Link/URL "open with"

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • How to get my plugin into the plugin directory?

    Locked
    5
    0 Votes
    5 Posts
    3k Views
    chcgC
    There is no central plugin repository. Typically plugins are published on github or sourceforge I would see. Similar to N++ itself https://github.com/notepad-plus-plus/notepad-plus-plus. See https://github.com/npp-plugins for example for some plugins of donho. Is that the information you are looking for? For github introduction see https://guides.github.com/activities/hello-world/
  • XBrackets Lite v1.3.0 (32-bit and 64-bit) released!

    Locked
    3
    1 Votes
    3 Posts
    5k Views
    Vitaliy DovganV
    @chcg, thank you!
  • Faulty coding of file if reloaded

    Locked
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [new plugin] “Empty files as Unicode”

    4
    0 Votes
    4 Posts
    3k Views
    chcgC
    The x64 at github you could add as pull request. For the access to the server you need the help of @bruderstein, but his is currently seldom around. I could copy the data of a x64 PR and create a corresponding entry.
  • ANSEL character set

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    Kjeld Mathias Stolberg PetersenK
    Thank you very much. It is the gedcom type of files that my father wants to edit. So we will try that. Regards Kjeld
  • 0 Votes
    2 Posts
    2k Views
    S
    @tazotodua The solution is quite simple: Answer No to that prompt!
  • [New Plugin] Npp SQL Formatter available

    sql formatter
    17
    1 Votes
    17 Posts
    78k Views
    Guido ThelenG
    Now also processes ANSI encoded SQL with special chars Regards Guido
  • Question About NPP Jumplist

    Locked
    4
    0 Votes
    4 Posts
    3k Views
    chcgC
    You may wanna test this one https://github.com/chcg/JumpList/releases/download/1.2.2.7/NppJumpList_1.2.2.7_x64.zip
  • Php function list and abstract functions

    Locked
    3
    0 Votes
    3 Posts
    2k Views
    MAPJe71M
    Oops, links to correct page but should have read #15124.
  • All code disappears after npp becomes not responding (Win7 32-bit)

    Locked
    5
    0 Votes
    5 Posts
    4k Views
    chcgC
    See also https://notepad-plus-plus.org/community/topic/15028/every-since-last-patch-extreme-slowness-and-not-responding/8