Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 2.57 KB

TODO-2024.org

File metadata and controls

53 lines (40 loc) · 2.57 KB

React tutorial in emacs

Don’t know how good it may be, but I could check it out: https://emacs-lsp.github.io/lsp-mode/tutorials/reactjs-tutorial/

Treesitter: how to use it?

Seems to be a new way to navigate code. Shoud test this guide, although it might be a bit outdated: https://www.masteringemacs.org/article/how-to-get-started-tree-sitter Double down on Emacs and get the damn book? https://www.masteringemacs.org/ (might lead to more, rather than less study time)

Initial actions taken

Install language support

Make sure installation is automatic. Config should be in a single file (ideally .emacs.base.el). See `(setq treesit-language-source-alist…` in https://www.masteringemacs.org/article/how-to-get-started-tree-sitter

GOOD: Configuring the sources in .emacs.base.el works

BAD: need to run `M-x treesit-install-language-grammar` once before the language files are available to emacs.

Alternative would be to use `add-to-list` to spread the language sources between the configs (and, therefore, between the envs)

Remove rust lang reference from the rust config

Now that the language sources are specified in the base config, remove it from .emacs.rust.el

Update the docs in base config

treesite-explore-mode seems to run (something)…

…but still don’t know how to use treesite to effectively navigate. I use `M-h` and `M-S-h` but it’s normal mark-paragraph.

Project directory tree navigator

I’m getting used to using it, specially for large projects. I really like the screenshot in: https://github.com/emacs-lsp/lsp-treemacs (but there’s no link or reference to how it’s achieved XD)

Projectile + Neotree

Projectile, learn how to use it

https://github.com/bbatsov/projectile Adds support for “search across project”, which is the find-all-references I want :) Seems to be the backend and the preferred option. I’m installing it in my react configs, but don’t know how to use it.

Neotree

https://github.com/jaypei/emacs-neotree One of several implementations. Supports themes, which (according to the docs) makes it look a lot like the screenshot referenced in Project directory tree navigator.

Flymake-mode hangs my emacs !?

Noted on 2024-10-01 that `M-x flymake-mode` hangs my emacs session. Why?! Doesn’t hang for all my envs, though (it’s not hanging for .emacs.react.el)

Status of LSP in my configs

python

flycheck doesn’t work!?

See barchar/bin/barchar:L85

rust

working fine: flycheck,

Fix the symbols in fonts

The bulb and other non-alphanumerical symbols doesn’t render. I think this is a system problem :/