Comments (4)
you know that there is flycheck version which shows only the errors for the current buffer? Indeed, it makes sense to have a command lsp-treemacs-errors-list-focus-file. Then user could configure that to happen automatically on buffer switch.
from lsp-treemacs.
Just chiming in here that I searched for "lsp-treemacs-errors-list current buffer" and this was the first hit; needless to say, I'm very much in favor of providing an easy way to control which errors are displayed, and I would personally like the errors in my current buffer to be displayed always.
from lsp-treemacs.
The flycheck version is indeed a workaround but IMHO it works better as a transient info buffer, especially since it tends to disappear on C-g
. In my currently installed version of lsp-mode if I select a region (e.g. for lsp-format-region
) I can't unselect it once I'm done because the flycheck buffer has "stolen" C-g
so it can be closed, so I have to reopen the flycheck buffer after each lsp-format-region
.
The treemacs buffers work more like permanent views on the project; at least that's how I use the symbols and errors lists. My main gripe with the errors buffer is that if I use it to discover errors in the project, switch to a file that's not the first in the list, and fix something, the whole errors buffer is redisplayed and I lose my spot in the list, even though I probably wanted to keep fixing issues in the same file.
Displaying the current file first in the errors list would go a long way towards making lsp-treemacs-errors-list more user-friendly.
from lsp-treemacs.
Everything is pretty great as is, but this would certainly be lovely.
from lsp-treemacs.
Related Issues (20)
- dap-ui-sessions: Symbol’s value as variable is void: treemacs-\'lsp-treemacs-generic-root-extension-instance HOT 12
- make lsp-treemacs-call-hierarchy show location of call instead of only the caller's name
- No thread selected when debugging HOT 6
- Error when calling dap-ui-locals: (void-variable lsp-treemacs-generic-root) HOT 16
- doom emacs with java lsp error
- Expand by default HOT 1
- Treemacs not updating with `vue-semantic-server`
- Features' requests for symbols' tree: follow mode support + settings for folding depth on startup
- minor mode keymap missing?
- Error list keeps showing old cached results after the first render HOT 5
- lsp-treemacs-errors-list just appends to buffer, can't expand nodes HOT 3
- Error processing message (void-function icon). HOT 11
- Symbol's function definition is void: action HOT 1
- Icons of the LSP symbols are not being shown HOT 4
- `lsp-treemacs-call-hierarchy` doesn't work HOT 2
- file-missing "Cannot open load file" "No such file or directory" "treemacs-treelib" HOT 1
- How do you get views to open automatically
- Selecting windows
- Reusing a window with `treemacs-RET-action`
- Does `lsp-treemacs-errors-list` modify `treemacs-select-window`?
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 lsp-treemacs.