Community
    • Login

    c# lang. with function plugin

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    rd plugins
    2 Posts 2 Posters 643 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Philippe GRANGEP Offline
      Philippe GRANGE
      last edited by

      Hi all,
      I noticed troubles in function recognition plugin.
      de5f0698-aef5-4f27-b8e1-1bba0e39dae3-image.png .
      Did anyone allready noticed that or may I do something wrong ?

      Thx for help

      NPP V8.5.7 with standard plugins installed

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Online
        PeterJones @Philippe GRANGE
        last edited by PeterJones

        @Philippe-GRANGE ,

        It’s not a plugin: the Function List tool is a built in portion of Notepad++.

        And it can and does find functions in C#. I don’t have any C# handy, so I made some C#-like code just to test, and it works for me:

        765952d6-51ed-47df-9d3f-0a2b6b811df3-image.png

        Using my knowledge of C/C++ to interpret C# syntax, the screenshot you showed doesn’t have any functions shown – I see class variables and an enum, but no function/method (though that’s not to say that maybe there isn’t one lower down in your source code).

        However, you should know that the Function List will only show a given class if it contains at least one function/method. Also, if you’ve changed your code, you might need to hit the ⭮ refresh button to get the FunctionList feature to re-parse your file.

        If you have a small C# file (a dozen or two lines) that you can paste which you think should show an actual function, but does not for you, and you want us to try to replicate the problem, you need to share that code by pasting the code in your reply, highlight it, and click the </> button to mark it as “code”. For example, the code I showed in my screenshot is pasted here:

        using System;
        
        namespace TestTracker 
        {
            public class UserRect
            {
                void dummyFunction(void) 
                {
                    return;
                }
            }
            
        }
        
        1 Reply Last reply Reply Quote 1

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors