code-cells.el
nvim-treesitter-context
Our great sponsors
code-cells.el | nvim-treesitter-context | |
---|---|---|
9 | 33 | |
171 | 2,149 | |
- | 7.5% | |
6.4 | 8.6 | |
5 months ago | 6 days ago | |
Emacs Lisp | Lua | |
GNU General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
code-cells.el
-
Emacs Advent Calendar 9: devdocs, code-cells, dREPL, etc.
code-cells: Utilities to work with “lightweight notebooks”, that is, source code which is split into cells by special %% comments. Also allows you to transparently edit Jupyter notebook (ipynb) files.
-
For Julia is there some thing like VSCode's python interactive window?
Emacs, Sublime Text 3 and Atom Pulsar can all do this with arbitrary Jupyter kernels with the emacs-jupyter/code-cells, helium and hydrogen packages, respectively.
-
Switched to VSCode... I miss Atom :(
I've been using code-cells together with emacs-jupyter, the combination of the two lets you work pretty much identically as you would in Atom with Hydrogen, Sublime with Helium, or VSCode with the Jupyter Python extension; you just delimit code cells with #%% and execute in a separate Jupyter REPL buffer. It does require some getting used to the key bindings though (or some tweaking to make it more similar to what you're used to).
-
I have reached Vim nirvana
I use a similar setup in Emacs with code-cells.el [1]. VSCode had a tendency to choke rendering large interactive graphs in-line, so if I was needing to view in a separate process anyways a little elisp turns "write last IPython output to a tempfile, open, move to workspace N" into a keybind.
[1] https://github.com/astoff/code-cells.el
-
IPython Notebook layer
Try https://github.com/astoff/code-cells.el
-
Different background in current Python cell
I use the simple but very convenient code-cells package to run python cells. E.g. with the Spyder IDE, the cell where the cursor is currently in has a different background color, and I'd love to have that in emacs. Would you have any idea on how to do that?
-
Very ameteurish Python coder, I need several features but don't need a full-fledged IDE. Can I find these as packages elsewhere?
For scripts with cells there are a couple of packages. Mine is this: https://github.com/astoff/code-cells.el
- Replacing Jupyter Notebook with Org Mode
- code-cells.el: Emacs utilities for code split into cells, including Jupyter notebooks
nvim-treesitter-context
-
TreePin! A prototype of my plugin for pinning parts of code to the edges of the screen (Apologies for the GIF artifacts)
Very cool! Sort of reminds me of treesitter-context. Any chance for compatibility? An example could be you either would disable context when something is pinned or somehow displace it other, depending on which is "on top" could be neat.
-
[New plugin] Introducing dropbar.nvim, an out-of-the-box, IDE-like winbar with drop-down menu support and multiple backends
It's for context and navigation, not completions. So it wouldn't replace nvim-cmp. It probably doesn't replace anything you already have unless you are already using a winbar. It combines features of treesitter-context, symbols-outline, and a file navigator but in a different presentation.
-
Plugin for virtual text around parantheses ?
Not quite the same thing, but arguably a better alternative : https://github.com/nvim-treesitter/nvim-treesitter-context
-
Looking for some kinda specific plugins for visibility
For 2: https://github.com/nvim-treesitter/nvim-treesitter-context
-
Please inform me of the plugin(s) enabling these two features
I really like nvim-treesitter-context as an alternative for 1.
-
I’m a vscode user who wants to migrate to neovim but still can’t get all the features I want, I’m trying out lazyvim, which plug-ins should I use?
nvim-treesitter-context implements "sticky scroll" where, depending on where your cursor is placed, the top lines of your window will be replaced by the otherwise offscreen lines that declare what function you're in (e.g function test(...), the line that begins the current class (e.g. public class Student implements Person {), the variable name of the current table (e.g. local planets = {), etc.
- I have reached Vim nirvana
-
Anything like Blockman in Neovim?
Very different in my eyes, but I love nvim-treesitter-context. Definitely another tool in helping the brain parse code -- I think of it as helping with long range context, whereas blockman helps me focus on local context and makes scoping relationships more subconciously available.
-
Plugin to show current function?
You are looking for this: https://github.com/nvim-treesitter/nvim-treesitter-context
-
what is the plugin for showing the function context on top of buffer?
I have seen https://github.com/nvim-treesitter/nvim-treesitter-context is recommended, and it works similar. But the way the context info are displayed in AstroNvim is much nicer
What are some alternatives?
jupyter - An interface to communicate with Jupyter kernels.
context.vim - Vim plugin that shows the context of the currently visible buffer contents
emacs-jupyter - emacs plug-in to run python code inside tex or markdown buffer
nvim-treesitter-textobjects
emacs-ipython-notebook - Jupyter notebook client in Emacs
nvim-treehopper - Region selection with hints on the AST nodes of a document powered by treesitter
scimax - An emacs starterkit for scientists and engineers
nvim-gps - Simple statusline component that shows what scope you are working inside
org-mode - org-mode fork
format.nvim - A wrapper around Neovims native LSP formatting. [Moved to: https://github.com/lukas-reineke/lsp-format.nvim]
ctrlf - ⌨️ Emacs finally learns how to ctrl+F.
indent-blankline.nvim - Indent guides for Neovim