Lua with VS code - visual-studio-code

I installed the extension sumneko for Lua in VS code. Unfortunately, nothing seems to work like for example Autocompletion and execution. What did I miss?

Related

SuiteScript with Intellisense in VS Code

I have the latest Visual Studio Code.
I have installed the latest SuiteCloud Extension for VS Code.
There is no intellisense.
I have also installed the SuiteNippets extension -- which is ok--but not full intellisense.
I am baffled as to why this is missing. Do I need to import/reference something from NetSuite--despite using their extension already?
How do I enable intellisense in VS Code for SuiteScript?
See my previous answer to a similar question. It's possible to use the Head-in-the-Cloud bundle to create javascript transpiled from TypeScript files. The code completion is good and you have the added benefit of type checking.

VS Code - Jupyter IntelliSense not working for Rust & evcxr

Trying out evcxr_jupyter with VS Code Jupyter extension & interactive window.
Code executes fine, but there are no code suggestions.
For python code suggestions work fine.
Is there some configuration, that can enable it for Rust as well? Or is it just not supported for now?

Rust Visual Studio Code code completion not working

I'm trying to learn Rust and installed the Rust extension for VSCode.
But I'm not seeing auto-completions for any syntax.
I'd like to call .trim() on String but I get no completion for it. I read that the completion for Rust isn't great, but the Language Server should be able to recommend methods that can be called on a struct?
I also saw a tutorial where the tutor had autocompletion in VSCode but I don't know what extension he was using.
I also tried it in WSL and thought that WSL was the problem, but after also installing Gigabytes of Visual Studio Build Tools it turns out it's also not working natively on Windows.
For me solution was to use Rust Analyzer extension https://marketplace.visualstudio.com/items?itemName=matklad.rust-analyzer
instead of https://marketplace.visualstudio.com/items?itemName=rust-lang.rust
As mentioned in dustypomerleau/rust-syntax issue 4, since Nov. 2020, the grammar is merged into Rust Analyzer, and RA's grammar overrides others when it starts.
The completion should improve, and the microsoft/vscode issue 64488 "Need a better grammar support for Rust lang" just got closed (Dec. 2020) as a result.

How to Run C and C++ Programs on VS code?

As per my question, I want to compile & run c/c++ program directly from Visual Studio Code (vscode).
so is there anything like live server (like HTML) when I save file it gets compiled and runs automatically...
C++ support for Visual Studio Code is currently experimental. You may have look at this extension to accomplish what you ask.

Getting Jedi to look at additional paths for code completion

I am trying to get jedi code completion to work with Python stub files within the Spyder IDE 3.3.3 (from Anaconda).
In Visual Studio Code I can add the location of the files by adding to VS Code settings.json
"python.autoComplete.extraPaths": ["StubsDirectory"]
which works, Jedi will provide code completion using the stubs in that directory. However in Spyder there is no extraPaths setting, in Spyder I have to add the stubs to the path with
sys.path.append("StubsDirectory")
This then works for getting code completion but then when running the code instead of just using the stubs for code completion it will try and execute the stubs which don't actually have any implementation.
Is it possible to add some setting in Jedi to look in a certain folder for code completion but only jedi so Python won't try and execute it, very much like Visual Studio Code does.
There are other work-arounds in Spyder like adding it to the path but in unreachable code e.g.
if false:
sys.path.append("StubsDirectory")
which does work but I would like to know if there is a cleaner solution just for jedi to look in a directory.