Updating the instance tree manually seems to have become impossible. it generates a one-line script so long studio crashes, and I can’t seem to stop that from happening, even with ignore setup:
I was looking through the forum to see if any new cool stuff had been released for the development community who utilize VSC and Rojo and I came across this article here:
and I feel like this is could be one of the single most important additions you could implement to Roblox LSP. Seeing as to how I know absolutely nothing about how to do this and I’m not even sure if it’s possible, I know that I use DocBlocks in Roblox-TS and it is one of the most useful programming tools. This could really help with developers workflow if implemented.
Some times i just get an popop in the corner and a error in the output:
[Error - 7:45:29 AM] Request textDocument/hover failed.
Message: {
position = {
character = 21,
line = 284,
},
textDocument = {
uri = "file:///c%3A/Users/xxxxx/Desktop/Projects/src/ReplicatedStorage/Mango/Modules/Network/init.lua",
},
}
...ains.robloxlsp-0.14.3/server/script/core\hover\hover.lua:292: attempt to index a nil value (local 'func')
stack traceback:
...ains.robloxlsp-0.14.3/server/script/core\hover\hover.lua:292: in function <...ains.robloxlsp-0.14.3/server/script/core\hover\hover.lua:273>
(...tail calls...)
...oxlsp-0.14.3/server/script/method\textDocument\hover.lua:40: in function 'method.textDocument.hover'
[C]: in function 'xpcall'
...ns/nightrains.robloxlsp-0.14.3/server/script/service.lua:62: in method '_callMethod'
...ns/nightrains.robloxlsp-0.14.3/server/script/service.lua:106: in method '_doProto'
...ns/nightrains.robloxlsp-0.14.3/server/script/service.lua:803: in method '_loadProto'
...ns/nightrains.robloxlsp-0.14.3/server/script/service.lua:1064: in method 'onTick'
...ns/nightrains.robloxlsp-0.14.3/server/script/service.lua:1087: in method 'listen'
...e\extensions\nightrains.robloxlsp-0.14.3\server\main.lua:24: in main chunk
[C]: in ?
Code: -32603
This happens every time i try to access a function or property.
I don’t like the thing that variable’s color is the same as Property color.
Is there a setting somewhere to change it? Would be cool if I’d get an answer.
It just hurts my eyes, especially with the “One Dark Pro” theme:
The suggestions also appear while writing in a string or a comment, but I can deal with it.
Hey! I’m trying to get the auto instance tree setup to work. When I start rojo, it always shows this:
I set the port to the port I’m using for all settings (the one in VSCode, the LSP settings in studio, and in rojo). It doesn’t set the default.project.json file to the parts. It is connected and the intellisense is incorrect for me.
This is Baseplate in default.project.json
And this is Workspace
Everything else works for VSCode and syncing, but auto instance tree doesn’t work.
Are you using the same port on Rojo and Roblox LSP?
That’s what you don’t have to do, you must set a different port, the port for Roblox LSP for VSCode and Roblox LSP Plugin for Roblox Studio must be the same, not Rojo and Roblox LSP.
The default.project.json in Rojo has nothing to do too.
To get autocompletion of datamodel descendants, install this plugin in Roblox Studio, then when the vscode extension is running (you have to open a .lua file first), click in the button Connect in the Toolbar.