c# lang. with function plugin
-
Hi all,
I noticed troubles in function recognition plugin.
.
Did anyone allready noticed that or may I do something wrong ?Thx for help
NPP V8.5.7 with standard plugins installed
-
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:
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; } } }