Roblox LSP - Full Intellisense for Roblox and Luau!

For some reason I only seem to be able to reproduce this in one script, I’ll report it with more info if I get anything later.

Nevermind, seems like putting it on a variable is the problem.

1 Like

Do I still need to disable it? The warning is not on the extension settings anymore, and it works as far as I know just fine with both diagnostics enabled, unless I’m missing something.

I like how LSP just makes empty code blocks / basically anything empty be faded, it’s useful to figure out unused code, and I wanna use selene but I don’t want to lose that, which afaik I can’t get on Selene only.

Yeah, you have to disable Roblox LSP diagnostics completely, I thought it was not important to add an option to just disable syntax errors.

You also can use Roblox LSP diagnostics only, I think they are stable enough to be a good alternative to selene.

1 Like

There are two bugs with this:

  1. Coloring breaks here

  2. if statement snippets dont autcomplete correctly unless I move cursor down and back up

Yes, the if statement auto-completion doesn’t work well

This is not a problem with Roblox LSP but with VSCode, you have to disable editor.suggest.snippetsPreventQuickSuggestions, this setting was added recently.

3 Likes

Extremely useful, although a function that silents a error would be helpfull allot!

Unsure if this is a bug that has already been reported, by specifying variable types affects the autocomplete of children. This includes not detecting children that are in the VSC explorer and not showing autocomplete for subsequently required modules.

Here’s an example:

As always, this is such a fantastic plugin. It has saved me more time than I could possibly measure. Thank you for all of the great updates and work you do on this!

Excellent extension! This should be the first extension any Roblox dev using vscode installs.

Is there (or could there be) an option to specify which .project.json file should be used in a specific file (e.g. --@project test.project.json)? It’s not a big deal, but my test runner script is flashing up yellow in my file explorer tab, and that’s because the LSP is using my default.project.json and not the test.project.json, which is specific to this file only.

Alternatively, having the LSP detect and set the correct typechecking mode for a file by identifying the mode specified on the first line would probably be fine too (I understand it’s currently a beta feature). I’m quite happy to add --!nocheck to the first line of my test bootstrapper, since it only requires testez and loads in the project files.

You can specify the name of the .project.json file in the extension settings.
image
Change only Workspace Settings so it doesn’t affect other projects.

Can someone help me with the extension?

Sometimes it works in some scripts but in some it doesn’t or sometimes it doesn’t work at all and it’s very uncomfortable to work like this.

I’m using the extension for more than 5 months and never had problems, I’m since a few days like this and it’s getting worse and worse.

I tried disabling the VSC extensions I don’t use, removing the extension, uninstalling VSC and deleting the cache + all data, trying with another file and still it keeps giving the same result.

btw, nothing shows up in Output. I would be very grateful if someone could help me :heart:

https://gyazo.com/4220bf290cb7c4f3bff05398611aa208
image

Hello, wonderful extension that I’ve been using for a while now, one small issue though, recently, when trying to use the plugin, it displays this (Yes, the extension is updated):

Screenshot_15

I’m currently on Windows 10 (Version: 21H1, OS Build: 19043.1526) and upgrading to Win11 as I’m typing this.

Sorry if it’s that I’m being stupid or not doing something correctly, just looking to see if it’s a known bug or if it’s something that people ain’t aware of yet.

On Version 0.516.0.5160305 the tag Deprecated has been added to all the BodyMovers, but that also deleted all the BodyMover classes.

Color3 class is missing the ToHex() method.

image

3 Likes

I would love a step by step tutorial on how to use it,im clueless now after downloading extension and the plugin

Hey! I’ve been testing out VSCode and Rojo and stumbled across your plugin, I have to say that this is really impressive and well made!

I came to ask if there is a way to edit the auto complete as it would be great if I could change the auto complete to show OtherPart instead of otherPart or Player instead of player to save me a bit of time since I have my own way of casing certain things.

image

image

I installed Roblox LSP a day or two ago, and you don’t know how much time it saved me while using vscode.

Normally, I would just worry if I am requiring the correct module or even requiring an modulescript, but with this, I am getting instant feedback on what I am referencing in relation to the filesystem.

Also, I like the builtin knit support, it just solves the most important issue with knitq and gives another excuse for you to keep using rojo and vscode!

1 Like

Is it ever possible you could add support for other IDE’s such as IntelliJ? I’m just so used to it for my web apps and would like to stay comfortable.

I wish to have this installed on my laptop but sadly it doesn’t support IOS, I code using my MacBook Pro at the moment so hopefully in the future when I get my PC I can try this out.

Type checking doesn’t detect “Studio” as a member of settings().

image