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

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


Post New Thread Reply   
 
Thread Tools Display Modes
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 07-04-2012 , 15:10   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #111

Quote:
Originally Posted by TnTSCS View Post
that's the only reason I don't use NP++... otherwise I would... I use PawnStudio because it does it...

I have VisualStudio available to me, would that do what PawnStudio does?
I don't use Pawn Studio anymore because it kept crashing on me. Plus Notepad++ is great since it supports basically all languages. If I'm working on a plugin that has a web-end for whatever reason, I can just switch tabs.
__________________
Dr. McKay is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 07-05-2012 , 10:14   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #112

Quote:
Originally Posted by TnTSCS View Post
that's the only reason I don't use NP++... otherwise I would... I use PawnStudio because it does it...

I have VisualStudio available to me, would that do what PawnStudio does?
Last time I checked, there's no Visual Studio support for SourcePawn. You could get generic highlighting (maybe), but autocomplete and the like wouldn't work without someone essentially rewriting the SourcePawn compiler's entire syntax rules in C# (which is how PythonTools works for Python).
__________________
Not currently working on SourceMod plugin development.

Last edited by Powerlord; 07-05-2012 at 10:16.
Powerlord is offline
Thrawn2
Veteran Member
Join Date: Apr 2009
Old 07-24-2012 , 13:22   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #113

i've started writing a generator for this - i won't release it, as its coding is ugly as **** and i didn't care at all.

anyhow, the latest output (containing some of the most common includes) is attached here.
Attached Files
File Type: zip sourcemod_npp.zip (130.0 KB, 253 views)
__________________
einmal mit profis arbeiten. einmal.
Thrawn2 is offline
thetwistedpanda
Good Little Panda
Join Date: Sep 2008
Old 07-24-2012 , 13:40   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #114

Thanks Thrawn2!
__________________
thetwistedpanda is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-24-2012 , 13:43   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #115

Quote:
Originally Posted by Thrawn2 View Post
i've started writing a generator for this - i won't release it, as its coding is ugly as **** and i didn't care at all.

anyhow, the latest output (containing some of the most common includes) is attached here.
Very nice, thank you... this might make me switch from PawnStudio finally

...:: TnT Edit ::...

Awesome, it has SMLib's included
__________________
View my Plugins | Donate

Last edited by TnTSCS; 07-24-2012 at 13:46.
TnTSCS is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 07-24-2012 , 13:50   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #116

Quote:
Originally Posted by TnTSCS View Post
Awesome, it has SMLib's included
...damed
Bacardi is offline
Razmo51
Senior Member
Join Date: Aug 2011
Location: Event "player_death
Old 07-25-2012 , 17:15   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #117

I've some problems with this new syntax, when I opened the 'sourcemod.xml' I found this line:

Code:
<Environment ignoreCase="no" startFunc="(" stopFunc=")" paramSeparator="," terminal=";"  additionalWordChar="_."/>
I changed this argument:
Code:
ignoreCase="no"
to 'yes' and so, the function from colors.inc (CPrintToChat |CPrintToChatAll) don't work anymore.

or when I switch the value of ignoreCase to 'yes', these functions works,

I saw
Quote:
i won't release it
but ... can anyone help me ?

thanks

Edit: for details, just the autocompletion doesn't work
__________________
Sorry for my bad English, I'm Belgian

Last edited by Razmo51; 07-25-2012 at 17:35.
Razmo51 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-25-2012 , 18:05   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #118

works fine for me. What version of NP++ are you using?
__________________
View my Plugins | Donate
TnTSCS is offline
Razmo51
Senior Member
Join Date: Aug 2011
Location: Event "player_death
Old 07-25-2012 , 18:23   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #119

V6.1.5

I just import the sourcemod.xml (not the other file)
__________________
Sorry for my bad English, I'm Belgian
Razmo51 is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-25-2012 , 18:29   Re: [TOOLS] Notepad++ Auto-completion/Inline Docs/Syntax Highlighting
Reply With Quote #120

oh... I copied both files...

the other file goes in your roaming profile folder

I use 5.9.4

just updated to 5.9.6.2
__________________
View my Plugins | Donate

Last edited by TnTSCS; 07-25-2012 at 18:32.
TnTSCS is offline
Reply



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 01:30.


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