some tricks there would be helpful for the new Metals feature to search in resource files, turns out you can index text files very quickly with int64 bit fiddling
ascii is only 7 bits and unicode 21 bits
_
asaadza
@asaadza
interesting
do you use IJ any more?
Ólafur Páll Geirsson
@olafurpg
I use goland for go
and IJ for Java
asaadza
@asaadza
OK
Ólafur Páll Geirsson
@olafurpg
but still VS Code for scala
asaadza
@asaadza
the search for symbol in IJ is probably one of the only features I still miss
Ólafur Páll Geirsson
@olafurpg
IJ has very slow completions, I regularly press enter before the completions load
I agree
the LSP api makes it difficult to implement proper symbol search
asaadza
@asaadza
I thought of another thing that would be good to have in metals, but can't remember it now :)
Ólafur Páll Geirsson
@olafurpg
need to load the exact location for every search result (filename on disk and line number)
that's like >95% of the overhead
asaadza
@asaadza
have you seen the haskell extension for metals?
Ólafur Páll Geirsson
@olafurpg
o.O
I have not
asaadza
@asaadza
they recently addedd -- >>> which get executed inline
not such a big deal though now we have pretty good worksheets in metals
Ólafur Páll Geirsson
@olafurpg
My wish for worksheets is to implement the new notebook API in vscode
asaadza
@asaadza
one thing I don't always predict is when the worksheet execution will get re-triggered
Ólafur Páll Geirsson
@olafurpg
more explicit run/cancel UI for execution
asaadza
@asaadza
right
Ólafur Páll Geirsson
@olafurpg
and would make it possible to provide full IDE support in markdown files