SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
About
Hi there! For a long time I did not programm in SourcePawn. Seems like my stuffs out of date and I want to update them. I discovered that docs generate plugin is also very outdated and generates 60-70% of SM API. So, I provide the newer version. SourceMod-Npp-Docs https://github.com/raziEiL/SourceMod...2.png?raw=true Here the new API docs with all (I hope) function, define, enum, methodmap and fixed xml structure. Docs were generated by reworked generator plugin. Features:
Changes:
Server command: sm_makedocs - starts to parse SourceMod includes and generates output files. Methodmaps notes: Quote:
However, I made methodpam strings to make life easier: https://github.com/raziEiL/SourceMod...t.png?raw=true These strings are not actual SourceMod functions. The purpose of these strings is to provide access to documentation showing the methodmap structure. Also you may convert them to code and vice versa to watch docs. URL: Old thread is here: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting Grab latest version https://img.shields.io/github/releas...?label=version Read more on GitHub|Installation p.s If you find grammar error let me know! :) |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Cool stuff, always annoyed me when I saw outdated documentation from the old autocomplete. Thanks for this :D
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Сurrently I missed some defines and public variables like: NULL_VECTOR, MaxClients. I'll try add it later.
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Relaese v3
Notes:
- Added missing defines Also, I recommend to use 3P: Progress Programmers Pal plugin for autocompletion feature |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
I tried making syntax highlighting for NP++ before, but I ran into an issue where once the language file hits a certain length/size/# of characters, it starts ignoring everything after that specific limit which resulted in half-highlighted files. That's when I gave up on NP++ and switched over to Sublime Text.
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Notepad++ autocompletion is pretty garbage...3P plugin solved the problem. That's why I recommend to use it. I tried Sublime Text but there no docs, right?
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Quote:
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Quote:
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Quote:
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
just upgraded to win 10 with a fresh install
had to reinstall notepad++ and saw this updated version :D i think you should add how to install to your readme since i had to goto the old thread to find out how to install this :P |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
It does kinda on the github page
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Quote:
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
thank you
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
That looks very-very useful.
Thanks, disawar1 !!! |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
First of all, Thanks for this! Really useful <3
Needed one modification in this. Can you help me change the background color to black and text color to white :? ? White pains my eyes XD |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Quote:
Check box "Enable global background color", then choose background color |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Quote:
https://i.imgur.com/Z3fJslh.png |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Go to Language -> Define your language...
Tab "Folder & Default" Default Style: Styler -> Foregroudn color *edit And check other Stylers |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Quote:
but symbols like Code:
() {} = ; https://i.imgur.com/Kh0HUvM.png |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Look other "Stylers" in same window
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Quote:
how I did it: Language > Define your language. Change "User Language" to "sourcemod". Go to "Operators & Delimiter" and click "styler" above the "=,." symbols. :) https://i.imgur.com/0JqngZi.jpg |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
1 Attachment(s)
Can you help me, how to set font color and background for such tips:
|
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
Quote:
Due some path and folders was changed for Notepad++ v7.6+ I updated the installation guide on GitHub. |
Re: SourceMod-Npp-Docs (Autocompletion/Docs/Highlighting for Notepad++)
|
All times are GMT -4. The time now is 21:09. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.