zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
47.73k stars 2.79k forks source link

Language server should work when file language is changed manually by user #9017

Open shinebayar-g opened 6 months ago

shinebayar-g commented 6 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

For example I have a example.ts.ejs file. When I open the file, TS language server isn't working. I changed file language to TypeScript to recognize the syntax. Syntax highlighter is working, but language server isn't. So all the auto completions are not working in the template file.

Environment

Zed: v0.126.0 (Zed Preview) OS: macOS 14.3.1 Memory: 16 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

github-actions[bot] commented 6 days ago

Hi there! 👋 We're working to clean up our issue tracker by closing older issues that might not be relevant anymore. Are you able to reproduce this issue in the latest version of Zed? If so, please let us know by commenting on this issue and we will keep it open; otherwise, we'll close it in a week. Feel free to open a new issue if you're seeing this message after the issue has been closed. Thanks for your help!