Giter VIP home page Giter VIP logo

sideline-eglot's Introduction

License: GPL v3 JCS-ELPA

sideline-eglot

Show eglot information with sideline

CI

demo

🔨 Quickstart

(use-package sideline-eglot
  :init
  (setq sideline-backends-right '(sideline-eglot)))
  
(use-package eglot :hook (eglot-mode . sideline-mode))  ; enable it when eglot is on

🔧 Customization

🧪 Variables

  • sideline-eglot-code-actions-prefix - Prefix to insert before the code action title.

🛠️ Contribute

PRs Welcome Elisp styleguide Donate on paypal Become a patron

If you would like to contribute to this project, you may either clone and make pull requests to this repository. Or you can clone the project and establish your own branch of this tool. Any methods are welcome!

🔬 Development

To run the test locally, you will need the following tools:

Install all dependencies and development dependencies:

$ eask install-deps --dev

To test the package's installation:

$ eask package
$ eask install

To test compilation:

$ eask compile

🪧 The following steps are optional, but we recommend you follow these lint results!

The built-in checkdoc linter:

$ eask lint checkdoc

The standard package linter:

$ eask lint package

📝 P.S. For more information, find the Eask manual at https://emacs-eask.github.io/.

⚜️ License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

See LICENSE for details.

sideline-eglot's People

Contributors

jcs090218 avatar developmentcool2449 avatar

Stargazers

 avatar Justin avatar Jamie Lu avatar  avatar Christian Tietze avatar Andrew Banchich avatar Fabrizio Contigiani avatar

Watchers

 avatar  avatar  avatar

sideline-eglot's Issues

comments

(dolist (row (ignore-errors (eglot-code-actions (point))))

For true async actions, you should probably use jsonrpc-async-request directly. You can get the server, if it exists with eglot-current-server.

(when (bound-and-true-p eglot--managed-mode) ; check connection

Likewise here, you should use eglot-current-server, not -- symbols

void-function sideline-eglot

after adding the example in the README to my config, i get:

Sideline mode enabled in current buffer
Error running timer ‘sideline-render’: (void-function sideline-eglot)

Merging with sideline-lsp?

Hello, i was wondering if it's a good idea merging this package to sideline-lsp,
My idea is sharing variables and functions from both packages and allow to users
choose if they prefer use lsp or eglot backends.

If you agree, i would like helping making a PR to sideline-lsp implementing all features (and fixes)
of this package.

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.