Comments (5)
I have did something with it and will present in next version. Now if your workspaces have multiroots, the language server will always use the settings of the first root.
It doesn't really solve the problem, because the server dose not fully support multiroots for now. Support for multipleroots is already planned, but with low priority, it may take a long time to fully address this issue.
from lua-language-server.
Thanks, I will try to support this.
from lua-language-server.
Has supported multi workspace.
from lua-language-server.
.vscode
should be placed at the root directoy of your workspace.
from lua-language-server.
In the event of multiroot workspaces, you have to define the globals in the workspace file itself. The plugin writes settings to whatever the current root folder is.
The plugin should detect if the workspace is multiroot or not. If it is multiroot, it should define the global variable settings in the workspace file.
from lua-language-server.
Related Issues (20)
- How to link to treesitter folder from `workspace.library`? HOT 3
- VSCode pop-up error `Request textDocument/documentSymbol failed.` when typing
- When using alias values as its keys, Dictionary types don't give completion when defining an instance of that dictionary
- Error returning derived classes
- Optional not removed in if/elseif block for field in filter
- 目录重命名, 移动目录, 在自动修改req路径时, 新路径会出现多余字符, 或者不修改
- [Future Ruquest] Add tracking for `rawset()` in function runtime and etc
- [Feature Request] Support custom file extension
- Command line doc_out_path arg doesn't work
- Missing fields on inherited class not resulting in diagnostics warnings
- Function with generic variable return type loses typing after first return
- ---@class with function return question
- Update EmmyLuaCodeStyle HOT 1
- Is there a plan to implement Pylance using the Lua language? HOT 4
- Union table|class doesn't accept a generic table and only accepts a class instance (causing false missing-fields diagnostic) HOT 3
- injection into the standard library
- inherited injected field unknown
- Needs a "don't use truthy types in a conditional/boolean context" diagnostic HOT 1
- The type of keys used to index [] tables is not checked HOT 1
- BUG: 当_ENV作为多重赋值的第一个变量时, 后续变量会错误的识别成局部变量. 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 lua-language-server.