Giter Site home page Giter Site logo

Comments (5)

Kenneth-Mata avatar Kenneth-Mata commented on June 23, 2024

Tried with a different language, it also happens with gopls

Screencast_20240111_184822.webm

The lsp-bridge buffer

Screenshot_20240111_185024

from lsp-bridge.

manateelazycat avatar manateelazycat commented on June 23, 2024

can you send example code to me?

from lsp-bridge.

Kenneth-Mata avatar Kenneth-Mata commented on June 23, 2024
#include <stdio.h>
/* ANSI C doesn't require int to be the return of the main function*/
main() {
	float fahr, celsius, upper, lower, step;
	step = 20;
	upper = 500;
	lower = 0;

	fahr = lower;
	printf("%s", "Fahrenheit to Celsius Table\n");
	while (fahr <= upper) {
		celsius = (5.0 / 9.0) * (fahr - 32);
		printf("%6.2d   %9.1f\n" ,fahr, celsius);
		fahr = fahr + step;
	}
}

This is from the C Programming Book 2nd, clangd will highlight that %6.2d should be %6.2f, but freeze after selecting the fix

from lsp-bridge.

manateelazycat avatar manateelazycat commented on June 23, 2024

I used the above code to test locally. The code action ran normally and there was no freezing problem. Please use emacs -Q to load only lsp-bridge for testing to eliminate the influence of other plug-ins.

from lsp-bridge.

Kenneth-Mata avatar Kenneth-Mata commented on June 23, 2024

I'm using --init-directory for the tests

(add-to-list 'load-path "/home/kenneth/.config/emm/lsp-bridge")

(require 'yasnippet)
(yas-global-mode 1)

(require 'lsp-bridge)
(global-lsp-bridge-mode)

(setopt lsp-bridge-enable-log t)
(setq lsp-bridge-python-command "/home/kenneth/.conda/envs/py_env/bin/python")

i tried with this configuration, directly download the lsp-bridge repo and still got the freezing behavior

Screenshot_20240112_122143

I'll try to replicate this behavior on a VM and/or my windows machine

from lsp-bridge.

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.