anyone have good ideas for lighterweight text edit...
# announcements
h
anyone have good ideas for lighterweight text editors instead of idea? I try using vim but more suggestions are welcome. Idea is really heavy on my computer
s
#C09222272, first off
h
oh okay. i was debating whether or not to put it there.
👍 1
s
secondly, are you looking for a text editor or an IDE? Using IJ for all your regular text editing stuff outside of kotlin and java projects doesn’t make a whole lot of sense
h
i was talking about for kotlin
sorry, i forgot mentioned
s
I think your best bet is Visual Studio Code with the Kotlin Language Server installed
h
visual studio code..? isn’t that for visual basic stuff only?
s
nope.
h
huh, let me check it out
s
I write a nontrivial amount of rust and bash in it, edit html and styles freehand, take notes, etc
h
damn i can’t believe i didn’t know about this beforehand
s
also use it for markdown editing
h
thanks man
s
np
g
My +1 to Idea, just disable non used plugins, maybe tune memory settings. It Visual Studio Code is not light weight IMO What is particulary “heavy” on your computer? RAM usage?
f
Visual Studio Code is a great text editor, my personal favorite
The resource usage between that amd IDEA is not even comparable. I love IDEA but its super slow, I have tried diaabling everything possible but the cursor still almost lags compared to VSCode.
g
The resource usage between that amd IDEA is not even comparable
RAM, CPU? Did you tried to disable inspections (toggle on statusbar)
h
ij just eats a lot of battery
i have a long commute to my school and when i reach i lose atleast 40% of my battery in about 45 minutes
g
ij just eats a lot of battery
Just enable power-save mode which disables most of real time inspections
h
yep tried it
for some reason it took more battery for me
g
Are you sure? 🤔 Maybe some other bug
h
maybe
g
what is your OS?
h
macos mojave
my cpu is on average 5ÂşC hotter and my battery usage is about 5% more
g
Did you try to disable Spotlight indexing for your working directory and build system cache?
h
ill have to check that later. im not on my comp at the moment
g
Because Spotlight is really bad when you create a lot of temporary files all the time
d
It’s about 30% in one hour for me on mojave (but it depends on what you’re doing I guess). I wonder if it’s actually IJ that eats your battery and not gradle with kotlin compiler 🤔 There is also
File -> Power Save Mode
btw.
h
yes and for some reason it uses more battery for me
h
I’d be interested to see where the exact issue lies and if you get the same issues with Code because I for one have horrendous battery life when I have Slack launched, contrary to IDEA.