Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
10c2a63
Split Roblox-specific functionality into dedicated interface
voidedWarranties Nov 30, 2023
76e7aff
Merge branch 'main' of https://github.com/JohnnyMorganz/luau-lsp into…
JohnnyMorganz Dec 26, 2023
d3e5402
Fix frontend reference
JohnnyMorganz Dec 31, 2023
de6591f
Merge branch 'main' of https://github.com/JohnnyMorganz/luau-lsp into…
voidedWarranties Dec 31, 2023
901d216
Address initial review items
voidedWarranties Jan 1, 2024
a5319d2
Split RobloxPlatform into multiple files
voidedWarranties Jan 2, 2024
fbce308
Move some WorkspaceFileResolver functions into LSPPlatform
voidedWarranties Jan 6, 2024
9d762b7
Merge branch 'main' of https://github.com/JohnnyMorganz/luau-lsp into…
voidedWarranties Jan 6, 2024
77526ed
Fix MSVC build
voidedWarranties Jan 14, 2024
aff460b
Address review items
voidedWarranties Jan 20, 2024
9e72f06
Merge branch 'main' of https://github.com/JohnnyMorganz/luau-lsp into…
voidedWarranties Feb 23, 2024
63fdaf9
Initial extension split
voidedWarranties Feb 23, 2024
2a58485
Update extension config and config usage
voidedWarranties Feb 23, 2024
cfb8ba6
Merge branch 'main' of https://github.com/JohnnyMorganz/luau-lsp into…
voidedWarranties Apr 9, 2024
02ecb58
Resolve some issues
voidedWarranties Apr 9, 2024
7e16b8d
Merge branch 'main' of https://github.com/JohnnyMorganz/luau-lsp into…
JohnnyMorganz May 18, 2024
a60b248
Remove unused client config changes
JohnnyMorganz May 18, 2024
6b63e9a
Simplify readSourceCode
JohnnyMorganz May 18, 2024
de52f22
Merge branch 'main' into platform-specific-split
JohnnyMorganz May 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [Unreleased]

### Deprecated

- Deprecated `luau-lsp.types.roblox` setting in favour of `luau-lsp.platform.type`

### Added

- Added `luau-lsp.platform.type` to separate platform-specific functionality from the main LSP
- Added option `--platform` to analyze CLI to make configuring `luau-lsp.platform.type` more convenient

## [1.29.1] - 2024-05-19

### Changed
Expand Down
12 changes: 10 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,23 @@ target_sources(Luau.LanguageServer PRIVATE
src/Uri.cpp
src/WorkspaceFileResolver.cpp
src/Workspace.cpp
src/Sourcemap.cpp
src/TextDocument.cpp
src/Client.cpp
src/DocumentationParser.cpp
src/LuauExt.cpp
src/IostreamHelpers.cpp
src/Utils.cpp
src/StudioPlugin.cpp
src/CliConfigurationParser.cpp
src/platform/LSPPlatform.cpp
src/platform/roblox/RobloxCodeAction.cpp
src/platform/roblox/RobloxColorProvider.cpp
src/platform/roblox/RobloxCompletion.cpp
src/platform/roblox/RobloxFileResolver.cpp
src/platform/roblox/RobloxLanguageServer.cpp
src/platform/roblox/RobloxLuauExt.cpp
src/platform/roblox/RobloxSourcemap.cpp
src/platform/roblox/RobloxSourceNode.cpp
src/platform/roblox/RobloxStudioPlugin.cpp
src/operations/Diagnostics.cpp
src/operations/Completion.cpp
src/operations/DocumentSymbol.cpp
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ looking for any specific features, please get in touch!
### For Rojo Users (requires `v7.3.0+`)

By default, the latest Roblox type definitions and documentation are preloaded out of the box.
This can be disabled by configuring `luau-lsp.types.roblox`.
This can be disabled by configuring `luau-lsp.platform.type`.

The language server uses Rojo-style sourcemaps to resolve DataModel instance trees for intellisense.
This is done by running `rojo sourcemap --watch default.project.json --output sourcemap.json`.
Expand Down
14 changes: 13 additions & 1 deletion editors/code/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@
],
"scope": "resource"
},
"luau-lsp.platform.type": {
"markdownDescription": "Platform-specific support features",
"type": "string",
"enum": [
"standard",
"roblox"
],
"scope": "window",
"default": "roblox"
},
"luau-lsp.sourcemap.enabled": {
"markdownDescription": "Whether Rojo sourcemap parsing is enabled",
"type": "boolean",
Expand Down Expand Up @@ -235,7 +245,9 @@
"scope": "window",
"tags": [
"usesOnlineServices"
]
],
"markdownDeprecationMessage": "**Deprecated**: Please use `#luau-lsp.platform.type#` instead.",
"deprecationMessage": "Deprecated: Please use luau-lsp.platform.type instead."
},
"luau-lsp.types.robloxSecurityLevel": {
"markdownDescription": "Security Level to use in the Roblox API definitions",
Expand Down
Loading