Mo Bitar :ferris: on Nostr: npub1e2p79…raqmc Finding where a function is used is not "fuzzy finding". This is ...
npub1e2p79z2nl0xkd2n0qy52wwvej2y3j8ps28nl4utfsw0apsnc586seraqmc (npub1e2p…aqmc) Finding where a function is used is not "fuzzy finding". This is an LSP (language server protocol) feature called goto-references. You put the cursor on the function name and press g+r to get a picker for all references.
You need to make sure that the language server is installed for your language. You can run " hx --health" to see a table that shows if the default language server is installed for every language. You can use a custom language server though.
Published at
2024-01-05 14:37:10Event JSON
{
"id": "219d13f264cd30dbf5a4d0df393071b6f95bac61b992e17bf9d0ad0a18739bbb",
"pubkey": "979383f8767c5d795fcad86f82dc7b38b384c1a473710c433014dc2c0fb0e359",
"created_at": 1704465430,
"kind": 1,
"tags": [
[
"p",
"ca83e28953fbcd66aa6f0128a739999289191c3051e7faf169839fd0c278a1f5",
"wss://relay.mostr.pub"
],
[
"p",
"7743d6497523e4c3868bafe60fdf6f6d6da58b0e666f5b52c7c8b9970f7274b6",
"wss://relay.mostr.pub"
],
[
"e",
"850cb56f8f2deeb4c37d32b639e865c8e1ed7553da2c92c55b68b327546e5c05",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://fosstodon.org/users/mo8it/statuses/111703846485825919",
"activitypub"
]
],
"content": "nostr:npub1e2p79z2nl0xkd2n0qy52wwvej2y3j8ps28nl4utfsw0apsnc586seraqmc Finding where a function is used is not \"fuzzy finding\". This is an LSP (language server protocol) feature called goto-references. You put the cursor on the function name and press g+r to get a picker for all references.\n\nYou need to make sure that the language server is installed for your language. You can run \" hx --health\" to see a table that shows if the default language server is installed for every language. You can use a custom language server though.",
"sig": "1ce1a5885565771428d4bcb0149a3fa8f133c0b3346fb3cc88a9699b3aea0763cf5d8af693daaa75ba5e09836a04b5fe671ed86261cf3f59053ceac156daf56c"
}