Comments (7)
Can you please provide more details? like OS, Emacs version, steps, backtrace, warnings and/or messages, etc.?
It does work well in my macbook pro. How did you jump to definition? M-.
or M-x lsp-ui-peek-find-definitions
?
If it doesn't work yet, please try this config.
(setq lsp-clients-typescript-server "typescript-language-server"
lsp-clients-typescript-server-args '("--stdio"))
and
npm install -g typescript-language-server
from .emacs.d.
Thanks for the reply!
If I'm using lsp-ui-peek-find-definitions
. It's constantly keep saying:
Not found for: {{ function name }}.
When I'm using: C-x C-j
, I'm getting:
Symbol's function definition is void: inferior-moz-process
.
If I'm adding this:
(setq lsp-clients-typescript-server "typescript-language-server"
lsp-clients-typescript-server-args '("--stdio"))
no effect.
M-.
points to the same. All is default.
By the way, it does work for the current file (jumps around just fine). But, when trying to resolve outside of the current file, getting errors.
from .emacs.d.
I think it should be related to your configurations and lsp. DId you restart the LSP with typescript-language-server
? Seems the LSP cannot index the symbols of other files. All files should be in the project. You can inquiry to LSP developers.
from .emacs.d.
Did try that. Didn't work either. Also found, that LSP consumes 40% on my Mac, can please advice?
from .emacs.d.
When doing:
(setq lsp-clients-typescript-server "typescript-language-server"
lsp-clients-typescript-server-args '("--stdio"))
Getting next errors:
如果中英文不能对齐,请运行‘cnfonts-edit-profile’编辑当前profile。
LSP :: Connected to [ts-ls:52150 status:starting].
Error in menu-bar-update-hook (imenu-update-menubar): (error "No workspace could handle textDocument/documentSymbol")
Error from the Language Server: Request initialize failed with message: Couldn’t find ’tsserver’ executable or ’tsserver.js’ module (Internal Error)
from .emacs.d.
It seems LSP server is not installed correctly. Please check tsserver.
from .emacs.d.
You right! I reinstalled tsserver
and it fixed. THANKS!
npm install -g --save typescript
and then, added this to custom.el
:
(setq lsp-clients-typescript-server "typescript-language-server"
lsp-clients-typescript-server-args '("--stdio"))
from .emacs.d.
Related Issues (20)
- [Bug] Only instance if `company` is used in init-web.el
- [Bug or Question] HOT 2
- [Bug] Warning: setting attribute ‘:background’ of face ‘font-lock-comment-face’: nil value is invalid, use ‘unspecified’ instead. HOT 3
- [Bug] Closing Emacs asks for saving desktop HOT 3
- [Bug] HOT 4
- Defined hotkey has not taken effect HOT 1
- [Bug] Auto quit on windows 10 when custom-post.el presents HOT 7
- [Feature Request] FYI on hl-todos HOT 2
- [Bug] Blank screen on fresh install HOT 7
- [Bug] Find File is very slow HOT 7
- Is dotfiles a dependency of Centaur Emacs?
- Installation process isn't working [Bug] HOT 1
- Installation error [Question] HOT 7
- [Bug] nerd-icons-octicon: Unable to find icon with name ‘key’ in icon set ‘octicon’
- [Bug] Table text cannot be centered, vertical bars cannot be aligned HOT 1
- Supports the opening of large files HOT 12
- Nerd-icon.el url: raw.githubusercontent [Bug] HOT 4
- [Bug] the window size is always maximized at startup HOT 2
- [Feature Request] Maybe 'init-package' should before 'init-custom' HOT 1
- [Feature Request] How could I config PYIM input method with pyim-wbdict? HOT 1
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 .emacs.d.