theY4Kman / idea-sp

IntelliJ SourcePawn Plugin
13 stars 4 forks source link

Notes to Self #1

Open theY4Kman opened 3 years ago

theY4Kman commented 3 years ago

I've been thinking about picking this up again. Since I created this project initially, I've worked more with the IntelliJ language APIs, releasing a pytest plugin for PyCharm. I've also really come to love Kotlin, and might end up using it in lieu of Java – though, while it's easy to write, it can be equally as easily made unreadable.

If I pick it up again, I thought it seemed wise to collect a list of requirements, goals, and super-duper stretch goals. So, here they are, in three sections, whose child items are in no particular order.

If you happen to come across this project and this issue, and have a request, I encourage you to leave a comment :) Always helps development to know people want it.

Requirements

Goals

Super-duper Stretch Goals

Hexer10 commented 3 years ago

I'm happy that you'd like to continue this project, I've tried several times to implement SourcePawn for Intellij, but I got always stuck on the API that imo is not really self-explanatory (nor documented enough).

I'm wondering if you plan to replace the current Java code with Kotin and also why the META-INF folder was excluded for the project.

theY4Kman commented 3 years ago

Yeah, it can be a bit obtuse... pretty often.

There are no definite plans, at least until I get back from vacation Monday/Tuesday. It seems likely I'd use Kotlin for at least some new files, and a not-unsubstantial chance I'd convert any remaining Java files if I'm using Kotlin already. Do you have opinions on it?

As for why the META-INF folder was excluded, I'm afraid I can't truly say, 'cause I don't recall :P If it's an unintended omission, I'll add it back.

Hexer10 commented 3 years ago

Yeah, it can be a bit obtuse... pretty often.

There are no definite plans, at least until I get back from vacation Monday/Tuesday. It seems likely I'd use Kotlin for at least some new files, and a not-unsubstantial chance I'd convert any remaining Java files if I'm using Kotlin already. Do you have opinions on it?

As for why the META-INF folder was excluded, I'm afraid I can't truly say, 'cause I don't recall :P If it's an unintended omission, I'll add it back.

In my opinion it would be feasible to convert to project to Kotlin right now since the code base is not very large yet.

I was asking for the META-INF since it contains the plugin.xml which is needed to compile the plugin, and regarding the plugin build system shouldn't it now use the gradle plugin system?

EDIT: I made a PR about implementing these changes: https://github.com/theY4Kman/idea-sp/pull/2

theY4Kman commented 3 years ago

@Hexer10 I created a Project board to organize the tickets a wee bit, and started listing notes and expanding the tickets.

It might be nice to have a little back and forth occasionally. Do you have some kind of chatroom shit you use? Is #sourcemod still up on Freenode IRC?

Hexer10 commented 3 years ago

@Hexer10 I created a Project board to organize the tickets a wee bit, and started listing notes and expanding the tickets.

It might be nice to have a little back and forth occasionally. Do you have some kind of chatroom shit you use? Is #sourcemod still up on Freenode IRC?

I'm not sure, I've never used IRC, nowadays they've pretty much moved over to the Discord server. (If you want to contact me directly just add me either on Discord ( Hexah#6903 ) or Telegram ( Hexah )