project.nvim
nvim-lightbulb
Our great sponsors
project.nvim | nvim-lightbulb | |
---|---|---|
28 | 15 | |
1,208 | 731 | |
- | - | |
0.0 | 4.4 | |
23 days ago | 9 months ago | |
Lua | Lua | |
Apache License 2.0 | 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.
project.nvim
-
Is there a way of setting a global variable when switching the project?
Hello, I am using https://github.com/ahmedkhalf/project.nvim for managing projects, and I would like to change a global variable's value depending on the project I switched to. Something like an event when switching, and also the an api with the current project information. I don't find anything
If someone is interested on this, there is an issue for a feature: https://github.com/ahmedkhalf/project.nvim/issues/73
-
Telescope: how to search project directory?
You can use one of the "rooter" plugins like this one to dynamically change your working directory: https://github.com/ahmedkhalf/project.nvim
-
R code chunks not showing using Nvim-R for R Markdown
https://github.com/ahmedkhalf/project.nvim I have never used this but it seems to involve defining "projects", and any time you enter a project, whatever settings you require (such as current working directory) will get set up for you.
-
How to manage projects efficiently in neovim using telescope
Not sure if this is what you are looking for, but projects.nvim automatically changes your pwd in nvim. If you then use telescope's find_files and to search in the pwd, you basically get project-scoped searches. https://github.com/ahmedkhalf/project.nvim
-
Noob question about projects
Not sure what you mean by that. Perhaps your looking for a fuzzy finder. I use telescope for most of this. It can be used to find any file in your project and there's extensions for pulling up projects
-
olddirs.nvim: oldfiles, but for directories
project.nvim
Sharing a lightweight plugin I wrote yesterday which provides some functions for accessing previously used current working directories. I know that this is similar to some other "workspace" / "project" plugins which already exist, so I've pasted the motivation section from the README. >I work in a large monorepo and change my working directory depending on what part of the codebase I'm looking at to give my LSP (gopls) a chance and to improve the usefulness of fuzzy finding files. I want to change the current working directory back to a previously used one without having to configure a "project" or "workspace" beforehand. This requirement is not satisfied (as far as I can tell) by existing similar plugins: > - project.nvim > - telescope-project.nvim > - workspaces.nvim. > - neovim-session-manager > olddirs.nvim is very lightweight and doesn't provide any niceties (out of the box) like some of the above plugins, it's literally just :oldfiles for directories. > \ I say "out of the box" since some features like the searching or browsing of files inside a previous directory can be implemented by adding actions to the olddirs.nvim Telescope picker.
-
Switching between projects
There I also this one: https://github.com/ahmedkhalf/project.nvim
-
Could use some advice for managing projects in a way that fits my mental model and codebase. Monolithic codebase with project files spread around different working directories. Or just help me change my mental model.
Here's my suggestion: 1. Change current working directory to your logical folder, so you can open file/buffers within logical folder. 2. Use different tabs for different logical folders. Because you can set different tab-local working directories. Or use plugin that automatically change working directory to the logical folder the file belongs to. project.nvim does this well. 3. If you want to open or search monolithic folder, then find file with git files or search using git root as current working folder.
nvim-lightbulb
- nvim-lightbulb 1.0.0 - breaking change
-
What sign icons do you use?
Bonus for nvim-lightbulb: https://imgur.com/a/ZcPw1eJ
-
what are the most underrated plugins in your view?
kosayoda/nvim-lightbulb: it helps me a lot with "discoverability" of available actions. Without a visual cue I end up doing too much trial and error to see if some action can be done.
-
Can I pin plugin commits using the native built-in pack plugin system and git submodules?
# add submodule git submodule add https://github.com/kosayoda/nvim-lightbulb # enter the plugin directory and checkout commit cd nvim-lightbulb git checkout cd5267d2d708e908dbd668c7de74e1325eb1e1da cd - # add changes git add nvim-lightbulb
-
vim.lsp.buf.code_action() not working after 0.5.0 -> 0.5.1
I know a code action exists and the LSP is working because I have nvim-lightbulb.
-
Why aren't code actions working for me with the 0.5 beta LSP?
- install https://github.com/kosayoda/nvim-lightbulb
-
Can you help me get the nvim-lightbulb to work for the TypeScript LSP code actions?
Can you open an issue on the repository, with a minimal working example? (eg. something I can run on my machine and reproduce the issue). I'd be happy to help you there.
-
nvim-lightbulb: Code action 💡 for neovim's built-in LSP.
Github: https://github.com/kosayoda/nvim-lightbulb
What are some alternatives?
vim-rooter - Changes Vim working directory to project root.
lspsaga.nvim - improve neovim lsp experience [Moved to: https://github.com/nvimdev/lspsaga.nvim]
neovim-session-manager - A simple wrapper around :mksession.
telescope-project.nvim
harpoon
mini.nvim - Library of 35+ independent Lua modules improving overall Neovim (version 0.7 and higher) experience with minimal effort
lspsaga.nvim - improve neovim lsp experience
lsp-zero.nvim - A starting point to setup some lsp related features in neovim.
coc.nvim - Nodejs extension host for vim & neovim, load extensions like VSCode and host language servers.
neogen - A better annotation generator. Supports multiple languages and annotation conventions.
projectile - Project Interaction Library for Emacs