VSCode terminal IntelliSense - visual-studio-code

Powershell ISE terminal has the IntelliSense feature. Is it possible to get/enable the same IntelliSense feature in VSCode powershell terminal
Many thanks

The PowerShell extension(PSReadLine) for VSCode is still in pipeline for the next Enhancement, the teams are working on it should be released soon enough.
From what I read seems like a lot of work before they can get PSReadline to coexist with the PowerShell extension's language.
As per the comment from David Wilson from the discussion
"PSReadline is not supported in the integrated console at this time. A non-trivial amount of work is needed to make PowerShell Editor Services and PSReadline play nicely together so this could take some time.
Features this will enable:
1.Ctrl+Arrow keys, etc (keyboard navigation of the input line)
2.Syntax highlighting of input text
3.Multi-line text input (writing a function definition in the console across multiple lines)"
You can follow the discussion on
https://github.com/PowerShell/vscode-powershell/issues/535

Related

Powershell: Debugging: VSCode behavior not consistent with powershell prompt

I have experienced here, and have seen in discussions here, and here (quote: "good as PowerShell is and as good as vscode is, together they actually stink ") that:
There is a material delta between how a powershell script runs (and debugs) in VSCode vs outside VSCode.
Question:
Where can I find a write up that explains the delta and how to manage for it?
Context:
I currently have code that runs fine within VSCode but fails outside, and man is it frustrating!

How to setup Julia in VS code?

I'm coming from a pure Windows Visual Studio programming background with little Linux experience. It seems possible to use VS Code to program in Julia, but I can't figure out how to get things set up correctly.
Does anybody have good example launch.json, tasks.json, or other files that can serve as an example to build from?
This would be a great thing to see in a detailed tutorial.
Here is how things work if you are using the Julia extension for VisualStudio Code.
The extension adds a bunch of new commands. They all start with "julia", so filtering by that string should show you everything you can do with the extension.
In terms of running Julia code, the extension offers only two options right now. First, you can execute a command to start a REPL. This will just show a default Julia prompt, and you can interact with it like you would with any other Julia REPL. The second is that there is also a command, triggered by Ctrl + Enter, to send either the current editor selection or the current editor line to this REPL.
There is currently no further integration offered by the Julia extension. We do plan to add debugger support in the future, at which point I would expect F5 to start the current file in the debugger, or something like that. But that functionality is probably a couple of months away.

How to get tab-completion in SublimeREPL: PowerShell?

The default PowerShell is not convinient to copy/paste command output. SublimeREPL solves this problem very well; however, there's no tab-completion. This made PowerShell hard to use. Is there a way to get the tab-completion?
Keyboard shortcuts can differ, based on your configuration and OS.
Have you tried Alt+/?

Powershell editor with intellisense that I can embed into my program?

I have a C# application and want to allow people to write powershell code within my app.
Does anyone know of a powershell editor with intellisense that fits the bill??
PowerGUI is the choice here. Check out http://powerguivsx.codeplex.com/ and see how PowerGUI is used within Visual Studio.
You might want to check out PowerSE (http://www.powerse.com), it's free. But, there is also an OEM version, which allows you to hook in the editor to edit/debug the PowerShell commands. then get the command text back for storing and executing within the context of your application.

powershell.exe tab completion - list alternatives?

I've never really used PowerShell before, and playing with it a bit, it looks like it uses cmd.exe's style of tab completion (fill in the first likely candidate, and then you can use tab to cycle through other alternatives). I'd much prefer the way e.g. bash works, where if there are multiple candidates, it shows a list of them.
Is there an easy way to turn this on, by any chance?
I have seen this implemented with an add-on called PowerTab (original post). For script editing there are some editors that support this sort of drop down Intellisense. Check out the free PowerGUI editor.
You want PSReadline: https://github.com/lzybkr/psreadline
It includes many completion and shell experiences you might expect from bash, etc.