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