Yingchi Long

Results 47 comments of Yingchi Long

> Hmm, that's curious; shouldn't document symbols be a one and done deal? No, it should be flushed right after any text edits. I observed approximately 6GB memory usage, because...

Hi @Atemu I think you may reduce the number of highlights in the response body? Would that solve your problem? To test this, you can fork this project and change...

Profiling: [massif.out.1943282.txt](https://github.com/user-attachments/files/15800557/massif.out.1943282.txt) ![image](https://github.com/nix-community/nixd/assets/36667224/2f1f53f2-9f0d-4aa1-97c6-468d653e02c8) ![image](https://github.com/nix-community/nixd/assets/36667224/02b5b0dc-3e40-4115-b9e4-67ce934df588) 2.8/3.0 GB comes from large document symbol information.

https://github.com/nix-community/nixd/blob/b3515c91a56b9a1008a375116da46e9f8c8eb261/nixd/lib/Controller/AST.cpp#L104 This is not a bug nor misconfiguration, but an un-implemented feature. For a long time C++ part in this project has only one developer, so there is no complex...

Note: previously (version 1.x) nixd will perform precise eval, allowing end-users do any kind of 'goto-def', but requires some configuration stuff. Then people complained: "I don't want to configure nixd...

In conclusion I do think 'ExprSelect' like (pkgs.) should be implemented, but this is hard with *incremental* eval, and not yet landed.

- RFC https://github.com/NixOS/rfcs/pull/145 specified the relationship between doc-comments and expressions. - We have upstream PR that extract comments and can be used in `:doc` https://github.com/NixOS/nix/pull/9054

> I don't understand how to configure helix to use this lsp Sorry I do not use this editor and cannot give you any editor-specific advice. The language server itself...

> What would be especially helpful would be the type signature; that's what I'd want to see in my single line of emacs minibuffer when hovering. This is already shown...