SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Discussion

Reply
 
Thread Tools Display Modes
Old 16/11/2016, 05:26 AM   #11
Jayse
Big Clucker
 
Jayse's Avatar
 
Join Date: Sep 2016
Posts: 77
Reputation: 9
Default Re: Pawn Linting/Static Analysis

Quote:
Originally Posted by xxmitsu View Post
Hello everyone,

any progress on this? or does anyone know about the existence of 'Linting/Static Analysis' tools that could be used 'non-interactively' aka from an automated script/job ?
I also wonder about that, it would be awesome if we could have something like this in Sublime Text 3.
Jayse is offline   Reply With Quote
Old 16/11/2016, 06:04 AM   #12
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,863
Reputation: 588
Default Re: Pawn Linting/Static Analysis

Quote:
Originally Posted by Jayse View Post
I also wonder about that, it would be awesome if we could have something like this in Sublime Text 3.
Extreme Studio. Built for PAWN, built for SA-MP.

Still in development but currently slow since the developer has a bunch of school shit going on right now. Me and him are pretty tight. In fact, I designed the logo and banner of the program.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 16/11/2016, 10:47 AM   #13
xxmitsu
Gangsta
 
Join Date: Feb 2009
Posts: 623
Reputation: 36
Default Re: Pawn Linting/Static Analysis

An IDE wouldn't be so useful for me. I was looking more into something like a tool that could be used 'non-interactively' to be able to automate Code Integration process.
__________________
aka xanto - Retired - Former eGaming.ro technical staff.
xxmitsu is offline   Reply With Quote
Old 16/11/2016, 01:14 PM   #14
Jayse
Big Clucker
 
Jayse's Avatar
 
Join Date: Sep 2016
Posts: 77
Reputation: 9
Default Re: Pawn Linting/Static Analysis

Quote:
Originally Posted by Crayder View Post
Extreme Studio. Built for PAWN, built for SA-MP.

Still in development but currently slow since the developer has a bunch of school shit going on right now. Me and him are pretty tight. In fact, I designed the logo and banner of the program.
But it can't be good like Sublime Text 3, not to mention it can't be customized with plugins. I'm not saying it isn't good, it's really useful but Sublime Text 3 has more features that I would like to use while scripting, with such a feature implemented would make it more awesome!
Jayse is offline   Reply With Quote
Old 17/11/2016, 09:59 AM   #15
Hiddos
High-roller
 
Hiddos's Avatar
 
Join Date: Sep 2008
Posts: 4,844
Reputation: 2179
Default Re: Pawn Linting/Static Analysis

I'd love to see this and I'd be willing to contribute to what is described in the OP.

On a personal note I'd prefer seeing this in Atom than in Sublime, as I find it easier to use.
__________________
Quote:
Originally Posted by DeWolf View Post
For fuck's sake people, this whole thread is fucked up now.
Hiddos is offline   Reply With Quote
Old 17/11/2016, 11:05 AM   #16
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,830
Reputation: 1405
Default Re: Pawn Linting/Static Analysis

I am still working on this, don't lose hope!

It will be a CLI + Plugin so automation for CI/builds will be possible like flake8/ESLint/Clint etc.

I am aiming to make the functionality similar to Anaconda's with warnings on save and live underlines/highlights of problems such as unused labels, undefined labels and maybe even some include structure/importing stuff.

And since it will be a CLI program, porting to other editors should be easy.
__________________



[HLF]Southclaw is online now   Reply With Quote
Old 17/11/2016, 11:49 AM   #17
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,863
Reputation: 588
Default Re: Pawn Linting/Static Analysis

Honestly, I'd most rather see this on a VS plugin...

It is very much possible to port languages to VS and I've never seen it done for PAWN!
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 17/11/2016, 12:11 PM   #18
[HLF]Southclaw
High-roller
 
[HLF]Southclaw's Avatar
 
Join Date: Apr 2009
Location: England
Posts: 4,830
Reputation: 1405
Default Re: Pawn Linting/Static Analysis

Well once the linter is available, it can be ported to anything. Not sure how open Intellisense is, I'm not a huge fan of the text editor in VS anyway but once it's done I don't imagine hooking an executable script up to an editor is too hard anyway!

I'm currently still in the AST stage of things anyway, once I get this down the rest should be simple.
__________________



[HLF]Southclaw is online now   Reply With Quote
Old 17/11/2016, 10:12 PM   #19
Crayder
High-roller
 
Crayder's Avatar
 
Join Date: Sep 2013
Location: Flames of Hell
Posts: 3,863
Reputation: 588
Default Re: Pawn Linting/Static Analysis

Quote:
Originally Posted by [HLF]Southclaw View Post
Well once the linter is available, it can be ported to anything. Not sure how open Intellisense is, I'm not a huge fan of the text editor in VS anyway but once it's done I don't imagine hooking an executable script up to an editor is too hard anyway!

I'm currently still in the AST stage of things anyway, once I get this down the rest should be simple.
I prefer Notepad++, I just haven't seen PAWN used in VS. I was just saying I think it'd be interesting to have PAWN in VS.
__________________
Those who deserve reputation, do not need to beg for it.
Also, don't expect the help you need when offering reputation, you'll just be attracting Rep Hunters.
Join SA-MP Discord!
Crayder is offline   Reply With Quote
Old 08/02/2017, 10:43 AM   #20
xxmitsu
Gangsta
 
Join Date: Feb 2009
Posts: 623
Reputation: 36
Default Re: Pawn Linting/Static Analysis

Hi there!

Any news of this progress, or ETA available?
__________________
aka xanto - Retired - Former eGaming.ro technical staff.
xxmitsu is offline   Reply With Quote
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Static NPC - Help Lumabd Scripting Help 1 08/07/2015 04:42 AM
[Ajuda] Static! Wallker Português/Portuguese 6 04/08/2012 07:51 PM
[Tool/Web/Other] PAWN Scanner - Scan PAWN files for information. Slice Tools and Files 10 15/07/2012 07:09 PM
IP static christiand Română/Romanian 9 30/06/2012 07:17 PM


All times are GMT. The time now is 09:50 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.