Raised This Month: $12 Target: $400
 3% 

[TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
decaprime
Junior Member
Join Date: Jun 2006
Old 06-03-2009 , 19:44   [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #1

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:


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
Attached Files
File Type: zip decas_npp_tools.zip (79.2 KB, 10275 views)

Last edited by psychonic; 05-26-2010 at 14:01.
decaprime is offline
theY4Kman
Join Date: Jun 2007
Location: Yak
Old 06-03-2009 , 20:11   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #2

Brilliant!
__________________
http://y4kstudios.com
Is that loud enough? Oh, while I have you, check out Viper.
theY4Kman is offline
Send a message via ICQ to theY4Kman Send a message via AIM to theY4Kman Send a message via MSN to theY4Kman Send a message via Yahoo to theY4Kman Send a message via Skype™ to theY4Kman
Downtown1
Veteran Member
Join Date: Mar 2004
Old 06-04-2009 , 03:18   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #3

Would this have hotkeys to build by any chance? Would be nice . Using Pawn Studio right now but it crashes a lot.
Downtown1 is offline
Chris-_-
SourceMod Donor
Join Date: Oct 2008
Old 06-04-2009 , 06:28   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #4

Wow, awesome.
Chris-_- is offline
decaprime
Junior Member
Join Date: Jun 2006
Old 06-04-2009 , 11:25   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #5

Quote:
Originally Posted by Downtown1 View Post
Would this have hotkeys to build by any chance? Would be nice . Using Pawn Studio right now but it crashes a lot.
Shouldn't be a problem, if you go to the Run menu you can do a run command like

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.
decaprime is offline
Shaman
Senior Member
Join Date: Dec 2006
Location: Istanbul, Turkey
Old 06-06-2009 , 21:21   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #6

Great job!
__________________
Shaman is offline
Send a message via ICQ to Shaman Send a message via AIM to Shaman Send a message via MSN to Shaman Send a message via Yahoo to Shaman
recon0
Veteran Member
Join Date: Sep 2007
Location: US
Old 06-06-2009 , 22:18   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #7

Looks really cool
__________________
recon0 is offline
InflatableSoulmate
Senior Member
Join Date: Oct 2008
Location: *.mdmp
Old 06-07-2009 , 02:45   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #8

Fantastically helpful. Thanks!

This'll definitely lower bandwidth usage from me on the "Script Functions" portion of this site.
__________________
Inflatable Soulmate
Server Operations Manager
Brothers of Chaos Multi-Gaming Clan
http://www.brothersofchaos.com/
InflatableSoulmate is offline
Chris-_-
SourceMod Donor
Join Date: Oct 2008
Old 06-07-2009 , 18:19   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #9

What a way of perspetive >.<
Chris-_- is offline
Cadav0r
Senior Member
Join Date: Jan 2006
Location: France
Old 06-08-2009 , 13:14   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #10

Thanks
__________________
P.S : Sorry for my english but I'm French

My plugins : Admin Sounds




Cadav0r is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:52.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode