Raised This Month: $32 Target: $400
 8% 

[TOOLS] IntelliJ IDEA editing SourcePawn


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
eXemplar
Member
Join Date: Feb 2013
Old 01-30-2014 , 23:31   [TOOLS] IntelliJ IDEA editing SourcePawn
Reply With Quote #1

So I thought it would be an interesting exercise to make a plugin for IntelliJ IDEA to edit sourcepawn projects based on this documentation: http://confluence.jetbrains.com/disp...+IntelliJ+IDEA

Currently I'm working on parsing the sourcepawn grammar using the Grammar-Kit plugin (http://plugins.jetbrains.com/plugin/?id=6606). It will parse almost all sourcepawn file structure except ternary operations that use a variable reference. Eg, 'test ? func1() : func2()' parses fine, but 'test ? var : func()' is parsed as a tag overridden reference. Still need to go through and check the pin/recover stuff for all of the rules to make sure it recovers on bad code, too. It's a work in progress, I've not much experience with formally defined grammar parsing.

Ideally the end state would be to be able to edit sourcepawn projects inside idea with full language support, including highlighting, refactoring, source code inspections and compile error/warning references.

Repository: https://github.com/eggsampler/intellij-sourcepawn

I'll keep this thread updated as my tinkering progresses.

Last edited by eXemplar; 01-30-2014 at 23:34.
eXemplar is offline
GAVVVR
Member
Join Date: May 2010
Old 02-25-2016 , 09:56   Re: [TOOLS] IntelliJ IDEA editing SourcePawn
Reply With Quote #2

Oops. Repository removed. Did you continue your work or gave up?
GAVVVR is offline
Bara
AlliedModders Donor
Join Date: Apr 2012
Location: Germany
Old 02-25-2016 , 11:30   Re: [TOOLS] IntelliJ IDEA editing SourcePawn
Reply With Quote #3

https://github.com/mick88/intellij-sourcepawn
https://github.com/theY4Kman/idea-sp
Bara is offline
RAYs3T
Junior Member
Join Date: May 2014
Location: Germany, Hamburg
Old 04-02-2018 , 09:08   Re: [TOOLS] IntelliJ IDEA editing SourcePawn
Reply With Quote #4


Any up-to-date or final plugins there? Would be nice to see support for IntelliJ/IDEA fully integrated.
With compiler and more.
__________________
Never trust the client.
RAYs3T is offline
theY4Kman
Join Date: Jun 2007
Location: Yak
Old 01-15-2021 , 18:06   Re: [TOOLS] IntelliJ IDEA editing SourcePawn
Reply With Quote #5

Quote:
Originally Posted by RAYs3T View Post
Any up-to-date or final plugins there? Would be nice to see support for IntelliJ/IDEA fully integrated.
With compiler and more.
Not yet, but I've been thinking about picking it up again. I started putting together a list of reqs/goals; if you can think of anything else, do leave a comment: https://github.com/theY4Kman/idea-sp/issues/1
__________________
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
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 12:02.


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