framapiaf.org est l'un des nombreux serveurs Mastodon indépendants que vous pouvez utiliser pour participer au fédiverse.
Un service Mastodon fourni par l'association d’éducation populaire Framasoft.

Administré par :

Statistiques du serveur :

1,4K
comptes actifs

#ctags

0 message0 participant0 message aujourd’hui
Jarkko Sakkinen<p>This is how I integrate rusty tags in my <code>.zprofile</code>:</p><pre><code># rusty-tags [ `command -v rustc` ] &amp;&amp; RUST_SRC_PATH=$(rustc --print sysroot)/lib/rustlib/src/rust/library/ [ -d $RUST_SRC_PATH ] &amp;&amp; export RUST_SRC_PATH </code></pre><p>I still prefer <a class="hashtag" href="https://social.kernel.org/tag/ctags" rel="nofollow noopener noreferrer" target="_blank">#ctags</a> over LSP.</p><p><a class="hashtag" href="https://social.kernel.org/tag/rust" rel="nofollow noopener noreferrer" target="_blank">#rust</a> <a class="hashtag" href="https://social.kernel.org/tag/rustlang" rel="nofollow noopener noreferrer" target="_blank">#rustlang</a></p>
Jarkko SakkinenRemoved <a class="hashtag" href="https://social.kernel.org/tag/lsp" rel="nofollow noopener noreferrer" target="_blank">#LSP</a> shenanigans from my <a class="hashtag" href="https://social.kernel.org/tag/nvim" rel="nofollow noopener noreferrer" target="_blank">#nvim</a> config. I don't really care about it and I hate to need external demons to make text editor do its job. It is even worse than plugins, which I neither love. And I never use auto-complete because it does stuff faster than my head can keep up. <br><br>Overall for me <a class="hashtag" href="https://social.kernel.org/tag/ctags" rel="nofollow noopener noreferrer" target="_blank">#ctags</a> is still best possible experience when indexing source code. It crawls deep, does not do anything automatically and does not require external 3rd party prgrams.<br><br>And yeah it is stupid as hell, and thus can index whole <a class="hashtag" href="https://social.kernel.org/tag/linux" rel="nofollow noopener noreferrer" target="_blank">#Linux</a> tree without trying to understand it. With LSP indexing is build config dependent, which makes it crippled.<br><br>With <a class="hashtag" href="https://social.kernel.org/tag/rust" rel="nofollow noopener noreferrer" target="_blank">#Rust</a> I use rusty-tags: <a href="https://github.com/dan-t/rusty-tags" rel="nofollow noopener noreferrer" target="_blank">https://github.com/dan-t/rusty-tags</a>
Rémi Birot-Delrue :llama:<p>Wanted to run ctags not only on my current Go projectybut also on all its dependencies. Ended up doing:</p><p> go list -deps -f &#39;{{range $file := .GoFiles}}{{printf &quot;%s/%s\n&quot; $.Dir $file}}{{end}}&#39; \<br /> | ctags --tag-relative=yes -L - -f&quot;$$.tags&quot; --languages=go</p><p>WDYT?</p><p><a href="https://framapiaf.org/tags/ctags" class="mention hashtag" rel="tag">#<span>ctags</span></a> <a href="https://framapiaf.org/tags/golang" class="mention hashtag" rel="tag">#<span>golang</span></a></p>