file_path stringlengths 4 154 | file_url stringlengths 83 244 | repo_name stringlengths 8 65 | repo_description stringlengths 1 350 ⌀ | contributors listlengths 0 100 | commit_hash stringlengths 40 40 | license stringlengths 0 20.1k | license_url stringlengths 0 150 | file_content stringlengths 4 182k |
|---|---|---|---|---|---|---|---|---|
src\ServerScriptService\Examples\ServerMods\BasicWeapons.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Examples\ServerMods\BasicWeapons.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | local module = {}
function module:Setup(server)
--Give spawning players a weapon
server.OnPlayerSpawn:Connect(function(playerRecord)
--Give a machine gun
--playerRecord:AddWeaponByName("Machinegun", true)
playerRecord:AddWeaponByName("ProjectileSniper", true)
end)
server.OnBefo... |
src\ServerScriptService\Examples\ServerMods\DistanceCulling.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Examples\ServerMods\DistanceCulling.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | local module = {}
local path = game.ReplicatedFirst.Packages.Chickynoid
local Profiler = require(path.Shared.Vendor.Profiler)
function module:Setup(_server) end
module.gridSize = 64
module.radius = 400
function module:UpdateVisibility(server, debugBotBandwidth)
Profiler:BeginSample("Vis")
--Write all playe... |
src\ServerScriptService\Examples\ServerMods\Hitpoints.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Examples\ServerMods\Hitpoints.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | local module = {}
function module:Setup(server)
--Give spawning players 100 hp
server.OnPlayerSpawn:Connect(function(playerRecord)
playerRecord.hitPoints = 100
end)
end
function module:Step(server, _deltaTime)
local playerRecords = server:GetPlayers()
for _, playerRecord in pairs(playerRe... |
src\ServerScriptService\Examples\ServerMods\KillBrick.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Examples\ServerMods\KillBrick.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | local module = {}
--Implements basic killbrick functionality
--Any collidable part tagged with kill==true will instantly drop your HP to 0, calculated on the server
local path = game.ReplicatedFirst.Packages.Chickynoid
local ServerMods = require(game.ServerScriptService.Packages.Chickynoid.Server.ServerMods)
function... |
src\ServerScriptService\Examples\ServerMods\ServerFastProjectiles.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Examples\ServerMods\ServerFastProjectiles.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | local module = {}
module.bullets = {}
module.bulletId = 0
function module:Setup(_server) end
function module:FireBullet(origin, vec, speed, maxDistance, drop, serverTime)
--add the projectile
local bulletRecord = {}
bulletRecord.position = origin
bulletRecord.vec = vec
bulletRecord.serverTime = ... |
src\ServerScriptService\Examples\ServerMods\UseNicerHumanoid.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Examples\ServerMods\UseNicerHumanoid.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | local module = {}
function module:Setup(server)
server.OnPlayerConnected:Connect(function(serv, playerRecord)
playerRecord:SetCharacterMod("NicerHumanoid")
end)
end
return module
|
src\ServerScriptService\Packages\Chickynoid\Server\Antilag.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Packages\Chickynoid\Server\Antilag.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | --!native
local module = {}
module.history = {}
module.temporaryPositions = {}
local path = game.ReplicatedFirst.Packages.Chickynoid
local Enums = require(path.Shared.Enums)
function module:Setup(server)
module.server = server
end
function module:WritePlayerPositions(serverTime)
local players = self.server:G... |
src\ServerScriptService\Packages\Chickynoid\Server\Bots.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Packages\Chickynoid\Server\Bots.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | local Enums = require(game.ReplicatedFirst.Packages.Chickynoid.Shared.Enums)
local path = game.ReplicatedFirst.Packages.Chickynoid
local CommandLayout = require(path.Shared.Simulation.CommandLayout)
local module = {}
module.nextValidBotUserId = 26000
module.highFpsTest = true
--debug harness
local debugPlayers = {}
... |
src\ServerScriptService\Packages\Chickynoid\Server\ChickynoidServerScript.server.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Packages\Chickynoid\Server\ChickynoidServerScript.server.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | local ServerStorage = game:GetService("ServerStorage")
local ServerScriptService = game:GetService("ServerScriptService")
local ReplicatedFirst = game:GetService("ReplicatedFirst")
local Packages = game.ServerScriptService.Packages.Chickynoid.Server
local ServerModule = require(Packages.ServerModule)
local ServerMods ... |
src\ServerScriptService\Packages\Chickynoid\Server\ServerChickynoid.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Packages\Chickynoid\Server\ServerChickynoid.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | --!native
--[=[
@class ServerChickynoid
@server
Server-side character which exposes methods for manipulating a player's simulation
such as teleporting and applying impulses.
]=]
local path = game.ReplicatedFirst.Packages.Chickynoid
local Enums = require(path.Shared.Enums)
local EventType = Enums.Even... |
src\ServerScriptService\Packages\Chickynoid\Server\ServerMods.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Packages\Chickynoid\Server\ServerMods.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | --!native
local module = {}
module.mods = {}
--[=[
Registers a single ModuleScript as a mod.
@param mod ModuleScript -- Individual ModuleScript to be loaded as a mod.
]=]
function module:RegisterMod(context: string, mod: ModuleScript)
if not mod:IsA("ModuleScript") then
warn("Attempted to load", mod:Get... |
src\ServerScriptService\Packages\Chickynoid\Server\ServerModule.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Packages\Chickynoid\Server\ServerModule.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | --!native
--[=[
@class ChickynoidServer
@server
Server namespace for the Chickynoid package.
]=]
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local path = game.ReplicatedFirst.Packages.Chickynoid... |
src\ServerScriptService\Packages\Chickynoid\Server\ServerSnapshotGen.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Packages\Chickynoid\Server\ServerSnapshotGen.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | --!native
local module = {}
local UnreliableRemoteEvent = game.ReplicatedStorage:WaitForChild("ChickynoidUnreliableReplication") :: RemoteEvent
local path = game.ReplicatedFirst.Packages.Chickynoid
local Profiler = require(path.Shared.Vendor.Profiler)
local CharacterData = require(path.Shared.Simulation.CharacterData... |
src\ServerScriptService\Packages\Chickynoid\Server\WeaponsServer.lua | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/src\ServerScriptService\Packages\Chickynoid\Server\WeaponsServer.lua | easy-games/chickynoid | A server-authoritative networking character controller for Roblox. | [
"lukechatton",
"petergmcneill",
"MrChickenRocket",
"grilme99",
"Xuleos",
"liamlutton",
"spelled-ayayron",
"royal0959",
"ZeroParticle",
"sasial-dev",
"AxisAngles",
"optimisticside",
"Rob-bie",
"Yumacide"
] | 8c3b643526f2cd4f3b682a148f654071d530c004 | MIT License
Copyright (c) 2021 MrChickenRocket
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, d... | https://github.com/easy-games/chickynoid/blob/8c3b643526f2cd4f3b682a148f654071d530c004/LICENSE | --!native
local module = {}
module.rocketSerial = 0
module.rockets = {}
module.weaponSerials = 0
module.customWeapons = {}
local path = game.ReplicatedFirst.Packages.Chickynoid
local DeltaTable = require(path.Shared.Vendor.DeltaTable)
local Enums = require(path.Shared.Enums)
local Antilag = require(script.Parent.Ant... |
server\debugger.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\debugger.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | if not DEVELOP then
return
end
local fs = require("bee.filesystem")
local luaDebugs = {}
for _, vscodePath in ipairs({ ".vscode", ".vscode-insiders", ".vscode-server-insiders" }) do
local extensionPath = fs.path(os.getenv("USERPROFILE") or os.getenv("HOME")) / vscodePath / "extensions"
log.debug("Search extensions... |
server\platform.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\platform.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local script = ...
local function findExePath()
local n = 0
while arg[n - 1] do
n = n - 1
end
return arg[n]
end
local exePath = findExePath()
local exeDir = exePath:match("(.+)[/\\][%w_.-]+$")
local dll = package.cpath:match("[/\\]%?%.([a-z]+)")
package.cpath = ("%s/?.%s"):format(exeDir, dll)
-- local ok, err =... |
server\locale\en-us\library.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\locale\en-us\library.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | Enum = ""
UserSettings =
"Returns the UserSettings object, which is used to read information from the current user’s game menu settings."
_G = ""
_VERSION = ""
assert =
"Throws an error if the provided `value` is **false** or **nil**. If the assertion passes, it returns all values passed to it."
bit32 = ""
bit32.arsh... |
server\locale\en-us\script.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\locale\en-us\script.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | DIAG_LINE_ONLY_SPACE = "Line with spaces only."
DIAG_LINE_POST_SPACE = "Line with postspace."
DIAG_UNUSED_LOCAL = "Unused local `{}`."
DIAG_UNDEF_GLOBAL = "Undefined global `{}`."
DIAG_SUGGESTED_IMPORT = "Potential Import for `{}`."
DIAG_UNDEF_FIELD = "Undefined field `{}`."
DIAG_UNDEF_ENV_CHILD = "Undefined variable `... |
server\script\config.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\config.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local util = require("utility")
local define = require("proto.define")
local m = {}
m.version = 0
local function Boolean(v)
if type(v) == "boolean" then
return true, v
end
return false
end
local function Integer(v)
if type(v) == "number" then
return true, math.floor(v)
end
return false
end
local function ... |
server\script\doctor.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\doctor.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local type = type
local next = next
local ipairs = ipairs
local rawget = rawget
local pcall = pcall
local getregistry = debug.getregistry
local getmetatable = debug.getmetatable
local getupvalue = debug.getupvalue
local getuservalue = debug.getuservalue
local getlocal = debug.getlocal
local getinfo = debug.getinfo
loca... |
server\script\file-uri.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\file-uri.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local platform = require("bee.platform")
---@class uri: string
local escPatt = "[^%w%-%.%_%~%/]"
local function esc(c)
return ("%%%02X"):format(c:byte())
end
local function normalize(str)
return str:gsub("%%(%x%x)", function(n)
return string.char(tonumber(n, 16))
end)
end
local m = {}
-- c:\my\files ... |
server\script\fs-utility.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\fs-utility.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local fs = require("bee.filesystem")
local platform = require("bee.platform")
local type = type
local ioOpen = io.open
local pcall = pcall
local pairs = pairs
local setmetatable = setmetatable
local next = next
local ipairs = ipairs
local tostring = tostring
local tableSort = table.sort
_ENV = nil
local m = {}
--- 读... |
server\script\json-beautify.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\json-beautify.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local json = require("json")
local type = type
local next = next
local error = error
local table_concat = table.concat
local table_sort = table.sort
local string_rep = string.rep
local math_type = math.type
local setmetatable = setmetatable
local getmetatable = getmetatable
local statusMark
local statusQue
local statu... |
server\script\json.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\json.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local type = type
local next = next
local error = error
local tonumber = tonumber
local tostring = tostring
local utf8_char = utf8.char
local table_concat = table.concat
local table_sort = table.sort
local string_char = string.char
local string_byte = string.byte
local string_find = string.find
local string_match = str... |
server\script\jsonrpc.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\jsonrpc.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local json = require("json")
local pcall = pcall
local tonumber = tonumber
local util = require("utility")
---@class jsonrpc
local m = {}
m.type = "jsonrpc"
function m.encode(pack)
pack.jsonrpc = "2.0"
local content = json.encode(pack)
local buf = ("Content-Length: %d\r\n\r\n%s"):format(#content, content)
return ... |
server\script\language.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\language.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local fs = require("bee.filesystem")
local util = require("utility")
local lloader = require("locale-loader")
local function supportLanguage()
local list = {}
for path in fs.pairs(ROOT / "locale") do
if fs.is_directory(path) then
list[#list + 1] = path:filename():string():lower()
end
end
return list
end
lo... |
server\script\locale-loader.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\locale-loader.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local function mergeKey(key, k)
if not key then
return k
end
if k:sub(1, 1):match("%w") then
return key .. "." .. k
else
return key .. k
end
end
local function proxy(results, key)
return setmetatable({}, {
__index = function(_, k)
return proxy(results, mergeKey(key, k))
end,
__newindex = function(... |
server\script\log.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\log.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local fs = require("bee.filesystem")
local time = require("bee.time")
local monotonic = time.monotonic
local osDate = os.date
local ioOpen = io.open
local tablePack = table.pack
local tableConcat = table.concat
local tostring = tostring
local debugTraceBack = debug.traceback
local mathModf = math.modf
local debugGetIn... |
server\script\text-merger.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\text-merger.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local util = require("utility")
local encoder = require("encoder")
local client = require("provider.client")
local offsetEncoding
local function getOffsetEncoding()
if not offsetEncoding then
offsetEncoding = client.getOffsetEncoding():lower():gsub("%-", "")
end
return offsetEncodin... |
server\script\timer.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\timer.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local time = require("bee.time")
local setmetatable = setmetatable
local mathMax = math.max
local mathFloor = math.floor
local monotonic = time.monotonic
local xpcall = xpcall
local logError = log.error
_ENV = nil
local curFrame = 0
local maxFrame = 0
local curIndex = 0
local freeQueue = {}
local timer = {}
local fu... |
server\script\tracy.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\tracy.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local originTracy
local function enable()
if not originTracy then
local suc = pcall(require, "luatracy")
if suc then
originTracy = tracy
else
originTracy = {
ZoneBeginN = function(info) end,
ZoneEnd = function() end,
}
end
end
tracy = originTracy
end
local function disable()
tracy = {
Z... |
server\script\utility.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\utility.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local tableSort = table.sort
local stringRep = string.rep
local tableConcat = table.concat
local tostring = tostring
local type = type
local pairs = pairs
local ipairs = ipairs
local next = next
local rawset = rawset
local move = table.move
local setmetatable = debug.setmetatable
local mathType = math.type
local mathCe... |
server\script\without-check-nil.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\without-check-nil.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local m = {}
local mt = {}
mt.__add = function(a, b)
if a == nil then
a = 0
end
if b == nil then
b = 0
end
return a + b
end
mt.__sub = function(a, b)
if a == nil then
a = 0
end
if b == nil then
b = 0
end
return a - b
end
mt.__mul = function(a, b)
if a == nil then
a = 0
end
if b == nil then
b =... |
server\script\xml.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\xml.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | -- from https://github.com/jonathanpoelen/xmlparser
local io, string, pairs = io, string, pairs
local xml = {}
xml.parser = {}
-- http://lua-users.org/wiki/StringTrim
local trim = function(s)
local from = s:match("^%s*()")
return from > #s and "" or s:match(".*%S", from)
end
local gtchar = string.byte(">", 1)
loc... |
server\script\brave\init.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\brave\init.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local brave = require("brave.brave")
require("brave.work")
return brave
|
server\script\brave\log.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\brave\log.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local brave = require("brave")
local time = require("bee.time")
local tablePack = table.pack
local tostring = tostring
local tableConcat = table.concat
local debugTraceBack = debug.traceback
local debugGetInfo = debug.getinfo
local monotonic = time.monotonic
_ENV = nil
local function pushLog(level, ...)
local t = t... |
server\script\brave\work.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\brave\work.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local brave = require("brave.brave")
local parser = require("parser")
local fs = require("bee.filesystem")
local furi = require("file-uri")
local util = require("utility")
local thread = require("bee.thread")
brave.on("loadProto", function()
local jsonrpc = require("jsonrpc")
while true do
local proto, err = jsonr... |
server\script\core\code-action.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\code-action.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local lang = require("language")
local guide = require("core.guide")
local util = require("utility")
local sp = require("bee.subprocess")
local vm = require("vm")
local config = require("config")
local rbximports = require("core.module-import")
local function checkDisableByLuaDocExits(ur... |
server\script\core\color-picker.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\color-picker.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local brickcolors = require("library.brickcolors")
local vm = require("vm")
local COLOR3_CONSTRUCTORS = {
["Color3.new"] = true,
["Color3.fromRGB"] = true,
["Color3.fromHSV"] = true,
}
local function hsvToRgb(h, s, v, a)
local r, g, b
local i = ... |
server\script\core\document-link.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\document-link.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local vm = require("vm")
return function(uri)
local ast = files.getAst(uri)
if not ast then
return
end
local results = {}
guide.eachSourceType(ast.ast, "call", function(source)
if source.node.special == "require" then
if source.args and sou... |
server\script\core\end-completion.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\end-completion.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local proto = require("proto")
local accept = {
["ifblock"] = true,
["function"] = true,
["do"] = true,
["while"] = true,
["in"] = true,
["loop"] = true,
}
return function(uri, position)
local ast = files.getAst(uri)
if (not ast) or #ast.errs ... |
server\script\core\find-source.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\find-source.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local guide = require("core.guide")
local function isValidFunctionPos(source, offset)
for i = 1, #source.keyword // 2 do
local start = source.keyword[i * 2 - 1]
local finish = source.keyword[i * 2]
if offset >= start and offset <= finish then
return true
end
end
return false
end
return function(ast, off... |
server\script\core\folding.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\folding.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local util = require("utility")
local Care = {
["function"] = function(source, text, results)
local folding = {
start = source.start,
finish = source.finish,
kind = "region",
}
results[#results + 1] = folding
if source.bindDocs then
... |
server\script\core\highlight.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\highlight.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local guide = require("core.guide")
local files = require("files")
local vm = require("vm")
local define = require("proto.define")
local findSource = require("core.find-source")
local util = require("utility")
local function eachRef(source, callback)
local results = guide.requestReference(source)
for i = 1, #results... |
server\script\core\hint.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\hint.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local vm = require("vm")
local config = require("config")
local getReturn = require("core.hover.return")
local util = require("utility")
local function typeHint(uri, edits, start, finish)
local ast = files.getAst(uri)
if not ast then
return
end
l... |
server\script\core\match-key.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\match-key.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | ---@param input string
---@param other string
---@param fast boolean
---@return boolean isMatch
---@return number deviation
return function(input, other, fast)
if input == other then
return true, 0
end
if input == "" then
return true, 0
end
if #input > #other then
return false, 0
end
local lMe = input:lo... |
server\script\core\module-import.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\module-import.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local rbxlibs = require("library.rbxlibs")
local config = require("config")
local glob = require("glob")
local furi = require("file-uri")
local util = require("utility")
local guide = require("core.guide")
local calcline = require("parser.calcline")
local files = require("files")
local vm = require("vm")
local rbximpo... |
server\script\core\rename.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\rename.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local vm = require("vm")
local guide = require("core.guide")
local proto = require("proto")
local define = require("proto.define")
local util = require("utility")
local findSource = require("core.find-source")
local ws = require("workspace")
local Forcing
local function askForcing(str)
... |
server\script\core\semantic-tokens.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\semantic-tokens.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local await = require("await")
local define = require("proto.define")
local vm = require("vm")
local defaultlibs = require("library.defaultlibs")
local Care = {}
Care["setglobal"] = function(source, results)
local isLib = vm.isGlobalLibraryName(source... |
server\script\core\signature.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\signature.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local vm = require("vm")
local hoverLabel = require("core.hover.label")
local hoverDesc = require("core.hover.description")
local function findNearCall(uri, ast, pos)
local text = files.getText(uri)
local nearCall
guide.eachSourceContain(ast.ast, po... |
server\script\core\type-formatting.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\type-formatting.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local lookBackward = require("core.look-backward")
local guide = require("core.guide")
local function insertIndentation(uri, offset, edits)
local lines = files.getLines(uri)
local text = files.getOriginText(uri)
local row = guide.positionOf(lines, offset)
local line = lines[row]
loc... |
server\script\core\workspace-symbol.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\workspace-symbol.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local matchKey = require("core.match-key")
local define = require("proto.define")
local await = require("await")
local workspace = require("workspace")
local function buildSource(uri, source, key, results)
if source.dummy then
return
end
if source... |
server\script\core\command\jsonToLua.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\command\jsonToLua.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local json = require("json")
local util = require("utility")
local proto = require("proto")
local define = require("proto.define")
local lang = require("language")
return function(data)
local text = files.getText(data.uri)
if not text then
return
end
local jsonStr = text:sub(data.s... |
server\script\core\command\solve.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\command\solve.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local define = require("proto.define")
local guide = require("core.guide")
local proto = require("proto")
local lang = require("language")
local opMap = {
["+"] = true,
["-"] = true,
["*"] = true,
["/"] = true,
["//"] = true,
["^"] = true,
["<<"] = true,
[">>"] = true,
["&"] = t... |
server\script\core\diagnostics\deprecated.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\deprecated.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local vm = require("vm")
local lang = require("language")
local guide = require("core.guide")
local config = require("config")
local define = require("proto.define")
local await = require("await")
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
en... |
server\script\core\diagnostics\duplicate-doc-class.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\duplicate-doc-class.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
local define = require("proto.define")
local vm = require("vm")
return function(uri, callback)
local state = files.getAst(uri)
if not state then
return
end
if not state.ast.docs then
return
end
local cache =... |
server\script\core\diagnostics\duplicate-doc-field.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\duplicate-doc-field.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local lang = require("language")
return function(uri, callback)
local state = files.getAst(uri)
if not state then
return
end
if not state.ast.docs then
return
end
local mark
for _, group in ipairs(state.ast.docs.groups) do
for _, doc in ipairs(group) do
if doc.type == "... |
server\script\core\diagnostics\duplicate-index.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\duplicate-index.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
local define = require("proto.define")
local vm = require("vm")
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
end
guide.eachSourceType(ast.ast, "table", function(source)
lo... |
server\script\core\diagnostics\empty-block.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\empty-block.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
local define = require("proto.define")
-- 检查空代码块
-- 但是排除忙等待(repeat/while)
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
end
guide.eachSourceType(ast.ast, "if", function(sourc... |
server\script\core\diagnostics\global-in-nil-env.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\global-in-nil-env.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
-- TODO: 检查路径是否可达
local function mayRun(path)
return true
end
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
end
local root = guide.getRoot(ast.ast)
local env = guide.getENV... |
server\script\core\diagnostics\init.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\init.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local define = require("proto.define")
local config = require("config")
local await = require("await")
local vm = require("vm.vm")
-- 把耗时最长的诊断放到最后面
local diagPriority = {
["suggested-import"] = true,
}
local diagList = {}
for k in pairs(define.DiagnosticDefaultSeverity) do
diagList[#d... |
server\script\core\diagnostics\invalid-class-name.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\invalid-class-name.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
local rbxlibs = require("library.rbxlibs")
local vm = require("vm")
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
end
guide.eachSourceType(ast.ast, "callargs", function(source... |
server\script\core\diagnostics\newfield-call.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\newfield-call.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
end
local lines = files.getLines(uri)
local text = files.getText(uri)
guide.eachSourceType(ast.ast, "table", function(source)... |
server\script\core\diagnostics\newline-call.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\newline-call.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
return function(uri, callback)
local ast = files.getAst(uri)
local lines = files.getLines(uri)
local text = files.getText(uri)
if not ast or not lines then
return
end
guide.eachSourceType(ast.ast, "call", funct... |
server\script\core\diagnostics\no-implicit-any.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\no-implicit-any.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
local define = require("proto.define")
local vm = require("vm")
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
end
guide.eachSource(ast.ast, function(source)
if
source.ty... |
server\script\core\diagnostics\redefined-local.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\redefined-local.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
end
guide.eachSourceType(ast.ast, "local", function(source)
local name = source[1]
if name == "_" or name == ast.ENVMode then... |
server\script\core\diagnostics\redefined-type.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\redefined-type.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
local rbxlibs = require("library.rbxlibs")
local vm = require("vm")
local function checkSelfRecursiveTypeAlias(typeAlias, value, mark)
mark = mark or {}
if mark[value] then
return true
end
mark[value] = true
if v... |
server\script\core\diagnostics\redundant-parameter.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\redundant-parameter.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local vm = require("vm")
local lang = require("language")
local define = require("proto.define")
local await = require("await")
local function countCallArgs(source)
local result = 0
if not source.args then
return 0
end
result = result + #source.a... |
server\script\core\diagnostics\redundant-value.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\redundant-value.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local define = require("proto.define")
local lang = require("language")
return function(uri, callback, code)
local ast = files.getAst(uri)
if not ast then
return
end
local diags = ast.diags[code]
if not diags then
return
end
for _, info in ipairs(diags) do
callback({
st... |
server\script\core\diagnostics\suggested-import.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\suggested-import.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local vm = require("vm")
local lang = require("language")
local config = require("config")
local guide = require("core.guide")
local rbximports = require("core.module-import")
local rbxlibs = require("library.rbxlibs")
local function checkGlobal(src, uri, callback)
local key = guide.get... |
server\script\core\diagnostics\unbalanced-assignments.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\unbalanced-assignments.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local define = require("proto.define")
local lang = require("language")
local guide = require("core.guide")
return function(uri, callback, code)
local ast = files.getAst(uri)
if not ast then
return
end
local last
local function checkSet(source)
if source.value then
last = s... |
server\script\core\diagnostics\undefined-doc-name.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\undefined-doc-name.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
local define = require("proto.define")
local vm = require("vm")
return function(uri, callback)
local state = files.getAst(uri)
if not state then
return
end
if not state.ast.docs then
return
end
local classCa... |
server\script\core\diagnostics\undefined-env-child.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\undefined-env-child.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local vm = require("vm")
local lang = require("language")
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
end
guide.eachSourceType(ast.ast, "getglobal", function(source)
-- 单独验证自己是否在重载过的 _ENV 中有定义
if source... |
server\script\core\diagnostics\undefined-global.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\undefined-global.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local vm = require("vm")
local lang = require("language")
local config = require("config")
local guide = require("core.guide")
local function check(src, uri, callback)
local key = guide.getKeyName(src)
if not key then
return
end
if config.config.diagnostics.globals[key] then
retu... |
server\script\core\diagnostics\undefined-type.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\undefined-type.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local lang = require("language")
local rbxlibs = require("library.rbxlibs")
local vm = require("vm")
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
end
guide.eachSourceType(ast.ast, "type.name", function(sourc... |
server\script\core\diagnostics\unknown-diag-code.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\unknown-diag-code.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local lang = require("language")
local define = require("proto.define")
return function(uri, callback)
local state = files.getAst(uri)
if not state then
return
end
if not state.ast.docs then
return
end
for _, doc in ipairs(state.ast.docs) do
if doc.type == "doc.diagnostic" ... |
server\script\core\diagnostics\unused-function.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\unused-function.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local vm = require("vm")
local define = require("proto.define")
local lang = require("language")
local await = require("await")
local client = require("provider.client")
local function isToBeClosed(source)
if not source.attrs then
return false
end
... |
server\script\core\diagnostics\unused-local.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\unused-local.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local define = require("proto.define")
local lang = require("language")
local function hasGet(loc)
if not loc.ref then
return false
end
local weak
for _, ref in ipairs(loc.ref) do
if ref.type == "getlocal" then
if not ref.next then
retur... |
server\script\core\diagnostics\unused-vararg.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\diagnostics\unused-vararg.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local define = require("proto.define")
local lang = require("language")
return function(uri, callback)
local ast = files.getAst(uri)
if not ast then
return
end
guide.eachSourceType(ast.ast, "function", function(source)
local args = source.args... |
server\script\core\hover\generic.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\hover\generic.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local guide = require("core.guide")
return function(source)
if not source.generics then
return ""
end
return guide.buildTypeAnn(source.generics)
end
|
server\script\core\hover\init.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\hover\init.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local files = require("files")
local guide = require("core.guide")
local vm = require("vm")
local getLabel = require("core.hover.label")
local getDesc = require("core.hover.description")
local buildName = require("core.hover.name")
local buildArg = require("core.hover.arg")
local buildReturn = require("core.hover.retur... |
server\script\core\hover\label.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\hover\label.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local buildName = require("core.hover.name")
local buildArg = require("core.hover.arg")
local buildReturn = require("core.hover.return")
local buildTable = require("core.hover.table")
local buildGeneric = require("core.hover.generic")
local vm = require("vm")
local util = require("utility")
local guide = require("core.... |
server\script\core\hover\name.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\hover\name.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local guide = require("core.guide")
local vm = require("vm")
local buildName
local function asLocal(source)
return guide.getKeyName(source)
end
local function asField(source, oop)
local class
if source.node.type ~= "getglobal" then
class = vm.getClass(source.node, 0)
end
local node = class or guide.getKeyName... |
server\script\core\hover\return.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\core\hover\return.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local guide = require("core.guide")
local vm = require("vm")
local function mergeTypes(returns)
if type(returns) == "string" then
return returns
end
return guide.mergeTypes(returns)
end
local function getReturnDualByDoc(source)
local docs = source.bindDocs
if not docs then
return
end
local dual
for _, doc... |
server\script\encoder\ansi.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\encoder\ansi.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local platform = require("bee.platform")
local unicode
if platform.OS == "Windows" then
unicode = require("bee.unicode")
end
local m = {}
function m.toutf8(text)
if not unicode then
return text
end
return unicode.a2u(text)
end
function m.fromutf8(text)
if not unicode then
return text
end
return unicode.u... |
server\script\encoder\init.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\encoder\init.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local ansi = require("encoder.ansi")
local utf16 = require("encoder.utf16")
local utf16le = utf16("le", utf8.codepoint("�"))
local utf16be = utf16("be", utf8.codepoint("�"))
---@alias encoder.encoding '"utf8"'|'"utf16"'|'"utf16le"'|'"utf16be"'
---@alias encoder.bom '"no"'|'"yes"'|'"auto"'
local m = {}
---@param enc... |
server\script\glob\gitignore.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\glob\gitignore.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local m = require("lpeglabel")
local matcher = require("glob.matcher")
local function prop(name, pat)
return m.Cg(m.Cc(true), name) * pat
end
local function object(type, pat)
return m.Ct(m.Cg(m.Cc(type), "type") * m.Cg(pat, "value"))
end
local function expect(p, err)
return p + m.T(err)
end
local parser = m.P({
... |
server\script\glob\glob.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\glob\glob.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local m = require("lpeglabel")
local matcher = require("glob.matcher")
local function prop(name, pat)
return m.Cg(m.Cc(true), name) * pat
end
local function object(type, pat)
return m.Ct(m.Cg(m.Cc(type), "type") * m.Cg(pat, "value"))
end
local function expect(p, err)
return p + m.T(err)
end
local parser = m.P({
... |
server\script\glob\init.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\glob\init.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | return {
glob = require("glob.glob"),
gitignore = require("glob.gitignore"),
}
|
server\script\glob\matcher.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\glob\matcher.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local m = require("lpeglabel")
local Slash = m.S("/\\") ^ 1
local Symbol = m.S(",{}[]*?/\\")
local Char = 1 - Symbol
local Path = Char ^ 1 * Slash
local NoWord = #(m.P(-1) + Symbol)
local function whatHappened()
return m.Cmt(m.P(1) ^ 1, function(...)
print(...)
end)
end
local mt = {}
mt.__index = mt
mt.__name = "... |
server\script\library\brickcolors.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\library\brickcolors.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | return {
["White"] = "rgb(242, 243, 243)",
["Grey"] = "rgb(161, 165, 162)",
["Light yellow"] = "rgb(249, 233, 153)",
["Brick yellow"] = "rgb(215, 197, 154)",
["Light green (Mint)"] = "rgb(194, 218, 184)",
["Light reddish violet"] = "rgb(232, 186, 200)",
["Pastel Blue"] = "rgb(128, 187, 219)",
["Light orange bro... |
server\script\library\defaultlibs.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\library\defaultlibs.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local lang = require("language")
local util = require("utility")
local fs = require("bee.filesystem")
local m = {}
m.namespace = {
Enum = true,
Roact = true,
Rodux = true,
}
m.primitiveTypes = {
["string"] = true,
["table"] = true,
["boolean"] = true,
["number"] = true,
["thread"] = true,
["any"] = true,
[... |
server\script\library\rojo.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\library\rojo.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local config = require("config")
local defaultlibs = require("library.defaultlibs")
local define = require("proto.define")
local fs = require("bee.filesystem")
local furi = require("file-uri")
local json = require("json")
local util = require("utility")
local platform = require("bee.platform")
local sp = require("bee.s... |
server\script\parser\calcline.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\parser\calcline.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local m = require("lpeglabel")
local util = require("utility")
local row
local fl
local NL = (m.P("\r\n") + m.S("\r\n")) * m.Cp() / function(pos)
row = row + 1
fl = pos
end
local ROWCOL = (NL + m.P(1)) ^ 0
local function rowcol(str, n)
row = 1
fl = 1
ROWCOL:match(str:sub(1, n))
local col = n - fl + 1
return row... |
server\script\parser\grammar.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\parser\grammar.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local re = require("parser.relabel")
local m = require("lpeglabel")
local ast = require("parser.ast")
local scriptBuf = ""
local compiled = {}
local defs = ast.defs
-- goto 可以作为名字,合法性之后处理
local RESERVED = {
["and"] = true,
["break"] = true,
["do"] = true,
["else"] = true,
["elseif"] = true,
["end"] = true,
["f... |
server\script\parser\init.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\parser\init.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local api = {
grammar = require("parser.grammar"),
parse = require("parser.parse"),
compile = require("parser.compile"),
split = require("parser.split"),
calcline = require("parser.calcline"),
lines = require("parser.lines"),
luadoc = require("parser.luadoc"),
}
return api
|
server\script\parser\lines.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\parser\lines.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local m = require("lpeglabel")
_ENV = nil
local function Line(start, line, range, finish)
line.start = start
line.finish = finish - 1
line.range = range - 1
return line
end
local function Space(...)
local line = { ... }
local sp = 0
local tab = 0
for i = 1, #line do
if line[i] == " " then
sp = sp + 1
... |
server\script\parser\luadoc.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\parser\luadoc.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local m = require("lpeglabel")
local re = require("parser.relabel")
local lines = require("parser.lines")
local guide = require("core.guide")
local grammar = require("parser.grammar")
local TokenTypes, TokenStarts, TokenFinishs, TokenContents
local Ci, Offset, pushError, Ct, NextComment, Lines
local parseType
local Pa... |
server\script\parser\parse.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\parser\parse.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | local ast = require("parser.ast")
return function(self, lua, mode, options)
local errs = {}
local diags = {}
local comms = {}
local state = {
lua = lua,
root = {},
errs = errs,
diags = diags,
comms = comms,
options = options or {},
pushError = function(err)
if err.finish < err.start then
err.f... |
server\script\parser\relabel.lua | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/server\script\parser\relabel.lua | NightrainsRbx/RobloxLsp | Roblox Luau Language Server based on Lua by sumneko. | [
"NightrainsRbx",
"Corecii",
"BaileyTab",
"JohnnyMorganz",
"mkargus",
"stravant",
"xskullcrow",
"BAG0N",
"MaximumADHD",
"ykh09242",
"DervexDev",
"Dekkonot",
"RadiatedExodus",
"ThatTimothy",
"Wingysam",
"Yumacide",
"ZachCurtis",
"tommyscholly",
"craz3707",
"howmanysmall",
"loud... | 772b521ab63256bf93bbaa22218d985d8191649d | MIT License
Copyright (c) 2018 最萌小汐
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, ... | https://github.com/NightrainsRbx/RobloxLsp/blob/772b521ab63256bf93bbaa22218d985d8191649d/LICENSE | -- $Id: re.lua,v 1.44 2013/03/26 20:11:40 roberto Exp $
-- imported functions and modules
local tonumber, type, print, error = tonumber, type, print, error
local pcall = pcall
local setmetatable = setmetatable
local tinsert, concat = table.insert, table.concat
local rep = string.rep
local m = require("lpeglabel")
-- ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.