Comments (2)
Your understanding is correct, though we're still missing a few pieces necessary to make something like this possible. I know absolutely nothing about cscope
, but based on your description and using references as an example, the flow would be like this:
- Neovim's LSP client sends a request for references to all attached language servers that support the method;
- null-ls runs the command line program with the specified arguments (or reads the database, if you're able to do that through Lua / luv) and gets its output;
- null-ls parses the output and restructures it into the correct LSP-friendly format; and
- The null-ls handler for the method sends it back to to the LSP client, which displays it to the user.
At the moment, though, null-ls only handles diagnostics, formatting, and code actions. The main task (apart from getting and parsing cscope
output) would be to build handlers for the methods we don't currently support, but the core structure should be flexible enough to handle it.
I haven't heard of anyone working on this, and I'm too ignorant about cscope
to do anything myself, but I'm happy to provide full support for anyone who wants to take it on, especially since it sounds like a cool project that would really showcase what null-ls can do.
from null-ls.nvim.
Also, I don't know how much work it would take to parse the cscope
output / database, but I'll also mention that I feel that this would be more appropriate as a plugin that integrates with null-ls and not something to directly include here.
from null-ls.nvim.
Related Issues (20)
- Support fbinfer static analysis tool
- Support for pmd/cpd static analysis tool HOT 2
- Support for NASA's Ikos static analyzer
- Add support for typst HOT 2
- Support for PMD 7.x HOT 2
- latex: chktex and proselint cause delay in `gq` formatting HOT 2
- null-ls trying to use user folder as command name on windows HOT 1
- It is very inconvenient that I cannot see the documentation with the help command HOT 1
- Feature request: Only show diagnostics on modified lines HOT 2
- [eslint] failed to decode json: Expected value but found invalid token at character 2() HOT 3
- Code Actions not working (tested on gitsigns) HOT 3
- PrismaFmt built-in replaces the content of schema.prisma file
- Add an option to activate source only if a configuration is found in the project HOT 4
- Full restart of null-ls HOT 4
- goimports-reviser with `-rm-unused` removes the module that not in go.mod
- Mypy fails when buffer is not yet saved
- IMPORTANT: Archiving null-ls HOT 110
- Null-ls is not registering any sources HOT 1
- When registering a source, condition should recursively from current file dir to root
- UTF-8 characters break diagnostics' underline position
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from null-ls.nvim.