These are chat archives for carymrobbins/intellij-haskforce

9th
Aug 2017
Rahul Muttineni
@rahulmutt
Aug 09 2017 12:45
@carymrobbins Looks great! How do I install the snapshot version?
Cary Robbins
@carymrobbins
Aug 09 2017 12:46
Project Settings > Plugins > Install plugin from file
Rahul Muttineni
@rahulmutt
Aug 09 2017 12:47
I mean I did that, but I’m getting “failed to load plugin descriptor” - which file is that?
Cary Robbins
@carymrobbins
Aug 09 2017 12:48
Hmm are you choosing the zip archive downloaded from that release page?
Rahul Muttineni
@rahulmutt
Aug 09 2017 12:49
Yes. Let me try it again.
Cary Robbins
@carymrobbins
Aug 09 2017 13:35
@rahulmutt did you get it working?
Rahul Muttineni
@rahulmutt
Aug 09 2017 14:09
@carymrobbins Yes, it’s working great!
Cary Robbins
@carymrobbins
Aug 09 2017 14:09
awesome!
i'd like to look into adding a context menu so you can right click on a a main function and run it directly instead of having to jump through the "edit configuration" hoops
@rahulmutt - also, i may pick your brain in regards to using proguard. the latest release is at 30 MB and the snapshot release went up to 42 MB (just because i added shapeless, i believe; i'll probably remove it as it's not adding that much value).
i haven't used proguard before and need to figure out if it can help reduce the size of the jars generated
the build also uses ant currently and i'd like to move to something better, probably gradle
Rahul Muttineni
@rahulmutt
Aug 09 2017 14:14
Proguard will definitely help.
Cary Robbins
@carymrobbins
Aug 09 2017 14:14
:clap:
Rahul Muttineni
@rahulmutt
Aug 09 2017 14:14
+1 for Gradle. Gradle plugin for Eta is next (make it easier for Android) and I’ve been going through the docs
Cary Robbins
@carymrobbins
Aug 09 2017 14:14
there's a gradle plugin for building intellij plugins
Rahul Muttineni
@rahulmutt
Aug 09 2017 14:15
Awesome
Cary Robbins
@carymrobbins
Aug 09 2017 14:15
which would be waaaayyy better than building against your locally installed intellij (or like i do on travis, manually wget intellij and point to it directly)
Rahul Muttineni
@rahulmutt
Aug 09 2017 14:17
And yeah I can help with proguard. You’ll probably want to start by using the scala proguard config as a base:https://www.guardsquare.com/en/proguard/manual/examples#scala
Cary Robbins
@carymrobbins
Aug 09 2017 14:17
i haven't used gradle yet, so there's an unfortunate curve for getting all of this added
oooo perfect
Rahul Muttineni
@rahulmutt
Aug 09 2017 14:18
And I think intellij might have one too so you’ll have to merge them
Cary Robbins
@carymrobbins
Aug 09 2017 14:18
intellij might have a proguard config?
oh i see
to exclude/include intellij classes
Rahul Muttineni
@rahulmutt
Aug 09 2017 14:19
Yeah
Cary Robbins
@carymrobbins
Aug 09 2017 14:19
yeah i was thinking about that since you couldn't know at "compile-time" what classes you'll actually need at runtime
if there's one off the shelf that'd make my life a lot easier
i'll check in the "IntelliJ Plugin Developers" gitter channel for tips on proguard for intellij plugins
Rahul Muttineni
@rahulmutt
Aug 09 2017 14:23
Ok cool