[TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
1 Attachment(s)
2010-5-26
Updated Notepad++ UserDefinedLang.xml (right click > Save As) I do a majority of my programming in Visual Studio and I'm starting to write scripts for my server and sought to replicate that environment. With pawn studio no longer being/no longer fully functional, and not enough time to code a language service for Visual Studio I have mimicked the functionality in Notepad++ A picture probably demonstrates this best: http://content.screencast.com/users/...d/npp_tool.png Important: There are issues with the latest version of notepad++, this was developed and tested with the 5.1.X version. Later versions have an issue that won't expand functions with long descriptions try SetHudTextParams( to test with your version. I haven't pinpointed the version this starts occurring, input is appreciated. A few notes: -Installation instructions are in the readme.txt in the zip -I have nothing to do with notepad++ itself and the auto-completion functionality isn't super reliable. -In generating the inline docs I set the word wrap arbitrarily, and I run on a fairly high resolution (1920x1200) if this is an issue for enough people I can make another version. -If notepad++ crashes there is a good chance the preferences for the auto-completion got reset, just reapply them. -Feel free to recolor the syntax and redistribute with credit Thanks to CShadowRun and devicenull |
Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Brilliant!
|
Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Would this have hotkeys to build by any chance? Would be nice :). Using Pawn Studio right now but it crashes a lot.
|
Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Wow, awesome.
|
Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Quote:
YourPathHere\spcomp.exe $(FULL_CURRENT_PATH) Then you can just save it and assign a hotkey. Here is the docs on that: http://notepad-plus.sourceforge.net/uk/run-HOWTO.php I'm also thinking about making a small program to automate play testing a bit, like compile/check/upload/replace with backup/rcon sm reload or something. |
Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Great job!
|
Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Looks really cool :)
|
Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Fantastically helpful. Thanks!
This'll definitely lower bandwidth usage from me on the "Script Functions" portion of this site. :) |
Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
What a way of perspetive >.<
|
Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Thanks
|
All times are GMT -4. The time now is 19:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.