Notepad++ Parser Question
I’m working for a company and we are interested in trying to leverage an already existing parser if it is available for us to leverage into our own code base.
Could y’all help me understand where the parser component of Noetpad++ is located in the code so that I can try and extract it for our own use?
Thanks so much!
The parsers (each language has a separate parser) are inherited from the scintilla library / sub-component. The versions in the Notepad++ source code are at https://github.com/notepad-plus-plus/notepad-plus-plus/tree/master/scintilla/lexers .
But you might consider doing what Notepad++ does, and just including the entirety of the Scintilla library in your project, so you’d get the lexers and more.
@PeterJones Thanks so much for the details! 👍