Why is there no showing function for member access in Notepad++?
-
I’ve been trying to find some function like showing what member are in a function or class in Notepad++, but I failed.
It is something like this.
For example, in C language based on Visual Studio, there could be sentence like variable name.___ or variable->____.
So when user type dot(.) or arrow operator -> for pointer, the VS provide member info automatically. But I couldn’t find such a function in Notepad++. Do you guys have any ideas of this issue? -
Depending on the language, if it isn’t already included, you’ll have to write your own, define the language, write a FunctionList lexer file with regex, and test and use it. Check here for information: FunctionList Info
I tried implementing it with the lexer in FunctionList and ran into some difficulty, so I suspect unless I wrote a standalone lexer and parser for the language, I wouldn’t have the control necessary, however I’ll be happy if I’m wrong. Notepad++ is not an IDE that will have all those features you expect from your Visual Studio environment. That company pays developers to make that functionality to further their software. NPP is here to allow you do that yourself as best as you can within your capabilties. In the end, it is a vastly superior alternative to MS’s Notpad.exe, but it is not a do-all, be-all for all people’s expecatations.
Lee
-
Also it also sounds like you’re interested in the Auto Completion capability, but again, if not a standard langauge, you’ll have to develop it yourself. Find more informatiton, here: Auto Completion Info:
Good luck, and welcome to Notepad++.
Lee
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