Giter Site home page Giter Site logo

Comments (3)

yyoncho avatar yyoncho commented on August 11, 2024

IMO the solution should be external to lsp-mode/lsp-treemacs using the hooks/functions that are exposed by lsp-mode/lsp-treemacs. What you have described is a personal preference(in a good sense) which could vary. E. g.

  1. Someone might want to display error list when there are errors but ignore the warnings
  2. Someone might want to display the error list when there are errors for the current project or only if they are for the current buffer
  3. Someone might want to display the error list when there are errors in the current language (e. g, if you are editing Java display errors list only if there is an error in java file.

I would propose inspecting the lsp-mode/lsp-treemacs API and identify the gaps that are needed so any user could achieve the customizations that he/she wants(we need lsp-treemacs-error-list-hide at least).

Later, when we start building lsp-ide package (https://github.com/emacs-lsp/lsp-ide) which will contain opinionated set of settings/configurations we will assemble a set of default configuration scripts that will go into it.

Of course, if a lot of user request that functionality will promote it as core functionality.

Let me know what do you think.

from lsp-treemacs.

sakshamsharma avatar sakshamsharma commented on August 11, 2024

Definitely makes sense. Having this as a issue here is useful nonetheless as it'll help someone who may stumble across the same requirement in the future. I'll try to get something working on my own then when I get some free time.

from lsp-treemacs.

yyoncho avatar yyoncho commented on August 11, 2024

Ok, if you need help feel free to ping me here or in gitter.

from lsp-treemacs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.