AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [Version: 2.0] Notepad++ Classic Syntax Highlighting (https://forums.alliedmods.net/showthread.php?t=201050)

ShufflexDD 11-16-2012 15:38

[Version: 2.0] Notepad++ Classic Syntax Highlighting
 
4 Attachment(s)
https://forums.alliedmods.net/attach...5&d=1353168310
I've made another syntax highlighting for Notepad++ from scratch.
It looks almost like original NP++ highlighting.
As compared with another highlighting it hasn't bug with escaping symbols, and has all predefined constants & operators.

Installing:
Notepad++ -> Language -> Define your language... -> Import and restart Notepad++.

Version: 2.0

ChangeLog:
2.0
-- Added all predefined constants with Turquoise color(the same as in standard sourcepawn highlighting)
-- Added support separating big numbers with underscore: new z = 1_000_000
1.0 - 11 views

P.S: As you can see in preview, last number in color array isn't looks correctly. It will be fixed in new revisions of Notepad++.

ReFlexPoison 11-16-2012 22:35

Re: Notepad++ Classic Syntax Highlighting
 
Guess I'll give it a try, been using the most recent which sadly doesn't have the basic console include <_<

Edit: Will this had include definitions ever?

ShufflexDD 11-17-2012 04:38

Re: Notepad++ Classic Syntax Highlighting
 
please tell me more about this

Zephyrus 11-17-2012 07:26

Re: Notepad++ Classic Syntax Highlighting
 
i think he means that .inc is not added to the default file extensions

ShufflexDD 11-17-2012 07:43

Re: Notepad++ Classic Syntax Highlighting
 
I didn't add it because all languages has .inc extension.
Tell me if I'm wrong, and I'll add it.

ReFlexPoison 11-18-2012 17:08

Re: Notepad++ Classic Syntax Highlighting
 
Quote:

Originally Posted by ShufflexDD (Post 1839284)
I didn't add it because all languages has .inc extension.
Tell me if I'm wrong, and I'll add it.

http://content.screencast.com/users/...d/npp_tool.png

ShufflexDD 11-19-2012 08:50

Re: [Version: 2.0] Notepad++ Classic Syntax Highlighting
 
got it.
I'll try to do it.

ReFlexPoison 11-19-2012 22:46

Re: [Version: 2.0] Notepad++ Classic Syntax Highlighting
 
1 Attachment(s)
Here's a version using the same highlighting as your version but with Auto-Completion for the core and custom includes. Used the generator from the other thread here.

ShufflexDD 11-20-2012 09:11

Re: [Version: 2.0] Notepad++ Classic Syntax Highlighting
 
oh, sh*t.......................
I almost finished doing it by myself in php

anyway, I'm trying to finish mine, cause that have only functions

ReFlexPoison 11-20-2012 16:53

Re: [Version: 2.0] Notepad++ Classic Syntax Highlighting
 
1 Attachment(s)
Quote:

Originally Posted by ShufflexDD (Post 1840820)
oh, sh*t.......................
I almost finished doing it by myself in php

anyway, I'm trying to finish mine, cause that have only functions

The problem with the generator based Auto-Completions is it adds void to the signatures for a large portion of the natives in the includes. You can customize it to your liking by editing the xml file but there are over 900 entrees with this "problem."

Here is a version simply changing void to a > symbol.


All times are GMT -4. The time now is 18:33.

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