Raised This Month: $ Target: $400
 0% 

Showing results 1 to 9 of 9
Search took 0.00 seconds.
Search: Posts Made By: Snaph
Forum: Snippets and Tutorials 01-22-2013, 10:23
Replies: 87
Views: 62,924
Posted By Snaph
Re: SourcePawn Syntax Highlighting for Sublime Text 2

I just added mcpan as a collaborator on my repo. Hopefully he puts his code in there.
Forum: Snippets and Tutorials 01-21-2013, 20:15
Replies: 87
Views: 62,924
Posted By Snaph
Re: SourcePawn Syntax Highlighting for Sublime Text 2

Updated SourcePawn Completions to v0.5. (http://forums.alliedmods.net/showpost.php?p=1877166&postcount=51) (This IS a new version. The version number in the changelog before was incorrect.)
Forum: Snippets and Tutorials 01-20-2013, 20:43
Replies: 87
Views: 62,924
Posted By Snaph
Re: SourcePawn Syntax Highlighting for Sublime Text 2

Generating completions from the current file turned out to be easier than I was expecting.


SourcePawn Completions for Sublime Text 2

Download zip from GitHub....
Forum: Snippets and Tutorials 01-20-2013, 17:28
Replies: 87
Views: 62,924
Posted By Snaph
Re: SourcePawn Syntax Highlighting for Sublime Text 2

You must have changed something in the Sublime configuration. The completion filter is not case sensitive.
Forum: Snippets and Tutorials 01-20-2013, 14:29
Replies: 87
Views: 62,924
Posted By Snaph
Re: SourcePawn Syntax Highlighting for Sublime Text 2

I'm not sure what you mean. What is forcing you to type lowercase characters? All of the functions are added exactly as they are in the include files.
Forum: Snippets and Tutorials 01-20-2013, 12:33
Replies: 87
Views: 62,924
Posted By Snaph
Re: SourcePawn Syntax Highlighting for Sublime Text 2

I'm working on that now. The first version of it will just give you every variable declared anywhere in the file. That should be good enough for now.

There are some other things I want to add...
Forum: Snippets and Tutorials 01-20-2013, 09:09
Replies: 87
Views: 62,924
Posted By Snaph
Re: SourcePawn Syntax Highlighting for Sublime Text 2

You should add

"file_regex": "(.*)\\((\\d+)\\) :"to your build system. This regexes out the file name and line number so you can jump to errors.
Forum: Snippets and Tutorials 01-20-2013, 00:23
Replies: 87
Views: 62,924
Posted By Snaph
Re: SourcePawn Syntax Highlighting for Sublime Text 2

I'm ready to say that my plugin is in a usable state now. It now updates while you are editing as long as you stop typing for 1 second (configurable). I also fixed a bunch of bugs that made it near...
Forum: Snippets and Tutorials 01-15-2013, 18:13
Replies: 87
Views: 62,924
Posted By Snaph
Re: SourcePawn Syntax Highlighting for Sublime Text 2

If anyone is interested, I used mcpan's script as a base for a Sublime plugin that dynamically generates completions for SourcePawn.

It's on my GitHub right now...
Showing results 1 to 9 of 9

 
Forum Jump

All times are GMT -4. The time now is 23:24.


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