Open realtica opened 3 weeks ago
Hello, I'd be very happy to help you debug this. I think I will need a little bit more info:
1) Do you have actual errors / warning in your code that bacon is picking up?
2) When it does, can you paste the content of your .bacon-locations
?
3) What version of bacon are you running?
4) Can you share a crate I can access to where bacon-ls doesn't work for you so I can try to troubleshoot it?
Hello, I'd be very happy to help you debug this. I think I will need a little bit more info:
- Do you have actual errors / warning in your code that bacon is picking up?
No errors neither warnings.
- When it does, can you paste the content of your
.bacon-locations
?
[export] enabled = true path = ".bacon-locations" line_format = "{kind}:{path}:{line}:{column}:{message}"
- What version of bacon are you running?
bacon 3.1.1
- Can you share a crate I can access to where bacon-ls doesn't work for you so I can try to troubleshoot it?
No, and a full working example would be better, is there any way to watch logs? (bacon-ls.log is empty!)
Hello, I'd be very happy to help you debug this. I think I will need a little bit more info:
- Do you have actual errors / warning in your code that bacon is picking up?
No errors neither warnings.
If there are no errors / warnings in your code, bacon-ls will not report anything to the LSP client. Any chance you can paste a screenshot of bacon properly working in your repository?
- When it does, can you paste the content of your
.bacon-locations
?[export] enabled = true path = ".bacon-locations" line_format = "{kind}:{path}:{line}:{column}:{message}"
What I mean is the content of the file .bacon-locations
when it is populated by bacon, not the settings file.
- What version of bacon are you running?
bacon 3.1.1
- Can you share a crate I can access to where bacon-ls doesn't work for you so I can try to troubleshoot it?
No, and a full working example would be better, is there any way to watch logs? (bacon-ls.log is empty!)
Hello, as I say before bacon works well:
This is the .bacon-locations content: (populated by bacon --export-locations)
warning /home/realtica/projects/roll-api/src/main.rs:4:5 unused import:
dotenvy::dotenv warning /home/realtica/projects/roll-api/src/main.rs:78:43 unused variable:
site_id warning /home/realtica/projects/roll-api/src/main.rs:80:9 variable does not need to be mutable warning /home/realtica/projects/roll-api/src/main.rs:141:5 field
usernameis never read warning /home/realtica/projects/roll-api/src/main.rs:88:5 unused
Resultthat must be used warning /home/realtica/projects/roll-api/src/main.rs:105:5 unused implementer of
Futurethat must be used warning /home/realtica/projects/roll-api/src/main.rs:113:5 unused implementer of
Futurethat must be used
I don't understand bacon-ls depends of rust-analyzer? This don't any sense.
Rust analyzer is still required to do anything that is not error reporting. Things like code completion, snippets, refactoring, etc.
Can you paste how did you configure bacon-ls and rust analyzer in neovim? Do you have some dotfiles I can use to try to debug your issues?
I am working on a new version that will allow better troubleshooting of issues.
Hello, bacon works fine and it is running, but bacon_ls does nothing, no error log and it is attached:
Client: bacon_ls (id: 1, bufnr: [3])
.bacon-locations, bacon-ls.log and bacon.toml files are present, please help me, I do not want to return to rust-analizer.