AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Snippets and Tutorials (https://forums.alliedmods.net/forumdisplay.php?f=112)
-   -   [TOOLS] IntelliJ IDEA editing SourcePawn (https://forums.alliedmods.net/showthread.php?t=234467)

eXemplar 01-30-2014 23:31

[TOOLS] IntelliJ IDEA editing SourcePawn
 
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.

GAVVVR 02-25-2016 09:56

Re: [TOOLS] IntelliJ IDEA editing SourcePawn
 
Oops. Repository removed. Did you continue your work or gave up?

Bara 02-25-2016 11:30

Re: [TOOLS] IntelliJ IDEA editing SourcePawn
 
https://github.com/mick88/intellij-sourcepawn
https://github.com/theY4Kman/idea-sp

RAYs3T 04-02-2018 09:08

Re: [TOOLS] IntelliJ IDEA editing SourcePawn
 

Any up-to-date or final plugins there? Would be nice to see support for IntelliJ/IDEA fully integrated.
With compiler and more.

theY4Kman 01-15-2021 18:06

Re: [TOOLS] IntelliJ IDEA editing SourcePawn
 
Quote:

Originally Posted by RAYs3T (Post 2585729)
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


All times are GMT -4. The time now is 03:49.

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