Giter Site home page Giter Site logo

出现这个错误后TypeError: SearchFileWords.change_buffer() takes 5 positional arguments but 6 were given无法使用 about lsp-bridge HOT 9 OPEN

sweet66 avatar sweet66 commented on June 17, 2024
出现这个错误后TypeError: SearchFileWords.change_buffer() takes 5 positional arguments but 6 were given无法使用

from lsp-bridge.

Comments (9)

manateelazycat avatar manateelazycat commented on June 17, 2024

有重现步骤和重现文件吗

from lsp-bridge.

manateelazycat avatar manateelazycat commented on June 17, 2024

If you byte compile lsp-bridge, please remove byte compile file and disable byte compile

from lsp-bridge.

sweet66 avatar sweet66 commented on June 17, 2024

打开一个ts文件,输入"import" 关键字 就会报这个错误。emacs版本是GNU Emacs 28.2 (build 1, x86_64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.5 (Build 21G531)) of 2023-11-24

from lsp-bridge.

manateelazycat avatar manateelazycat commented on June 17, 2024

截图 2023-12-03 20-48-25

我暂时不能重现, 如果你编译了 lsp-bridge 的 el 文件, 请删除 elc 和 eln 文件, 并禁用字节编译或者 native comp

from lsp-bridge.

sweet66 avatar sweet66 commented on June 17, 2024

没有使用编译文件,直接使用的原文件。
image

from lsp-bridge.

manateelazycat avatar manateelazycat commented on June 17, 2024

目前无法重现问题, 抱歉

from lsp-bridge.

sweet66 avatar sweet66 commented on June 17, 2024

解决了,用源码编译的emacs是正常的,之前用的是emacs-plus。

from lsp-bridge.

sweet66 avatar sweet66 commented on June 17, 2024

还是出现了,是在不同文件buffer之间切换会出现,例如打开一个el文件输入内容,然后再打开一个ts文件输入内容进行代码补全,然后再切换buffer到之前的el文件输入内容就会出现

from lsp-bridge.

manateelazycat avatar manateelazycat commented on June 17, 2024

最好 emacs -Q 对比测试一下, 避免其他插件配置干扰

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.