darkawower

joined 1 year ago
[โ€“] darkawower@alien.top 1 points 10 months ago

This implies that I need to know each module and the exact path to it. I would like to be able to see where potential candidates are placed.

 

Hi guys, sometimes I try something new to compare with already used packages, this weekend I wanted to try Eglot, however, I ran into a number of problems. One of them is autocomplete.

For example, when I write in vue, I want to autocomplete a watch function. This function is available in the following packages

import { watch } from 'vue';
import { watch } from 'fs';
import { watch } from 'fs/promises'
... etc

But when I use autocomplete in eglot I only see the first candidate - importing from the fs package. Is there any possibility or workaround to display all possible candidates?

Example of autocomplete with eglot

https://preview.redd.it/tlgtg5imw43c1.jpg?width=2930&format=pjpg&auto=webp&s=7f0cd2ff1b6733ec26021b77b6e5e392f26921df

Example of autocomplete with lsp-mode

https://preview.redd.it/rcntp2vow43c1.jpg?width=1224&format=pjpg&auto=webp&s=a246d790c47b4d48a3fba5e5f1cb361841eccc02

โ€‹

I also know that lsp-mode in conjunction with corfu has a similar problem, but it is impossible to solve it there as the authors of both packages think that the problem is not on their side ๐Ÿ˜… Is the situation with eglot the same?

[โ€“] darkawower@alien.top 1 points 10 months ago

Org roam is just an approach to have links between notes, you are free to use OrgNote without such links. Currently there is only one limitation, you need to have an id property for each note you want to synchronize.

This is a temporary limitation, I plan to generate an id for any org file the user intends to synchronize (if that file doesn't already have an id).

[โ€“] darkawower@alien.top 1 points 11 months ago

Hey! No problem! if you have any questions or suggestions, contact me via email app.orgnote@gmail.com or directly via discord

[โ€“] darkawower@alien.top 1 points 11 months ago

Do you mean graph construction? Or how to create something like that from scratch in your application?

In the first case, just create notes with links to other notes, for example like this [[id:][link-name]], the graph will be built automatically.

In the second case, have a look at https://github.com/vasturiano/force-graph.

[โ€“] darkawower@alien.top 0 points 11 months ago (2 children)

It's interactive graph, like org-roam-ui has

https://www.youtube.com/shorts/7J9k5R9cEDA